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.
Harvey, >Date: Wed, 10 Dec 1997 22:21:29 +1100 (EST) >From: Harvey DAVIES <address@hidden> >Organization: CSIRO Mathematical and Information Sciences >To: Steve Emmerson <address@hidden> >Subject: Re: NEC SX-4 64 bit IEEE Netcdf >Keywords: 199711262243.PAA12321 In the above message, you wrote: > Following is output from 'make fortran/test': > > 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 > : ../libsrc/libnetcdf.a > f90 -o ftest -float0 -ew 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 ... Yea! The version 2 Fortran API works! > > Following is output from 'make fortran/test': I thought that's what the above was. > > ./nf_test -c > * 253 Invalid operation PROG=put_atts ELN=29728(860d7ed0) Now that's a useful message. ;-) > * 253 Invalid operation PROG=put_vars ELN=31176(860d8d64) > ./nf_test > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int1 ELN=3080(860027c4) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int2 ELN=4546(86003c44) > * 253 Invalid operation PROG=test_nf_get_var1_int ELN=6011(860050c4) > * 253 Invalid operation PROG=test_nf_get_var1_int ELN=6011(860050c4) > * 253 Invalid operation PROG=test_nf_get_var1_int ELN=6011(860050c4) > * 253 Invalid operation PROG=test_nf_get_var1_int ELN=6011(860050c4) > * 253 Invalid operation PROG=test_nf_get_var1_int ELN=6011(860050c4) > * 253 Invalid operation PROG=test_nf_get_var1_int ELN=6011(860050c4) > * 253 Invalid operation PROG=test_nf_get_var1_int ELN=6011(860050c4) > * 253 Invalid operation PROG=test_nf_get_var1_int ELN=6011(860050c4) > **** 99 Execution suspended PROG=test_nf_get_var1_int ELN=6011(860050c4) > Called from test ELN=2956(860b0bac) > Called from nf_test ELN=4609(860b1e74) > *** Testing nf_strerror ... > nf_strerror() should return "Not a netCDF id > " > nf_strerror() should return "netCDF file exists && NC_NOCLOBBER > " > nf_strerror() should return "Invalid argument > " > nf_strerror() should return "Write to read only > " > nf_strerror() should return "Operation not allowed in data mode > " > nf_strerror() should return "Operation not allowed in define mode > " > nf_strerror() should return "Index exceeds dimension bound > " > nf_strerror() should return "NC_MAX_DIMS exceeded > " I think I found the nf_strerror() problem. > > ### 26 FAILURES TESTING nf_strerror! ### > *** Testing nf_open ... > nf_open of nonexistent file should have returned system error I don't suppose you have a file called "tooth-fairy.nc" do you? I didn't think so. Should work now. > > ### 1 FAILURES TESTING nf_open! ### > *** Testing nf_close ... > *** Testing nf_inq ... > *** Testing nf_inq_dimid ... > *** Testing nf_inq_dim ... > *** Testing nf_inq_dimlen ... > *** Testing nf_inq_dimname ... > *** Testing nf_inq_varid ... > *** Testing nf_inq_var ... > *** Testing nf_inq_natts ... > *** Testing nf_inq_ndims ... > *** Testing nf_inq_nvars ... > *** Testing nf_inq_unlimdim ... > *** Testing nf_inq_vardimid ... > *** Testing nf_inq_varname ... > *** Testing nf_inq_varnatts ... > *** Testing nf_inq_varndims ... > *** Testing nf_inq_vartype ... > *** Testing nf_get_var1_text ... > *** Testing nf_get_var1_int1 ... > Range error: No error > Range error: No error > Range error: No error > Range error: No error > > > ### 1844 FAILURES TESTING nf_get_var1_int1! ### > *** Testing nf_get_var1_int2 ... > Range error: No error > Range error: No error > Range error: No error > Range error: No error I think I found this problem. > > > ### 1018 FAILURES TESTING nf_get_var1_int2! ### > *** Testing nf_get_var1_int ... > *** Error code 2 (bu21) > make: fatal error. Don't like this one. See if you can get a stack trace next time. Try again. Same new subdistribution. Unpack in the top-level source directory. -------- Steve Emmerson <http://www.unidata.ucar.edu>