[MPICH] nemesis in a threaded code

chong tan chong_guan_tan at yahoo.com
Wed Apr 11 17:26:58 CDT 2007


randomly, a package sent by MPI_Send disappear, the reciever ended up
waiting for a package that never show up.  This does not happen when the
apllication is not threaded.

I have completed the test using --enable-threads=funnel.  The main thread is
the only one calling MPI.  (actually, only the master of all MPI processes are
multi-threaded).  It works much better, the horror is, it drops packages once 
in many runs.  So, nemesis is pretty much useless for any threaded application.

BTW, the package dropping usually happen after more than 30,000,000 calls
to MPI_Send and MPI_Recv.

Any suggestion to debug this ?

thanks
tan



----- Original Message ----
From: Darius Buntinas <buntinas at mcs.anl.gov>
To: chong tan <chong_guan_tan at yahoo.com>
Cc: mpich-discuss at mcs.anl.gov
Sent: Wednesday, April 11, 2007 2:22:39 PM
Subject: Re: [MPICH] nemesis in a threaded code


Hmm, what do you mean by "dropping packages"?  What symptoms are you seeing?

Darius

chong tan wrote:
> that is what I thought too.  But without using --enable-threads, nemesis is
> dropping packages randomly in a threaded env.  I will rebuild with
> --enable-threads=funnel to see what happen.
>  
> tan
> 
> 
>  
> ----- Original Message ----
> From: Darius Buntinas <buntinas at mcs.anl.gov>
> To: chong tan <chong_guan_tan at yahoo.com>
> Cc: mpich-discuss at mcs.anl.gov
> Sent: Wednesday, April 11, 2007 1:07:04 PM
> Subject: Re: [MPICH] nemesis in a threaded code
> 
> Nemesis only supports thread_single.  However, as long as you ensure
> that only one thread is making MPI calls, it should work fine.
> 
> Darius
> 
> chong tan wrote:
>  > with MPI calls done by the main thread, nemesis is dropping packages.  
>  > Should I build MPICH
>  > using --enable-threads=funneled ?
>  >  
>  > thanks
>  > tan
>  >  
>  >
>  > ------------------------------------------------------------------------
>  > 8:00? 8:25? 8:40? Find a flick <
>  > http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news 
> <http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news>> in no time
>  > with theYahoo! Search movie showtime shortcut. <
>  > http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news 
> <http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news>>
> 
> 
> ------------------------------------------------------------------------
> TV dinner still cooling?
> Check out "Tonight's Picks" 
> <http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/> on Yahoo! TV.


      Don't be flakey.  Get Yahoo! Mail for Mobile and always stay connected to friends.    http://mobile.yahoo.com/mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070411/d5fb68fa/attachment.htm>


More information about the mpich-discuss mailing list