← Back to team overview

dolfin team mailing list archive

OS X x86 problem

 

I'm trying to get the fenics suite up and running on an intel Xeon OS X machine, and get the following error:

ld: warning multiple definitions of symbol _mpipriv2_
/Users/gideon/software/petsc-2.3.3-p8/lib/darwin8.11.1-cxx-debug/ libpetsc.dylib(single module) definition of _mpipriv2_ /Users/gideon/software/lib/libmpich.dylib(single module) definition of _mpipriv2_
ld: warning multiple definitions of symbol _mpipriv1_
/Users/gideon/software/petsc-2.3.3-p8/lib/darwin8.11.1-cxx-debug/ libpetsc.dylib(single module) definition of _mpipriv1_ /Users/gideon/software/lib/libmpich.dylib(single module) definition of _mpipriv1_
ld: warning multiple definitions of symbol _mpiprivc_
/Users/gideon/software/petsc-2.3.3-p8/lib/darwin8.11.1-cxx-debug/ libpetsc.dylib(single module) definition of _mpiprivc_ /Users/gideon/software/lib/libmpich.dylib(single module) definition of _mpiprivc_ ld: common symbols not allowed with MH_DYLIB output format with the - multi_module option /Users/gideon/software/petsc-2.3.3-p8/externalpackages/hypre-2.0.0/ darwin8.11.1-cxx-debug/lib/libHYPRE.a(globalObjects.o) definition of common _msgBuf_dh (size 1024)
/usr/bin/libtool: internal link edit command failed

I gather this has to do with my use of dynamic libraries for petsc and mpich, but i was wondering if anyone had a suggested fix before i switch to the static libraries.


-gideon