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.
Bjorn, >Date: Mon, 06 Mar 2000 17:05:22 -0800 >From: bjorn stevens <address@hidden> >Organization: University of California Los Angeles >To: Steve Emmerson <address@hidden> >Subject: Re: installing under Linux with Fujitsu f90: missing libfj9i6.so.1 >Keywords: 199912112259.PAA15795 In the above message, you wrote: > attatched is the message I thought I sent you regarding how I finally > configured my system.. and the floating point error I got on make test. I > have been using netCDF on my linux system, despite this error, and as of yet > have had no problems. Thanks for sending this in. > --------------A9183492D994CDB541E157BC > Content-Type: text/plain; charset=us-ascii; > name="tosteve" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="tosteve" > > Steve, > > thanks again for all your help. The system I used was Redhat Linux 6.0 > running on a Toshiba Tecra 8000 laptop. The fortran compiler was > > f90: Fujitsu Fortran Compiler Driver Version 1.0 (Jun 11 1999 00:49:31) > > I set my environment variables as follows (under BASH): > > export LD_LIBRARY_PATH=:/usr/local/lib:/usr/local/FFC/lib > export CC=/usr/bin/egcs > export CPPFLAGS='-DNDEBUG -Df2cFortran' > export FC=/usr/local/FFC/bin/f90 > export FFLAGS="-O -fw" > export CXX=/usr/bin/g++ > export CFLAGS=-O > export CPPFLAGS='-DNDEBUG -DsunFortran' > > The error I got on "make test" is given below (I'm giving you all the output > from the make test file): > > Cheers, Bjorn > > ------------------------------- output from "make test" > make[1]: Entering directory `/usr/local/src/netcdf-3.5/src' > > Making `test' in directory /usr/local/src/netcdf-3.5/src/libsrc > > make[2]: Entering directory `/usr/local/src/netcdf-3.5/src/libsrc' > ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o > putget.o string.o v1hpg.o v2i.o var.o > ranlib libnetcdf.a > /usr/bin/egcs -o t_nc -O t_nc.o -L. -lnetcdf > ./t_nc > trying again > dimrename: IXX > nc_close ret = 0 > > reopen id = 6 for filename test.nc > NC done > GATTR VAR VATTR > VATTR > VATTR > VATTR > VATTR > VATTR > fill_seq indices 1 2 3 75.000000 != 2.718282 > Done > got val = 3.250000 > got val = 0.000000 > got val = 2.718282 > got val = 82555 > got val = 97 > got NC_CHAR val = A (0x41) > got NC_CHAR val = B (0x42) > got NC_CHAR val = "The red death had long devastated the country." > got val = A (0x41) > got val = B (0x42) > got val = "The red death had long devastated the country." > got vals = 0.000000 ... 447.000000 > re nc_close ret = 0 > cmp test.nc test_nc.sav > *** Success *** > make[2]: Leaving directory `/usr/local/src/netcdf-3.5/src/libsrc' > > Returning to directory /usr/local/src/netcdf-3.5/src > > make[1]: Leaving directory `/usr/local/src/netcdf-3.5/src' > make[1]: Entering directory `/usr/local/src/netcdf-3.5/src' > > Making `test' in directory /usr/local/src/netcdf-3.5/src/nctest > > make[2]: Entering directory `/usr/local/src/netcdf-3.5/src/nctest' > /usr/bin/egcs -o nctest -O varget.o vargetg.o varput.o varputg.o vardef.o > vartests.o vputget.o vputgetg.o driver.o cdftests.o dimtests.o rec.o > atttests.o misctest.o add.o error.o emalloc.o val.o slabs.o -L../libsrc > -lnetcdf > ./nctest > *** Testing nccreate ... ok *** > *** Testing ncopen ... ok *** > *** Testing ncredef ... ok *** > *** Testing ncendef ... ok *** > *** Testing ncclose ... ok *** > *** Testing ncinquire ... ok *** > *** Testing ncsync ... ok *** > *** Testing ncabort ... ok *** > *** Testing ncdimdef ... ok *** > *** Testing ncdimid ... ok *** > *** Testing ncdiminq ... ok *** > *** Testing ncdimrename ... ok *** > *** Testing ncvardef ... ok *** > *** Testing ncvarid ... ok *** > *** Testing ncvarinq ... ok *** > *** Testing ncvarput1 ... ok *** > *** Testing ncvarget1 ... ok *** > *** Testing ncvarput ... ok *** > *** Testing ncvarget ... ok *** > *** Testing ncvarputg ... ok *** > *** Testing ncvargetg ... ok *** > *** Testing ncrecinq ... ok *** > *** Testing ncrecput ... ok *** > *** Testing ncrecget ... ok *** > *** Testing ncvarrename ... ok *** > *** Testing ncattput ... ok *** > *** Testing ncattinq ... ok *** > *** Testing ncattget ... ok *** > *** Testing ncattcopy ... ok *** > *** Testing ncattname ... ok *** > *** Testing ncattrename ... ok *** > *** Testing ncattdel ... ok *** > *** Testing nctypelen ... ok *** > cmp testfile.nc testfile_nc.sav > make[2]: Leaving directory `/usr/local/src/netcdf-3.5/src/nctest' > > Returning to directory /usr/local/src/netcdf-3.5/src > > make[1]: Leaving directory `/usr/local/src/netcdf-3.5/src' > make[1]: Entering directory `/usr/local/src/netcdf-3.5/src' > > Making `test' in directory /usr/local/src/netcdf-3.5/src/nc_test > > make[2]: Entering directory `/usr/local/src/netcdf-3.5/src/nc_test' > /usr/bin/egcs -o nc_test -O nc_test.o error.o test_get.o test_put.o > test_read.o test_write.o util.o -L../libsrc -lnetcdf -lm > ./nc_test -c > ./nc_test > *** Testing nc_strerror ... ok > *** Testing nc_open ... ok > *** Testing nc_close ... ok > *** Testing nc_inq ... ok > *** Testing nc_inq_dimid ... ok > *** Testing nc_inq_dim ... ok > *** Testing nc_inq_dimlen ... ok > *** Testing nc_inq_dimname ... ok > *** Testing nc_inq_varid ... ok > *** Testing nc_inq_var ... ok > *** Testing nc_inq_natts ... ok > *** Testing nc_inq_ndims ... ok > *** Testing nc_inq_nvars ... ok > *** Testing nc_inq_unlimdim ... ok > *** Testing nc_inq_vardimid ... ok > *** Testing nc_inq_varname ... ok > *** Testing nc_inq_varnatts ... ok > *** Testing nc_inq_varndims ... ok > *** Testing nc_inq_vartype ... ok > *** Testing nc_get_var_text ... 179 good comparisons. ok > *** Testing nc_get_var_uchar ... 264 good comparisons. ok > *** Testing nc_get_var_schar ... 269 good comparisons. ok > *** Testing nc_get_var_short ... 682 good comparisons. ok > *** Testing nc_get_var_int ... 1189 good comparisons. ok > *** Testing nc_get_var_long ... 1189 good comparisons. ok > *** Testing nc_get_var_float ... 1194 good comparisons. ok > *** Testing nc_get_var_double ... 1207 good comparisons. ok > *** Testing nc_get_var1_text ... 179 good comparisons. ok > *** Testing nc_get_var1_uchar ... 264 good comparisons. ok > *** Testing nc_get_var1_schar ... 269 good comparisons. ok > *** Testing nc_get_var1_short ... 682 good comparisons. ok > *** Testing nc_get_var1_int ... 1189 good comparisons. ok > *** Testing nc_get_var1_long ... 1189 good comparisons. ok > *** Testing nc_get_var1_float ... 1194 good comparisons. ok > *** Testing nc_get_var1_double ... 1207 good comparisons. ok > *** Testing nc_get_vara_text ... 179 good comparisons. ok > *** Testing nc_get_vara_uchar ... 264 good comparisons. ok > *** Testing nc_get_vara_schar ... 269 good comparisons. ok > *** Testing nc_get_vara_short ... 682 good comparisons. ok > *** Testing nc_get_vara_int ... 1189 good comparisons. ok > *** Testing nc_get_vara_long ... 1189 good comparisons. ok > *** Testing nc_get_vara_float ... 1194 good comparisons. ok > *** Testing nc_get_vara_double ... 1207 good comparisons. ok > *** Testing nc_get_vars_text ... 179 good comparisons. ok > *** Testing nc_get_vars_uchar ... 264 good comparisons. ok > *** Testing nc_get_vars_schar ... 269 good comparisons. ok > *** Testing nc_get_vars_short ... 682 good comparisons. ok > *** Testing nc_get_vars_int ... 1189 good comparisons. ok > *** Testing nc_get_vars_long ... 1189 good comparisons. ok > *** Testing nc_get_vars_float ... 1194 good comparisons. ok > *** Testing nc_get_vars_double ... 1207 good comparisons. ok > *** Testing nc_get_varm_text ... 179 good comparisons. ok > *** Testing nc_get_varm_uchar ... 264 good comparisons. ok > *** Testing nc_get_varm_schar ... 269 good comparisons. ok > *** Testing nc_get_varm_short ... 682 good comparisons. ok > *** Testing nc_get_varm_int ... 1189 good comparisons. ok > *** Testing nc_get_varm_long ... 1189 good comparisons. ok > *** Testing nc_get_varm_float ... 1194 good comparisons. ok > *** Testing nc_get_varm_double ... 1207 good comparisons. ok > *** Testing nc_get_att_text ... 7 good comparisons. ok > *** Testing nc_get_att_uchar ... 5 good comparisons. ok > *** Testing nc_get_att_schar ... 7 good comparisons. ok > *** Testing nc_get_att_short ... 15 good comparisons. ok > *** Testing nc_get_att_int ... 19 good comparisons. ok > *** Testing nc_get_att_long ... 19 good comparisons. ok > *** Testing nc_get_att_float ... 21 good comparisons. ok > *** Testing nc_get_att_double ... 27 good comparisons. ok > *** Testing nc_inq_att ... ok > *** Testing nc_inq_attname ... ok > *** Testing nc_inq_attid ... ok > *** Testing nc_inq_attlen ... ok > *** Testing nc_inq_atttype ... ok > *** Testing nc_create ... ok > *** Testing nc_redef ... 1386 good comparisons. 34 good comparisons. ok > *** Testing nc_sync ... 34 good comparisons. 1386 good comparisons. ok > *** Testing nc_abort ... 1386 good comparisons. 34 good comparisons. ok > *** Testing nc_def_dim ... ok > *** Testing nc_rename_dim ... ok > *** Testing nc_def_var ... ok > *** Testing nc_put_var_text ... 179 good comparisons. ok > *** Testing nc_put_var_uchar ... 264 good comparisons. ok > *** Testing nc_put_var_schar ... 269 good comparisons. ok > *** Testing nc_put_var_short ... 682 good comparisons. ok > *** Testing nc_put_var_int ... 1189 good comparisons. ok > *** Testing nc_put_var_long ... 1189 good comparisons. ok > *** Testing nc_put_var_float ... 1194 good comparisons. ok > *** Testing nc_put_var_double ... 1207 good comparisons. ok > *** Testing nc_put_var1_text ... 179 good comparisons. ok > *** Testing nc_put_var1_uchar ... 264 good comparisons. ok > *** Testing nc_put_var1_schar ... 269 good comparisons. ok > *** Testing nc_put_var1_short ... 682 good comparisons. ok > *** Testing nc_put_var1_int ... 1189 good comparisons. ok > *** Testing nc_put_var1_long ... 1189 good comparisons. ok > *** Testing nc_put_var1_float ... 1194 good comparisons. ok > *** Testing nc_put_var1_double ... 1207 good comparisons. ok > *** Testing nc_put_vara_text ... 179 good comparisons. ok > *** Testing nc_put_vara_uchar ... 264 good comparisons. ok > *** Testing nc_put_vara_schar ... 269 good comparisons. ok > *** Testing nc_put_vara_short ... 682 good comparisons. ok > *** Testing nc_put_vara_int ... 1189 good comparisons. ok > *** Testing nc_put_vara_long ... 1189 good comparisons. ok > *** Testing nc_put_vara_float ... 1194 good comparisons. ok > *** Testing nc_put_vara_double ... 1207 good comparisons. ok > *** Testing nc_put_vars_text ... 179 good comparisons. ok > *** Testing nc_put_vars_uchar ... 264 good comparisons. ok > *** Testing nc_put_vars_schar ... 269 good comparisons. ok > *** Testing nc_put_vars_short ... 682 good comparisons. ok > *** Testing nc_put_vars_int ... 1189 good comparisons. ok > *** Testing nc_put_vars_long ... 1189 good comparisons. ok > *** Testing nc_put_vars_float ... 1194 good comparisons. ok > *** Testing nc_put_vars_double ... 1207 good comparisons. ok > *** Testing nc_put_varm_text ... 179 good comparisons. ok > *** Testing nc_put_varm_uchar ... 264 good comparisons. ok > *** Testing nc_put_varm_schar ... 269 good comparisons. ok > *** Testing nc_put_varm_short ... 682 good comparisons. ok > *** Testing nc_put_varm_int ... 1189 good comparisons. ok > *** Testing nc_put_varm_long ... 1189 good comparisons. ok > *** Testing nc_put_varm_float ... 1194 good comparisons. ok > *** Testing nc_put_varm_double ... 1207 good comparisons. ok > *** Testing nc_rename_var ... 1386 good comparisons. ok > *** Testing nc_put_att_text ... 7 good comparisons. ok > *** Testing nc_put_att_uchar ... 5 good comparisons. ok > *** Testing nc_put_att_schar ... 7 good comparisons. ok > *** Testing nc_put_att_short ... 15 good comparisons. ok > *** Testing nc_put_att_int ... 19 good comparisons. ok > *** Testing nc_put_att_long ... 19 good comparisons. ok > *** Testing nc_put_att_float ... 21 good comparisons. ok > *** Testing nc_put_att_double ... 27 good comparisons. ok > *** Testing nc_copy_att ... 34 good comparisons. ok > *** Testing nc_rename_att ... 34 good comparisons. ok > *** Testing nc_del_att ... ok > *** Testing nc_set_fill ... 2796 good comparisons. ok > > Total number of failures: 0 > *** Success *** > make[2]: Leaving directory `/usr/local/src/netcdf-3.5/src/nc_test' > > Returning to directory /usr/local/src/netcdf-3.5/src > > make[1]: Leaving directory `/usr/local/src/netcdf-3.5/src' > make[1]: Entering directory `/usr/local/src/netcdf-3.5/src' > > Making `test' in directory /usr/local/src/netcdf-3.5/src/fortran > > make[2]: Entering directory `/usr/local/src/netcdf-3.5/src/fortran' > ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o fort-dim.o > fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o > fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o > fort-varsio.o > ranlib ../libsrc/libnetcdf.a > /usr/local/FFC/bin/f90 -o ftest -O -fw ftest.o ../libsrc/libnetcdf.a > ./ftest > *** Testing nccre ... > *** Testing ncddef ... > *** Testing ncvdef ... > *** Testing ncapt, ncaptc ... > *** Testing ncclos ... > *** Testing ncvpt1 ... > *** Testing ncvgt1 ... > *** Testing ncvpt ... > *** Testing ncopn, ncinq, ncdinq, ncvinq, ncanam, ncainq ... > *** Testing ncvgt, ncvgtc ... > *** Testing ncagt, ncagtc ... > *** Testing ncredf, ncdren, ncvren, ncaren, ncendf ... > *** Testing ncacpy ... > *** Testing ncadel ... > *** Testing fill values ... > make[2]: Leaving directory `/usr/local/src/netcdf-3.5/src/fortran' > > Returning to directory /usr/local/src/netcdf-3.5/src > > make[1]: Leaving directory `/usr/local/src/netcdf-3.5/src' > make[1]: Entering directory `/usr/local/src/netcdf-3.5/src' > > Making `test' in directory /usr/local/src/netcdf-3.5/src/nf_test > > make[2]: Entering directory `/usr/local/src/netcdf-3.5/src/nf_test' > /usr/local/FFC/bin/f90 -o nf_test -O -fw test_get.o test_put.o nf_error.o > nf_test.o test_read.o test_write.o util.o fortlib.o ../libsrc/libnetcdf.a > -lm > ./nf_test -c > make[2]: *** [test.nc] Floating point exception > make[2]: *** Deleting file `test.nc' > make[2]: Leaving directory `/usr/local/src/netcdf-3.5/src/nf_test' > make[1]: *** [subdir_target] Error 1 > make[1]: Leaving directory `/usr/local/src/netcdf-3.5/src' > make: *** [nf_test/test] Error 2 > > --------------A9183492D994CDB541E157BC-- Regards, Steve Emmerson <http://www.unidata.ucar.edu>