[Users] compilation problem on 10.6.3 macbook pro

Frank Loeffler knarf at cct.lsu.edu
Wed May 26 19:47:19 CDT 2010


On Wed, May 26, 2010 at 04:02:37PM -0400, Babiuc-Hamilton, Maria wrote:
> Yes, the "_ompi_" errors were because of that. 
> I recompiled with OpenMPI, and those errors were resolved.
> However, I still have the second errors:
> Undefined symbols:
>   "MPI::Comm::Set_errhandler(MPI::Errhandler const&)", referenced from:
>       vtable for MPI::Intercomm in libthorn_CarpetSlab.a(mapping.cc.o)
> etc...
>   "MPI::Win::Set_errhandler(MPI::Errhandler const&)", referenced from:
>       vtable for MPI::Win in libthorn_CarpetSlab.a(mapping.cc.o)
>   etc...
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> 
> Do you have any suggestion about this error?

Add mpi_cxx to the libraries:

OPENMPI_LIBS = mpi mpi_cxx

Frank Loeffler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20100526/bff40e02/attachment.bin 


More information about the Users mailing list