Dear Ben, On Tue, 8 Apr 2008, Benjamin Kirk wrote:
>> I now found a way that works. It consists of adding the following two >> lines to Make.common: >> >> >> libmesh_CXXFLAGS += -ULAM_WANT_MPI2CPP >> libmesh_LDFLAGS += -L/usr/local/lam-mpi/lib -llammpi++ >> >> > > From your petscconf file it seems you built petsc with mpicc and friends, so > libMesh cannot "snoop" the MPI configuration. > > Can you try > > ./configure --with-cc=mpicc --with-cxx=mpicxx --with-f77=mpif77 ... > > (or whatever mpi compiler wrappers LAM uses) and give it a shot? > > The MPI compiler wrappers should find the libraries directly. The > -ULAM_WANT_MPI2CPP may or may not still be necessary. I still don't quite understand; what you say sounds like "You have been doing A before, please try A instead". I assume you mean I should try configuring PETSc *without* the mpicc like scripts. Anyway, I tried both, but without success. I decided to give up and use the workaround mentioned above. However, it is not working anymore, although I can't imagine what's different now from two days ago. Hence, I started again adding linker options to include the libs that contain the missing symbols and this time ended up with the following line at the end of Make.common: libmesh_LDFLAGS += -L/usr/local/lam-mpi/lib -lmpi -llammpi++ -llam -lutil This makes it work for today. The "-ULAM_WANT_MPI2CPP" is no longer required. This seems all very stochastic to me, but perhaps the cluster already senses that I want to do stochastic finite element computations. Best Regards, Tim -- Dr. Tim Kroeger Phone +49-421-218-7710 [EMAIL PROTECTED], [EMAIL PROTECTED] Fax +49-421-218-4236 MeVis Research GmbH, Universitaetsallee 29, 28359 Bremen, Germany Amtsgericht Bremen HRB 16222 Geschaeftsfuehrer: Prof. Dr. H.-O. Peitgen ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
