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.
Srikanth
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|