On Wed, Apr 2, 2008 at 2:55 AM, Tim Kroeger
<[EMAIL PROTECTED]> wrote:
> Dear John,
>
>
>  On Wed, 2 Apr 2008, John Peterson wrote:
>
>
> > I've never encountered your error message.  It appears to be at link
> > time, so maybe your mpich2 build is not correct or you are not linking
> > against the proper MPI libraries?  Are you using the "mpiCC" scripts
> > for your compiler or straight gcc?
> >
>
>  I am using "mpicc" and such, because I wasn't able to configure PETSc
> without these.
>
>  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?

>  in my Make.common file.  I am not really satisfied with this, but it works.
> Whould you recommend to use the Make.common.in file instead?

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"?

-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

Reply via email to