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.
"Navarro, Sylvia" <address@hidden> writes: > Our current algorithm vendor uses netCDFv3.5.1, therefore we cannot > upgrade to the latest version of netCDF. > I have loaded the patch and set the environment variables (CC=pathcc, > CXX=pathCC, FC=pathf90, F90=pathf90) to try to compile the NetCDFv3.5.1 > software. > I am able to run './configure' (and I get all ok's). I am also able to > run 'make' and 'make install' with no errors. > However, when I attempt to run 'make test' I get errors in the nf_test > directory. It is attempting to compile the fortran code using > Pathscale's Fortran90 compiler (instead of a version F77). There error > I get reads like this: > > ************************************************************************ > ********** > > make[1]: Entering directory > `/home/snavarro/MyPTRs/netcdf-3.5.1_AMD_64/src' > Making `test' in directory > /home/snavarro/MyPTRs/netcdf-3.5.1_AMD_64/src/nf_test > make[2]: Entering directory > `/home/snavarro/MyPTRs/netcdf-3.5.1_AMD_64/src/nf_test' > pathf90 -o nf_test 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 > test_get.o(.text+0x59): In function `test_nf_get_var1_text__': > : undefined reference to `nf_open__' > > ************************************************************************ > ********** > > I have searched your website, however, cannot find anything else to > help. Are there any other sites that can help? > > Are there any other environment variables I can set to get the > NetCDFv3.5.1 code to run on an HP x86_64 running RHEL3.0 AS? > > Sylvia You might take a look at: http://www.unidata.ucar.edu/packages/netcdf/old_docs/INSTALL_pre_360.html When you set FC=pathf90 you are telling netcdf to use pathf90 as the fortran compiler. Is this what you want to do? Thanks, Ed -- Ed Hartnett -- address@hidden