<HTML>
<HEAD>
<TITLE>Re: [mpi-21] Ballot 4 - MPI_THREAD_FUNNELED - was Re: Attending, topics, etc</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Why restrict this to a standard specified thread (main thread), why not word it<BR>
as a singe thread, and let the app decide what thread this is, based on what<BR>
ever criteria it wants to use to select this thread ?<BR>
<BR>
Rich<BR>
<BR>
<BR>
On 1/31/08 10:27 AM, "Richard Treumann" <treumann@us.ibm.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>How about::<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>MPI_THREAD_FUNNELED The process may be multi-threaded, but</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> the application<BR>
must insure that only the main thread makes MPI calls.<BR>
<BR>
<BR>
Dick Treumann - MPI Team/TCEM <BR>
IBM Systems & Technology Group<BR>
Dept 0lva / MS P963 -- 2455 South Road -- Poughkeepsie, NY 12601<BR>
Tele (845) 433-7846 Fax (845) 433-8363<BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>mpi-21-bounces@cs.uiuc.edu wrote on 01/31/2008 09:44:08 AM:<BR>
<BR>
> A simpler change which would seem to achieve the desired clarification<BR>
> would be :- <BR>
> <BR>
> MPI_THREAD_FUNNELED The process may be multi-threaded, but only the<BR>
> main <BR>
> thread is allowed to make MPI calls.<BR>
> <BR>
> (and you could add <BR>
> If other threads make MPI calls the behavior is undefined.<BR>
> if you want to be verbose about it).<BR>
> <BR>
> -- Jim<BR>
> <BR>
> James Cownie <james.h.cownie@intel.com><BR>
> SSG/DPD/PAT<BR>
> Tel: +44 117 9071438<BR>
> <BR>
> <BR>
> <BR>
> <BR>
> > -----Original Message-----<BR>
> > From: mpi-21-bounces@cs.uiuc.edu [<a href="mailto:mpi-21-bounces@cs.uiuc.edu]">mailto:mpi-21-bounces@cs.uiuc.edu]</a><BR>
> On<BR>
> > Behalf Of Rolf Rabenseifner<BR>
> > Sent: 31 January 2008 14:31<BR>
> > To: mpi-21@cs.uiuc.edu<BR>
> > Subject: [mpi-21] Ballot 4 - MPI_THREAD_FUNNELED - was Re: Attending,<BR>
> > topics, etc<BR>
> > <BR>
> > This is a proposal for MPI 2.1, Ballot 4.<BR>
> > <BR>
> > I'm asking especially<BR>
> > Greg Lindahl,<BR>
> > the participants of the email-discussion in 2007, to review this<BR>
> proposal.<BR>
> > <BR>
> > This is a follow up to:<BR>
> > Which thread is the funneled thread?<BR>
> > in <a href="http://www.cs.uiuc.edu/homes/wgropp/projects/parallel/MPI/mpi-">http://www.cs.uiuc.edu/homes/wgropp/projects/parallel/MPI/mpi-</a><BR>
> > errata/index.html<BR>
> > with mail discussion in<BR>
> > <a href="http://www.cs.uiuc.edu/homes/wgropp/projects/parallel/MPI/mpi-">http://www.cs.uiuc.edu/homes/wgropp/projects/parallel/MPI/mpi-</a><BR>
> > errata/discuss/funneled/<BR>
> > ___________________________________<BR>
> > <BR>
> > Proposal:<BR>
> > MPI-2.0 Sect. 8.7.3, MPI_Init_thread, page 196, lines 25-26 read:<BR>
> > <BR>
> > MPI_THREAD_FUNNELED The process may be multi-threaded, but only<BR>
> > the main thread will make MPI calls (all MPI calls are "funneled"<BR>
> > to the main thread).<BR>
> > <BR>
> > but should read:<BR>
> > <BR>
> > MPI_THREAD_FUNNELED The process may be multi-threaded, but only<BR>
> > the main thread will make MPI calls (all MPI calls are "funneled"<BR>
> > to the main thread, e.g., by using the OpenMP directive "master"<BR>
> > in the application program).<BR>
> > ___________________________________<BR>
> > Rationale for this clarification from the email from Greg Lindahl:<BR>
> > The existing document doesn't make it clear that<BR>
> > the MPI user has to funnel the calls to the main thread;<BR>
> > it's not the job of the MPI library. I have seen multiple<BR>
> > MPI users confused by this issue, and when I first read<BR>
> > this section, I was confused by it, too.<BR>
> > ___________________________________<BR>
> > <BR>
> > <BR>
> > Best regards<BR>
> > Rolf<BR>
> > <BR>
> > <BR>
> > <BR>
> > <BR>
> > Dr. Rolf Rabenseifner . . . . . . . . . .. email rabenseifner@hlrs.de<BR>
> > High Performance Computing Center (HLRS) . phone ++49(0)711/685-65530<BR>
> > University of Stuttgart . . . . . . . . .. fax ++49(0)711 / 685-65832<BR>
> > Head of Dpmt Parallel Computing . . . www.hlrs.de/people/rabenseifner<BR>
> > Nobelstr. 19, D-70550 Stuttgart, Germany . (Office: Allmandring 30)<BR>
> > _______________________________________________<BR>
> > mpi-21 mailing list<BR>
> > mpi-21@cs.uiuc.edu<BR>
> > <a href="http://lists.cs.uiuc.edu/mailman/listinfo/mpi-21">http://lists.cs.uiuc.edu/mailman/listinfo/mpi-21</a><BR>
> ---------------------------------------------------------------------<BR>
> Intel Corporation (UK) Limited<BR>
> Registered No. 1134945 (England)<BR>
> Registered Office: Pipers Way, Swindon SN3 1RJ<BR>
> VAT No: 860 2173 47<BR>
> <BR>
> This e-mail and any attachments may contain confidential material for<BR>
> the sole use of the intended recipient(s). Any review or distribution<BR>
> by others is strictly prohibited. If you are not the intended<BR>
> recipient, please contact the sender and delete all copies.<BR>
> <BR>
> <BR>
> _______________________________________________<BR>
> mpi-21 mailing list<BR>
> mpi-21@cs.uiuc.edu<BR>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/mpi-21">http://lists.cs.uiuc.edu/mailman/listinfo/mpi-21</a><BR>
</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
mpi-21 mailing list<BR>
mpi-21@cs.uiuc.edu<BR>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/mpi-21">http://lists.cs.uiuc.edu/mailman/listinfo/mpi-21</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>