problem of installing netcdf-fortran

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
shifei
Posts: 30
Joined: Thu Aug 01, 2013 3:11 pm
Location: Ocean University of China

problem of installing netcdf-fortran

#1 Post by shifei » Wed Oct 02, 2013 4:58 am

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

User avatar
kate
Posts: 3780
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: problem of installing netcdf-fortran

#2 Post by kate » Wed Oct 02, 2013 1:48 pm

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

User avatar
shchepet
Posts: 185
Joined: Fri Nov 14, 2003 4:57 pm

Re: problem of installing netcdf-fortran

#3 Post by shchepet » Thu Oct 03, 2013 2:21 am

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.

shifei
Posts: 30
Joined: Thu Aug 01, 2013 3:11 pm
Location: Ocean University of China

Re: problem of installing netcdf-fortran

#4 Post by shifei » Mon Oct 07, 2013 4:11 am

Thanks very much! :idea:

Post Reply