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.
Hi Konstantinos, I'll jump in here, since I've seen that error before. The libimf library is not related to netCDF. It just provides runtime support needed by the Intel compilers. It may be that you need to set a LD_LIBRARY_PATH environment variable to tell ld where to find these Intel libraries, or that may be done by shell scripts you have to run to configure the environment when using the Intel compilers. For example, see this previous response to a similar user support question: http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg10723.html There may also be some help in this Intel guide for using their compilers to build netCDF libraries: http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers --Russ > i did what you said so I: > > LD_LIBRARY_PATH=/usr/local_64/lib make check > > but then I get: > > ./tst_h_dimscales3: error while loading shared libraries: libimf.so: cannot > open shared object file: No such file or directory > FAIL: tst_h_dimscales3 > ./tst_h_enums: error while loading shared libraries: libimf.so: cannot open > shared object file: No such file or directory > FAIL: tst_h_enums > ./tst_h_dimscales4: error while loading shared libraries: libimf.so: cannot > open shared object file: No such file or directory > FAIL: tst_h_dimscales4 > ================================================ > 26 of 26 tests failed > Please report to address@hidden > ================================================ > make[2]: *** [check-TESTS] Error 1 > make[2]: Leaving directory > `/lustre/jhome13/jicg21/jicg2115/bin/cdo-install/netcdf/netcdf-4.2.1.1/h5_test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > `/lustre/jhome13/jicg21/jicg2115/bin/cdo-install/netcdf/netcdf-4.2.1.1/h5_test' > make: *** [check-recursive] Error 1 > > while: > > jicg2115@jj28g03:~/bin/cdo-install/netcdf/netcdf-4.2.1.1> ls /usr/local_64/lib > * libamd.a libgli.a libnco-4.2.0.so > libsasl2.so.2 libsz.so.2.0.0 pkgconfig > X11 libamdf77.a libgrace_np.a libnco-4.3.0.so > libsuperlu.a libumfpack.a > away.libtorque.a libarpack.a liblber-2.3.so.0 libnco-4.4.4.so > libsuperlu_dist_2.3.a libumfpack.def > away.libtorque.la libexpat.so.0 libldap-2.3.so.0 libnco.a > libsz.a libz.a > away.libtorque.so libexpat.so.1 libldap.so.199 libnco.la > libsz.la libz.so > away.libtorque.so.2 libgks.a libldapcpp.so.0 libnco.so > libsz.so libz.so.1 > away.libtorque.so.2.0.0 libgks.so libnagfl90.a libparpack.a > libsz.so.2 libz.so.1.2.8 > > Now what should I do? > Thank you very much for your response. > Best regards > > Konstantinos > > ________________________________________ > From: Unidata netCDF Support [address@hidden] > Sent: Monday, October 13, 2014 6:17 PM > To: Kazanas, Konstantinos > Cc: address@hidden > Subject: [netCDF #PGT-746617]: make check error > > Hello, > > I apologize for the delayed response to your question. It appears that libsz > is not on your LD_LIBRARY_PATH at runtime, but is required by libhdf5. To > get around this, you will need to modify your LD_LIBRARY_PATH. For example, > if libsz was located in '/usr/local/lib', you would run 'make check' as > follows: > > $ LD_LIBRARY_PATH=/usr/local/lib make check > > Please let me know if this does not resolve your issue, thanks! > > -Ward > > > Dear support, > > > > trying to install netcdf and when i "make check" I receive the following: > > > > > > FAIL: tst_h_dimscales1 > > > > ./tst_h_dimscales2: error while loading shared libraries: libsz.so.2: > > cannot open shared object file: No such file or directory > > > > FAIL: tst_h_dimscales2 > > > > ./tst_h_dimscales3: error while loading shared libraries: libsz.so.2: > > cannot open shared object file: No such file or directory > > > > FAIL: tst_h_dimscales3 > > > > ./tst_h_enums: error while loading shared libraries: libsz.so.2: cannot > > open shared object file: No such file or directory > > > > FAIL: tst_h_enums > > > > ./tst_h_dimscales4: error while loading shared libraries: libsz.so.2: > > cannot open shared object file: No such file or directory > > > > FAIL: tst_h_dimscales4 > > > > ================================================ > > > > 26 of 26 tests failed > > > > Please report to address@hidden > > > > ================================================ > > > > make[2]: *** [check-TESTS] Error 1 > > > > make[2]: Leaving directory > > `/lustre/jhome13/jicg21/jicg2115/bin/cdo-install/netcdf/netcdf-4.2.1.1/h5_test' > > > > make[1]: *** [check-am] Error 2 > > > > make[1]: Leaving directory > > `/lustre/jhome13/jicg21/jicg2115/bin/cdo-install/netcdf/netcdf-4.2.1.1/h5_test' > > > > make: *** [check-recursive] Error 1 > > > > > > Could you be so kind and tell me what should i do to continue the > > installation? > > > > Thanx in advance > > > > Konstantinos Kazanas > > > > > > ------------------------------------------------------------------------------------------------ > > ------------------------------------------------------------------------------------------------ > > Forschungszentrum Juelich GmbH > > 52425 Juelich > > Sitz der Gesellschaft: Juelich > > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > > Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher > > Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), > > Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, > > Prof. Dr. Sebastian M. Schmidt > > ------------------------------------------------------------------------------------------------ > > ------------------------------------------------------------------------------------------------ > > > > > > > > > Ticket Details > =================== > Ticket ID: PGT-746617 > Department: Support netCDF > Priority: Normal > Status: Closed > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: PGT-746617 Department: Support netCDF Priority: Normal Status: Closed