Newsgroups: comp.parallel.mpi
From: Lothar Thum <thum@mathpool.uni-augsburg.de>
Subject: MPICH amd PThreads
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Date: Wed, 08 May 1996 17:56:31 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3190C42F.41C6@mathpool.uni-augsburg.de>

Hi,

now that I know that LAM/MPI isn't thread-safe, I wonder whether
MPICH is thread-safe. I have tested MPICH with the same programs than I
had tested the LAM implementation and I got the same results:

On one single node several threads made some communication calls 
simultanously and the program hangs up.
If I made on each node only one communication call at a time all works
fine and also if I saved the communication calls with mutexes. 

Therefore I come to the opinion MPICH isn't thread-safe either, but
I have heard it would.
Is there any thread-safe MPI implementation ?

Can anyone clear the situation. (Perhaps I don't know what's thread-safe
at all).

Thanks,
Lothar.

