Newsgroups: comp.parallel.mpi
From: Lothar Thum <thum@mathpool.uni-augsburg.de>
Subject: LAM amd PThreads
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Date: Thu, 02 May 1996 14:11:00 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3188A654.41C6@mathpool.uni-augsburg.de>

Hi,

i'm testing how MPI can work with PThreads. Now i came to a problem
with a (in my eyes) simple program. Process 0 starts several threads,
each thread is sending an MPI_INT to one of the other ranks in 
MPI_COMM_WORLD. The other processes should receive this MPI_INT in a 
single thread.
This program always hangs up, the other processes don't get all the
messages - one or two do sometimes, the other not.
I don't understand this, the standard says that 
<< a blocking call blocks only the invoking thread, allowing the
scheduling of another >>.

I'm working with LAM 6.0 and hope you can explain what's up with this
program.

Lothar.

