Hi,all!
I have installed zlib hdf5 netcdf-4.3. I'm trying to install netcdf-fortran, 1)export LD_LIBRARY_PATH=${DIR}/lib:${LD_LIBRARY_PATH} 2)CPPFLAGS=-I${DIR}/include LDFLAGS=-L${DIR}/lib ./configure --prefix=${DIR} 3)make check
After making check netcdf-fortran,problems as follows:
PASS: create_fills.sh
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-tst_f77_v2: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: tst_f77_v2
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_vars: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_vars
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_vars2: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_vars2
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_vars3: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_vars3
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_vars4: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_vars4
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_vars5: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_vars5
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_vars6: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_vars6
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_types: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_types
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_types2: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_types2
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_types3: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_types3
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_groups: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_groups
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-f90tst_vars: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: f90tst_vars
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-tst_types: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: tst_types
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-tst_types2: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: tst_types2
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-f90tst_vars_vlen: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: f90tst_vars_vlen
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-tst_f90_nc4: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: tst_f90_nc4
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-f90tst_grps: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: f90tst_grps
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-f90tst_fill: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: f90tst_fill
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-f90tst_fill2: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: f90tst_fill2
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-f90tst_vars3: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: f90tst_vars3
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-f90tst_vars4: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: f90tst_vars4
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-f90tst_vars2: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: f90tst_vars2
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftst_v2: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftst_v2
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-ftest: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: ftest
/home/fei/Downloads/netcdf-fortran-4.2/nf_test/.libs/lt-tst_f90: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
FAIL: tst_f90
problem of installing netcdf-fortran
Re: problem of installing netcdf-fortran
I've never heard of libifport, but you can do a web search on that error and get useful information:
http://software.intel.com/en-us/forums/topic/270636
http://software.intel.com/en-us/forums/topic/270636
Re: problem of installing netcdf-fortran
libifport.so.5 is a part of Intel compiler installation and it belongs to
the standard library directory within ifort installation tree, say, go to
the directory where your intel compuler(s) are installed and type
find . -name libifport.so.5 -print
The coutcome should be something like
./Compiler/11.1/073/lib/ia32/libifport.so.5
./Compiler/11.1/073/lib/intel64/libifport.so.5
./composer_xe_2013.0.079/compiler/lib/mic/libifport.so.5
./composer_xe_2013.0.079/compiler/lib/ia32/libifport.so.5
./composer_xe_2013.0.079/compiler/lib/intel64/libifport.so.5
./composer_xe_2013.2.146/compiler/lib/mic/libifport.so.5
./composer_xe_2013.2.146/compiler/lib/ia32/libifport.so.5
./composer_xe_2013.2.146/compiler/lib/intel64/libifport.so.5
Make sure that the ..../lib/intel64 (or ia32 if using 32-bit machine) from
the specific version of intel compiler is included into your LD_LIBRARY_PATH.
That is the output of
echo $LD_LIBRARY_PATH
should (among other things) point to one of such directories.
the standard library directory within ifort installation tree, say, go to
the directory where your intel compuler(s) are installed and type
find . -name libifport.so.5 -print
The coutcome should be something like
./Compiler/11.1/073/lib/ia32/libifport.so.5
./Compiler/11.1/073/lib/intel64/libifport.so.5
./composer_xe_2013.0.079/compiler/lib/mic/libifport.so.5
./composer_xe_2013.0.079/compiler/lib/ia32/libifport.so.5
./composer_xe_2013.0.079/compiler/lib/intel64/libifport.so.5
./composer_xe_2013.2.146/compiler/lib/mic/libifport.so.5
./composer_xe_2013.2.146/compiler/lib/ia32/libifport.so.5
./composer_xe_2013.2.146/compiler/lib/intel64/libifport.so.5
Make sure that the ..../lib/intel64 (or ia32 if using 32-bit machine) from
the specific version of intel compiler is included into your LD_LIBRARY_PATH.
That is the output of
echo $LD_LIBRARY_PATH
should (among other things) point to one of such directories.
Re: problem of installing netcdf-fortran
Thanks very much!