Re: [myrinet] Re: GM_BOGUS_SEND_INTERRUPT

Loic Prylli <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
On Thu, Oct 11, 2001 at 01:00:43AM -0700, Patrick Geoffray wrote:
>  
> > I am using threads but all thread creation is done BEFORE MPI_Init() is
> > called and only one thread ever accesses the mpi routines. Condition
> > variable and mutexs are used throughout though.
> 
> That's fine. MPICH is not thread safe, but locking the MPI calls is 
> perfectly safe.
>  

Moreover it should not matter wether threads are created before or
after MPI_Init().

One potential problem is that MPICH-GM include a malloc replacement to
handle memory registration properly (is that still true for
1.2.1..7?), this malloc replacement is not thread-safe, and it might
be the explanation for your problems (even if it isn't, you might want
to take that into account).

Regards,

Loic PRYLLI
LIP/ENS-LYON
FRANCE
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.