On Thu, Apr 3, 2008 at 3:29 AM, Tim Kroeger <[EMAIL PROTECTED]> wrote: > Dear John, > > On Wed, 2 Apr 2008, John Peterson wrote: > > > > > > On Wed, Apr 2, 2008 at 2:55 AM, Tim Kroeger > <[EMAIL PROTECTED]> wrote: > > > > > > > > > I was able to solve my problem by setting > > > > > > libmesh_LDFLAGS = -lpthread > > > > > > > I'm kind of surprised this works for you, don't you also need to have > > -L /your/machine/mpidir for the linker to find libpthread? > > > > libthread.so is located in /usr/lib/. Don't ask me why.
Must be as a result of whatever prefix was used (default=/usr) for the MPI installation. > > > > I'm really not sure what the best solution is here. The mpicc > > compilers *should* be getting the link line correct. Can the PETSc > > examples be successfully linked during PETSc's "make test_examples"? > > > > Yes, "make test" compiles well. It just doesn't run the examples since > there is no mpd running on this machine. Well, we'd need to see the actual link line being used by your mpicc compiler scripts. I believe you can pass -echo as a command line argument to mpicc and it should report the exact link line it uses. For example on my computer I got -L/cfdlab/Mpi/1.2.7/lib -lpmpich++ -lmpich -lpthread -lrt -J > > > 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 > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
