Hi Tim,

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?

-J


On Tue, Apr 1, 2008 at 1:39 AM, Tim Kroeger
<[EMAIL PROTECTED]> wrote:
> Dear John,
>
>
>  On Mon, 31 Mar 2008, John Peterson wrote:
>
>  > I wouldn't suggest #undef'ing those, they are used by the C standard
>  > libraries and are incorrectly (in my opinion) re-defined by the Mpich
>  > C++ interface. The best thing is probably to use the
>  >
>  > export CXXFLAGS=-DMPICH_SKIP_MPICXX
>  >
>  > flag before compiling.
>
>  That doesn't work for me.  Loris' solution works, but at the end, upon
>  linking, I get another error message:
>
>  /home/tim/archives/packages/mpich2-1.0.5p4/lib/libmpich.a(attr_delete.o):
>  In function `MPI_Attr_delete':
>  attr_delete.c:(.text+0x53): undefined reference to `pthread_getspecific'
>  attr_delete.c:(.text+0x89): undefined reference to `pthread_setspecific'
>  attr_delete.c:(.text+0x29f): undefined reference to `pthread_getspecific'
>  attr_delete.c:(.text+0x2d5): undefined reference to `pthread_setspecific'
>  attr_delete.c:(.text+0x341): undefined reference to `pthread_getspecific'
>  attr_delete.c:(.text+0x377): undefined reference to `pthread_setspecific'
>
>  (and another >500 lines like that).
>
>  What solution to that do you propose?
>
>
>
>  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