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.
Hello, After adding the line to .bashrc, did you run the command `source ~/.bashrc` ? You may need to run this after you run the other two source commands. If this does not work, you may need to speak with your system administrator; the issue is (as you have figured out), the run-time loader either cannot find this file, or it cannot access this file. It may be the case that you do not have access to run `libimf.so`. I'm sorry I cannot provide a more positive response, but what you are doing is correct and should work. This makes me wonder if the issue is something specific to your system. -Ward > Dear, I am sorry to trouble ,but when I install netcdf-4.3.3.1 on my Linux > system,I encountered an error. I follow the directon pasted on the > net(https://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers) > as following and it works well while make and make install.I thought I am > succeed upon seeing the message " Congratulations! You have successfully > installed netCDF! ",but after make check,the error apprars as following. > > > So,can you spare your treasure time to give me direction or some suggestion? > > > Thank you very much! > > > xu yong > > > 1.The error > ============================================================================ > Testsuite summary for netCDF 4.3.3.1 > ============================================================================ > # TOTAL: 1 > # PASS: 0 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > ============================================================================ > See ncgen3/test-suite.log > Please report to address@hidden > ============================================================================ > make[3]: *** [test-suite.log] Error 1 > make[3]: Leaving directory > `/storage03/xuyong/libraries/netcdf-4.3.3.1/netcdf-4.3.3.1/ncgen3' > make[2]: *** [check-TESTS] Error 2 > make[2]: Leaving directory > `/storage03/xuyong/libraries/netcdf-4.3.3.1/netcdf-4.3.3.1/ncgen3' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > `/storage03/xuyong/libraries/netcdf-4.3.3.1/netcdf-4.3.3.1/ncgen3' > make: *** [check-recursive] Error 1 > > ----------------------------------------------------------------------------------------------------------------- > 2. My Linux: > LSB Version: > :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch > Distributor ID: RedHatEnterpriseServer > Description: Red Hat Enterprise Linux Server release 5.4 (Tikanga) > Release: 5.4 > Codename: Tikanga > > 3. set the path in ~/.bashrc > export CC=icc > export CXX=icpc > export CFLAGS='-O3 -xHost -ip -no-prec-div -static-intel' > export CXXFLAGS='-O3 -xHost -ip -no-prec-div -static-intel' > export F77=ifort > export FC=ifort > export F90=ifort > export FFLAGS='-O3 -xHost -ip -no-prec-div -static-intel' > export CPP='icc -E' > export CXXCPP='icpc -E' > > -------------------------------------------------------------------------------------------------------------------------------------------------- > 4.I have try the method that shared on the net: > > > $ locate libmif.so > $/opt/intel/composer_xe_2013.0.079/compiler/lib/intel64/libimf.so > > > vi ~/.bashrc > source > /storage03/xuyong/libraries_install/l_cluster_2013.1/composer_xe_2013_sp1.2.144/compiler/bin/ifortvars.sh > intel64 > source > /storage03/xuyong/libraries_install/l_cluster_2013.1/composer_xe_2013_sp1.2.144/compiler/bin/iccvars.sh > intel64 > > > > There is libimf.so that can not appear in the > path:/storage03/xuyong/libraries_install/l_cluster_2013.1/composer_xe_2013_sp1.2.144/compiler/bin/intel64.Besides,even > though I add the path in ~/.bashrc:export > LD_LIBRARY_PATH=/storage03/xuyong/libraries_install/l_cluster_2013.1/composer_xe_2013_sp1.2.144/compiler/lib/intel64 > It is still not work! Ticket Details =================== Ticket ID: TSJ-231955 Department: Support netCDF Priority: Normal Status: Closed