Hello Judy, You aren't missing anything obvious that I can see. Normally, I would have you check your LD_LIBRARY_PATH, but you've already done that (I presume the intel fortran compiler libraries are installed in one of the directories present in your LD_LIBRARY_PATH). Regarding the error about nc_open_mem; that could be caused by using an older netCDF-C, as nc_open_mem is a relatively new function as of netCDF-C 4.4.0. What version are you using? We've also encountered situations where an old libnetcdf that is present in the system (/usr/local/lib, /usr/lib) instead of the newer copy in a non-standard location. If you can provide the config.log generated when you ran configure, I can try to see if there is any information captured therein. Additionally, if you can provide more information about your netCDF-C installation, I will see if that tells us anything as well. Thanks, have a great day, -Ward > Full Name: Judy Gaukel > Email Address: address@hidden > Organization: Scripps Institution of Oceanography > Package Version: netCDF-Fortran 4.4.4 > Operating System: CentOS > Hardware: Linux hunter 3.10.0-327.13.1.el7.x86_64 > Description of problem: $echo $LD_LIBRARY_PATH > /usr/local/lib:/usr/local/lib:/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/ipp/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/tbb/lib/intel64//cc4.1.0_libc2.4_kernel2.6.16.21:/opt/intel/composer_xe_2011_sp1.9.293/debugger/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/mpirt/lib/intel64 > > Configure and make run OK, but "make check" does not. > make[2]: Entering directory `/usr/local/netcdf-fortran-4.4.4/nf_test' > /bin/sh ../libtool --tag=F77 --mode=link ifort -I../fortran -I../fortran > -g -o nf_test f03lib_f_interfaces.o test_get.o test_put.o nf_error.o > nf_test.o test_read.o test_write.o util.o f03lib.o ../fortran/libnetcdff.la > -lnetcdf > libtool: link: ifort -I../fortran -I../fortran -g -o .libs/nf_test > f03lib_f_interfaces.o test_get.o test_put.o nf_error.o nf_test.o test_read.o > test_write.o util.o f03lib.o ../fortran/.libs/libnetcdff.so -lnetcdf > -Wl,-rpath -Wl,/usr/local/lib > ld: warning: libifport.so.5, needed by ../fortran/.libs/libnetcdff.so, not > found (try using -rpath or -rpath-link) > ld: warning: libifcore.so.5, needed by ../fortran/.libs/libnetcdff.so, not > found (try using -rpath or -rpath-link) > ld: warning: libimf.so, needed by ../fortran/.libs/libnetcdff.so, not found > (try using -rpath or -rpath-link) > ld: warning: libsvml.so, needed by ../fortran/.libs/libnetcdff.so, not found > (try using -rpath or -rpath-link) > ld: warning: libintlc.so.5, needed by ../fortran/.libs/libnetcdff.so, not > found (try using -rpath or -rpath-link) > ../fortran/.libs/libnetcdff.so: undefined reference to `nc_open_mem' > make[2]: *** [nf_test] Error 1 > make[2]: Leaving directory `/usr/local/netcdf-fortran-4.4.4/nf_test' > make[1]: *** [check-am] Error 2 > > nf-config --all > > This netCDF-Fortran 4.4.4 has been built with the following features: > > --cc -> gcc > --cflags -> -I/usr/local/include > > --fc -> ifort > --fflags -> -I/usr/local/include > --flibs -> -L/usr/local/lib -lnetcdff -lnetcdf -lnetcdf > --has-f90 -> no > --has-f03 -> yes > > --has-nc2 -> yes > --has-nc4 -> yes > > --prefix -> /usr/local > --includedir-> /usr/local/include > --version -> netCDF-Fortran 4.4.4 > > I've uninstalled and reinstalled and am consistently getting this same error. > Here's my configure command: > sudo ./configure FC=ifort F77=ifort FCFLAGS='-O3 -xHost -ip -no-prec-div > -static-intel' > > Am I missing something obvious? Thank you for any help. I did install > netcdf-c. I've exported variables, read all the installation instructions I > can find, and still can't seem to get the library to be found even though > it's all there... > Thanks for any help. > > Ticket Details =================== Ticket ID: YBM-254849 Department: Support netCDF Priority: Normal Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.