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.
John, > To: address@hidden > From: address@hidden (John Sheldon) > Subject: netCDF 2.4.1 for Unicos 7.0.6 > Organization: NOAA/GFDL > Keywords: 199603281505.AA27313 In the above message you wrote: > I realize netCDF 2.4.1 has not really been built or tested in the case > of Unicos 7.0.6, but we're trying to squeeze the last few megaflops out > of our old YMP withour plowing any more $$ or manhours into upgrading > it, and I was wondering if there was any chance it could be made to > work. I can get the "make all" to go without trouble, but "make test" > fails (I'll append the log to the bottom of this mail). > > Thanks in advance- > > John P. Sheldon > (address@hidden) > > Geophysical Fluid Dynamics Laboratory/NOAA > Princeton University/Forrestal Campus/Rte. 1 > P.O. Box 308 > Princeton, NJ, USA 08542 > (609) 987-5053 > > ======================================================================= > > making `test' in directory > /ftmp/jps/tmpdir.045859a/unidata.ucar.edu/pub/netcdf/netcdf-2.4.1/src/xdr > > c89 -c -O -I/usr/include/rpc -DDEBUG xdrtest.c > c89 -o xdrtest -O xdrtest.o > ./xdrtest > xdrtest_out.new > diff xdrtest_out.new testout.sav > *** XDR passes formatted test *** > cmp test.xdr test_xdr.sav > *** XDR passes binary test *** This is good. > returning to directory > /ftmp/jps/tmpdir.045859a/unidata.ucar.edu/pub/netcdf/netcdf-2.4.1/src > > > making `test' in directory > /ftmp/jps/tmpdir.045859a/unidata.ucar.edu/pub/netcdf/netcdf-2.4.1/src/libsrc > > c89 -c -O -DDEBUG cdftest.c > ar rcuv libnetcdf.a array.o attr.o cdf.o dim.o file.o iarray.o > error.o globdef.o putget.o putgetg.o sharray.o string.o var.o xdrffio.o > : libnetcdf.a > c89 -o cdftest -O cdftest.o libnetcdf.a > ./cdftest > cdftest_out.new > Make: "./cdftest > cdftest_out.new": Error code 2 > Make: "dir=`echo libsrc/test | sed 's,/.*,,'`; \ > target=`echo libsrc/test | sed "s,$dir/,,"`; \ > cd $dir && \ > echo "making \`$target' in directory `pwd`" && \ > echo "" && \ > make CC="c89" CPP="c89 -E" > exec_prefix="/ftmp/jps/tmpdir.045859a/unidata.ucar.edu/pub/netcdf/netcdf-2.4.1" > FC="cf77" > prefix="/ftmp/jps/tmpdir.045859a/unidata.ucar.edu/pub/netcdf/netcdf-2.4.1" \ > > prefix=/ftmp/jps/tmpdir.045859a/unidata.ucar.edu/pub/netcdf/netcdf-2.4.1 > exec_prefix=/ftmp/jps/tmpdir.045859a/unidata.ucar.edu/pub/netcdf/netcdf-2.4.1 > \ > $target || exit 1": Error code 1 This is bad. What happens when you execute the following command manually in the libsrc/ subdirectory? ./cdftest > cdftest_out.new Does it emit any messages? What's its exit status? What does the formatted file `cdftest_out.new' look like? -------- Steve Emmerson <address@hidden>