LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian Barrett (brbarret_at_[hidden])
Date: 2006-01-13 08:47:29


On Jan 12, 2006, at 9:14 PM, fescada wrote:

> Hi all, i write a simple code to teste MPI and Threads, but it
> don't work and i don't have any ideia why. I
> think that my problem is the installation. Regular thread programs
> work. MPI programs without threads work to.
>
> I'm using LAM/MPI 7.1.1
> gcc 3.2.2
> Linux Red Hat e kernel 2.4.29
> on a Intel PC cluster

Could you try one of the nightly betas of LAM/MPI 7.1.2 from the URL
below? There was a bug with some of our code that would hard lock a
threaded program that was linked with libmpi.a even if the
application never called any MPI functions. This was fixed in LAM/
MPI 7.1.2b30. If you can't upgrade to the beta, perhaps try turning
off support for memory pin caching by configuring LAM 7.1.1 with --
with-memory-manager=none. This will reduce performance with IB and
GM, but will have no effect on performance with TCP or shared memory.

     http://www.lam-mpi.org/beta/

Bogdan is correct, of course, in pointing out that LAM/MPI does not
provide support for MPI_THREAD_MULTIPLE. It does support FUNNELED
and SERIALIZED, and your program that was failing met the
requirements of either FUNNELED or SERIALIZED, so that wasn't the
problem. I'm almost positive it was the bug in the memory manager code.

Hope this helps,

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/