[mvapich-discuss] MVAPICH-1.1 with MPI-2 C++ binding build failure.

Jonathan Perkins perkinjo at cse.ohio-state.edu
Thu Dec 10 12:14:53 EST 2009


On Thu, Dec 03, 2009 at 04:40:37PM -0500, Bharath Ramesh wrote:
> I am trying to build MVAPICH-1.1 using the latest daily build
> 12-02-2009. I get the following error when building it, any help on this
> is appreciated.
> 
> Making a shared library of libpmpich++.a
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
> comm.o: relocation R_X86_64_32 against
> `PMPI::Comm::NULL_DELETE_FN(PMPI::Comm&, int, void*, void*)' can not be used when making a shared object; recompile with -fPIC
> comm.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status

I haven't been able to reproduce this yet but can you try adding -fPIC
to the CFLAGS in make.mvapich.gen2?  Also, what modifications in
particular did you make to the build scripts in order to try and build
shared libs?

> 
> Regards,
> 
> Bharath



> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss


-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20091210/19c66638/attachment.bin


More information about the mvapich-discuss mailing list