Open MPI logo

Open MPI User's Mailing List Archives

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

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


On Wed, Oct 6, 2010 at 2:43 PM, Tim Prince <n8tm_at_[hidden]> wrote:
>> 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
>> libhdf5_fortran.so.6 -o .libs/libhdf5_fortran.so.6.0.4
>> ifort: command line warning #10156: ignoring option '-r'; no argument
>> required
>> ifort: command line warning #10156: ignoring option '-s'; no argument
>> required
>> ld: libhdf5_fortran.so.6: No such file: No such file or directory
> Do -Wl,-rpath and -Wl,-soname= work any better?
Yes, with these options, it build fine. But the command line is
generated by libtool, so how can I make libtool to use -Wl, in front
of the linker options? It seems to strip these from the command.

Regards, Götz

-- 
AL I:40: Do what thou wilt shall be the whole of the Law.