LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-10-20 13:38:06


Correct -- there was a problem with 7.0 such that threading flags did not
get passed into the SSI modules when they were compiled, resulting in
problems in some cases.

Additionally, how are you compiling your MPI application? Be aware that
mpicc (and friends) should be adding all the relevant flags for you
(including -lpthread or -pthread or whatever is appropriate for your
compiler). If you're not using LAM's wrapper compilers, you may run into
problems.

On Wed, 15 Oct 2003, Bailey, Richard T (US SSA) wrote:

> Perhaps you need to get -lpthread into your linker command instead of
> -lthread. I don't use the standard lam loader command, so I cannot
> advise you on how to do this.
>
> More importantly, however, is the fact that LAM 7.0 has a problem with
> pthreads. This was fixed with LAM 7.0.2. You really should be using
> 7.0.2 if you are using threads.
>
>
> -----Original Message-----
> From: Srikanth Yoginath [mailto:yoginathsb_at_[hidden]]
> Sent: Wednesday, October 15, 2003 10:39 AM
> To: lam_at_[hidden]
> Subject: LAM: undefined symbol: pthread_mutex_trylock
>
> Hi
> I had been using lam-6.5.9 to build a Rmpi shared library (Rmpi.so) to
> use it in R. It is working fine. I recently downloaded lam-7.0 and
> tried to do the same, it throws an error saying "undefined symbol:
> pthread_mutex_trylock". Can any body help me with this. Thank you.

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/