> Yeah - it's kind of odd that PETSc defaults to _not_ compiling with > shared support whereas libMesh defaults _to_ compiling shared.... > > On OSX shared support is basically broken... so I just always compile > with --disable-shared....
FWIW, libmesh can now build shared libraries on OSX 10.5. I'm running that way with trilinos. The catch is that it does not seem to link right with PETSc. OSX 10.5 changed the way the linker works, and it is not suprising I guess that a PETSc release which is 14 months old is having some issues. libMesh always uses -fPIC when building shared libraries. However, you need supporting, dependent libraries which are also shared. In this case the existing libmpich.a is to blame. If you want to build libmesh as a shared library (which I always do) then you need to build a shared MPI. There is something stricter in the x86_64 object model which is more sensitive to this, so you are more inclined to see it when linking with other, static libraries on these architectures. -Ben ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
