<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">randomly, a package sent by MPI_Send disappear, the reciever ended up</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">waiting for a package that never show up. This does not happen when the</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">apllication is not threaded.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I have completed the test using --enable-threads=funnel. The main thread is</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">the only one calling MPI. (actually, only the master of all MPI processes are</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">multi-threaded). It works much better, the horror is, it drops packages once </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">in many runs. So, nemesis is pretty much useless for any threaded application.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">BTW, the package dropping usually happen after more than 30,000,000 calls</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">to MPI_Send and MPI_Recv.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Any suggestion to debug this ?</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">thanks</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">tan</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Darius Buntinas <buntinas@mcs.anl.gov><BR>To: chong tan <chong_guan_tan@yahoo.com><BR>Cc: mpich-discuss@mcs.anl.gov<BR>Sent: Wednesday, April 11, 2007 2:22:39 PM<BR>Subject: Re: [MPICH] nemesis in a threaded code<BR><BR>
<DIV>Hmm, what do you mean by "dropping packages"? What symptoms are you seeing?<BR><BR>Darius<BR><BR>chong tan wrote:<BR>> that is what I thought too. But without using --enable-threads, nemesis is<BR>> dropping packages randomly in a threaded env. I will rebuild with<BR>> --enable-threads=funnel to see what happen.<BR>> <BR>> tan<BR>> <BR>> <BR>> <BR>> ----- Original Message ----<BR>> From: Darius Buntinas <buntinas@mcs.anl.gov><BR>> To: chong tan <chong_guan_tan@yahoo.com><BR>> Cc: mpich-discuss@mcs.anl.gov<BR>> Sent: Wednesday, April 11, 2007 1:07:04 PM<BR>> Subject: Re: [MPICH] nemesis in a threaded code<BR>> <BR>> Nemesis only supports thread_single. However, as long as you ensure<BR>> that only one thread is making MPI calls, it should work fine.<BR>> <BR>> Darius<BR>> <BR>> chong tan wrote:<BR>> > with MPI
calls done by the main thread, nemesis is dropping packages. <BR>> > Should I build MPICH<BR>> > using --enable-threads=funneled ?<BR>> > <BR>> > thanks<BR>> > tan<BR>> > <BR>> ><BR>> > ------------------------------------------------------------------------<BR>> > 8:00? 8:25? 8:40? Find a flick <<BR>> > <A href="http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news" target=_blank>http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news</A> <BR>> <<A href="http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news" target=_blank>http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news</A>>> in no time<BR>> > with theYahoo! Search movie showtime shortcut. <<BR>> > <A
href="http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news" target=_blank>http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news</A> <BR>> <<A href="http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news" target=_blank>http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news</A>>><BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> TV dinner still cooling?<BR>> Check out "Tonight's Picks" <BR>> <<A href="http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/" target=_blank>http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/</A>> on Yahoo! TV.</DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
<hr size=1>We won't tell. Get more on <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
">shows you hate to love</a><br>(and love to hate): <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
">Yahoo! TV's Guilty Pleasures list.</a></body></html>