LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Prabhanjan Kambadur (pkambadu_at_[hidden])
Date: 2004-04-16 12:43:47


Hi,

LAM is not yet thread-safe. To quote a general rule of thumb, LAM can be
used with multi-threaded applications as long as all the LAM library calls
are restricted to a single thread or by using a global mutex which locks
accesses to LAM. Clearly, you are issuing LAM library calls in more than
one thread and so the problem.

Please see the FAQ for more details:
http://www.lam-mpi.org/faq

regards,
Anju.

On Thu, 15 Apr 2004, Rodrigo Porfirio
da Silva Sacchi wrote:

> I am having many difficulties with the use of threads for act of receiving of
> messages in the LAM-MPI.
>
> I'm working with lam-mpi version 7.0 and sending messages with different types
> (tags equal to 0, 1, 2, 3 and 4). For each tag, I use one thread (pthread.h) for
> receiving. I do not know because much SIGSEGVs happens and do not know as to
> solve its.
>
> I imagine that the problem is in the use of threads for reception of messages,
> therefore the codes it are and inside of threads they are correct.
>
> Somebody can help me?
>
> Thanks.
>
> Rodrigo Sacchi.
> rpss_at_[hidden]
>
> ----------------------------------------------------------
> Departamento de Computação e Estatística (www.dct.ufms.br)
> Universidade Federal de Mato Grosso do Sul (www.ufms.br)
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>