Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] hdf5 build error using openmpi and Intel Fortran
From: Götz Waschk (goetz.waschk_at_[hidden])
Date: 2010-10-06 03:09:21

Hi everyone,

I'm trying to build hdf5 1.8.5-patch1 on RHEL5 using openmpi 1.4 and
the Intel Compiler suite 11.0. I have Fortran, MPI and shared library
support enabled. I get this error at linking stage:

/bin/sh ../../libtool --tag=FC --mode=link mpif90 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -O3 -I../../src
-I../../fortran/src -version-info 6:4:0
-Wl,-rpath=/usr/lib64/openmpi/1.4-icc/lib -lmpi -o
-rpath /usr/lib64 H5f90global.lo H5fortran_types.lo H5_ff.lo H5Aff.lo
H5Dff.lo H5Eff.lo H5Fff.lo H5Gff.lo H5Iff.lo H5Lff.lo H5Off.lo
H5Pff.lo H5Rff.lo H5Sff.lo H5Tff.lo H5Zff.lo
H5_DBLE_InterfaceInclude.lo H5f90kit.lo H5_f.lo H5Af.lo H5Df.lo
H5Ef.lo H5Ff.lo H5Gf.lo H5If.lo H5Lf.lo H5Of.lo H5Pf.lo H5Rf.lo
H5Sf.lo H5Tf.lo H5Zf.lo H5FDmpiof.lo HDF5mpio.lo H5FDmpioff.lo -lsz
-lz -lm
libtool: link: mpif90 -shared .libs/H5f90global.o
.libs/H5fortran_types.o .libs/H5_ff.o .libs/H5Aff.o .libs/H5Dff.o
.libs/H5Eff.o .libs/H5Fff.o .libs/H5Gff.o .libs/H5Iff.o .libs/H5Lff.o
.libs/H5Off.o .libs/H5Pff.o .libs/H5Rff.o .libs/H5Sff.o .libs/H5Tff.o
.libs/H5Zff.o .libs/H5_DBLE_InterfaceInclude.o .libs/H5f90kit.o
.libs/H5_f.o .libs/H5Af.o .libs/H5Df.o .libs/H5Ef.o .libs/H5Ff.o
.libs/H5Gf.o .libs/H5If.o .libs/H5Lf.o .libs/H5Of.o .libs/H5Pf.o
.libs/H5Rf.o .libs/H5Sf.o .libs/H5Tf.o .libs/H5Zf.o .libs/H5FDmpiof.o
.libs/HDF5mpio.o .libs/H5FDmpioff.o -lmpi -lsz -lz -lm -m64
-mtune=generic -rpath=/usr/lib64/openmpi/1.4-icc/lib -soname -o .libs/
ifort: command line warning #10156: ignoring option '-r'; no argument required
ifort: command line warning #10156: ignoring option '-s'; no argument required
ld: No such file: No such file or directory
make[1]: *** [] Fehler 1

hdf5 builds fine with static libraries only, but they become huge. It
looks like libtool or mpif90 or something else is calling ifort with
the wrong options. Any idea on how to fix this?

Regards, Götz Waschk