This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Jingjia Luo, >Date: Fri, 10 Jan 2003 10:52:52 +0900 >From: address@hidden >Organization: ? >To: address@hidden >Subject: make test error The above message contained the following: > I am trying to install the netcdf library in > NECSX6 with "-ew" option. The error messgae appears during "make test" > as below. > > Making `test' in directory netcdf-3.5.0/src/ncgen > cc -o ncgen -O main.o load.o ncgentab.o escapes.o getfill.o init.o > genlib.o ../libsrc/libnetcdf.a > ./ncgen -b -o c0.nc c0.cdl > ../ncdump/ncdump -n c1 c0.nc > c1.cdl > *** ncgen -b test successful *** > ./ncgen -c -o ctest0.nc c0.cdl > ctest.c && \ > cc -o ctest -O -I../libsrc -I. -DNDEBUG ctest.c > ../libsrc/libnetcdf.a && \ > ./ctest && \ > ../ncdump/ncdump -n c1 ctest0.nc > ctest1.cdl > "ctest.c", line 27: warning: improper integer precision : op "=" > 21c21 > < i:d = -1.e+308, 0., 1.e+308 ; > --- > >&nb! sp; i:d = -9.99999999999999e+307, 0., > >9.99999999999999e+307 ; > 101c101 > < :Gd = -1.e+308, 0., 1.e+308 ; > --- > > :Gd = -9.99999999999999e+307, 0., 9.99999999999999e+307 ; > 128c128 > < dr = -1e+308, 1e+308 ; > --- > > dr = -9.99999999999999e+307, 9.99999999999999e+307 ; > 140c140 > < d1 = -1e+308 ; > --- > > d1 = -9.99999999999999e+307 ; > 152c152 > < d2 = -1e+308, 1e+308 ; > --- > > d2 = -9.99999999999999e+307, 9.99999999999999e+307 ; > 164c164 > < d3 = -1e+308, 0, 1e+308 ; > --- > > d3 = -9.99999999999999e+307, 0, 9.99999999999999e+307 ; > *** ncgen -c test failed *** > *** Error code 1 (bu21) > make: fatal error. > *** Error co! de 1 (bu21) > make: fatal error. > *** Error code 1 (bu21) > make: fatal error. > > Your helps are grateful. The above "errors" are due to roundoff errors caused by the hardware of the NEX SX6 (some supercomputers exhibit this behavior). You should be able to safely ignore them. I suggest that you install the netCDF package. Test it with some of your own programs. I expect that it will work correctly. > Best regards, > Jingjia Luo Regards, Steve Emmerson <http://www.unidata.ucar.edu>