<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks for the observation. Yes, it would be nice to maintain persistence in inner parallel constructs -- but I do not think this is essential for the model(s) I propose. In a static, programming to the iron, model, I suspect that users will not use nested parallelism, but will simply start a thread on each core, and go from there. On the other hand, in the dynamic model, you make no assumptions on task to thread association.</div><div><br><blockquote type="cite"><div><font class="Apple-style-span" color="#006312"><br></font>Message: 2<br>Date: Thu, 6 Aug 2009 10:33:41 -0700 (PDT)<br>From: "Bronis R. de Supinski" <<a href="mailto:bronis@llnl.gov">bronis@llnl.gov</a>><br>Subject: Re: [Mpi3-hybridpm] Mpi3-hybridpm Digest, Vol 5, Issue 4<br>To: "<a href="mailto:mpi3-hybridpm@lists.mpi-forum.org">mpi3-hybridpm@lists.mpi-forum.org</a>"<br>        <<a href="mailto:mpi3-hybridpm@lists.mpi-forum.org">mpi3-hybridpm@lists.mpi-forum.org</a>><br>Cc: OpenMP Language Committee <<a href="mailto:omp-lang@openmp.org">omp-lang@openmp.org</a>><br>Message-ID: <<a href="mailto:Pine.LNX.4.58.0908061030590.11162@tux213.llnl.gov">Pine.LNX.4.58.0908061030590.11162@tux213.llnl.gov</a>><br>Content-Type: TEXT/PLAIN; charset=windows-1252<br><br><br>Marc:<br><br>It is true that you can force persistence of thread<br>numbering (and threadprivate data) for the first level.<br>However, if you use OpenMP nested parallelism then the<br>numbering of threads in inner regions (and threadprivate<br>data) is not guaranteed to persist. It seems like you<br>require that in some cases (and this topic is one that<br>the OpenMP language committee has discussed although<br>it has not been a major point recently).<br><br>Bronis<br><br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Marc Snir</div><div>4323 Siebel Center, 201 N Goodwin, IL 61801</div><div>Tel (217) 244 6568</div><div>Web <a href="http://www.cs.uiuc.edu/homes/snir">http://www.cs.uiuc.edu/homes/snir</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>