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.
> ... I tried as u said but > still the following errors are showing. I have also attached the > make-install.log file for ur kind verification. > > $./configure --prefix=/shome/2007asz8296/netcdf-413 --disable-netcdf-4 > $ make check install > > make[2]: Leaving directory `/shome/2007asz8296/netcdf-4.1.3/nctest' > make check-TESTS > make[2]: Entering directory `/shome/2007asz8296/netcdf-4.1.3/nctest' > /shome/2007asz8296/netcdf-4.1.3/nctest/.libs/lt-nctest: error while loading > shared libraries: libimf.so: cannot open shared object file: No such file > or directory > FAIL: nctest > /shome/2007asz8296/netcdf-4.1.3/nctest/.libs/lt-tst_rename: error while > loading shared libraries: libimf.so: cannot open shared object file: No > such file or directory > FAIL: tst_rename > cmp: nctest_classic.nc: No such file or directory > FAIL: compare_test_files.sh > ================================================ > 3 of 3 tests failed > Please report to address@hidden > ================================================ > make[2]: *** [check-TESTS] Error 1 > make[2]: Leaving directory `/shome/2007asz8296/netcdf-4.1.3/nctest' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/shome/2007asz8296/netcdf-4.1.3/nctest' > make: *** [check-recursive] Error 1 This is a different error than you were getting before, and occurring earlier in the build process. Previously, the "make check" had succeeded. but the "make install" failed due to directory setting with --prefix option. But now, the "make check" is failing due to an error finding a library needed by the Intel compiler, libimf.so. If you have to run a script to set environment variables for the Intel compiler before you use it, check that you have done that. Also, if the Intel compiler needs a specific runtime library in the LD_LIBRARY_PATH environment variable, make sure it is set correctly. The libimf.so file that the Intel compiler is looking for must be in one of the library directories it knows about. The libimf.so library has nothing to do with netCDF, it's needed for the functions declared in math.h. If you can find libimf, make sure it's for the same architecture that you're building for. Here's more on the problem http://www.unidata.ucar.edu/netcdf/docs/known_symptoms.html#ifort_config If this doesn't help. please send the output of the configure script and "make check", as listed here: http://www.unidata.ucar.edu/netcdf/docs/netcdf-install/Reporting-Problems.html --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: DTO-685623 Department: Support netCDF Priority: Normal Status: Closed