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.
Steve, >Date: 13 Jun 1997 16:01:38 -0500 >From: "Steve Mauget" <address@hidden> >Organization: USDA >To: "Steve E" <address@hidden> >Subject: Latest test.... >Keywords: 199706021417.IAA27579 In the above message, you wrote: > Here are the results of the 2 makes you suggested. > > Steve M. > > ********************************************************************** > I. make libsrc/all fortran/all >& test.log > > Making `all' in directory /temp/netcdf-3.3.1/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 > : libnetcdf.a > > Returning to directory /temp/netcdf-3.3.1/src > > > Making `all' in directory /temp/netcdf-3.3.1/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 > : ../libsrc/libnetcdf.a > > Returning to directory /temp/netcdf-3.3.1/src > > *********************************************************************** > II. make fortran/all >>& test.log > > Making `test' in directory /temp/netcdf-3.3.1/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 > : ../libsrc/libnetcdf.a > /usr/local/bin/f90 -o ftest -g ftest.o ../libsrc/libnetcdf.a > ld: WARNING 84: /usr/lib/libm.so is not used for resolving any symbol. > ./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 ... Great! The addition of the "-mismatch" option to FFLAGS allowed the netCDF-2 Fortran API to be built -- and it tests out OK. Looks like we're done. If you want to install the version 2 Fortran API, then do the following: 1. Go to the top-level source directory. 2. Ensure that the package is completely built: "make" 3. Install the package: "make install" -------- Steve Emmerson <address@hidden>