<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can a master region appear in OpenMP work-sharing region? in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Can-a-master-region-appear-in-OpenMP-work-sharing-region/m-p/992642#M6288</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;A question came up today about whether or not an OpenMP work-sharing region could contain a master region. There was no apparent language in the OpenMP Fortran spec that disallowed this (even in the latest 2.5 version). However, the compiler was not allowing this particular nesting of directives.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Anyone have any thoughts or advice on using a master region (code will only be executed by the master thread) inside a work-sharing construct (like parallel do)? Can you think of any algorithm that might need this functionality? Should this be allowed? If not, how would you try to "fix" the code that was written this way?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;--clay&lt;/DIV&gt;</description>
    <pubDate>Fri, 08 Apr 2005 03:27:34 GMT</pubDate>
    <dc:creator>ClayB</dc:creator>
    <dc:date>2005-04-08T03:27:34Z</dc:date>
    <item>
      <title>Can a master region appear in OpenMP work-sharing region?</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Can-a-master-region-appear-in-OpenMP-work-sharing-region/m-p/992642#M6288</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;A question came up today about whether or not an OpenMP work-sharing region could contain a master region. There was no apparent language in the OpenMP Fortran spec that disallowed this (even in the latest 2.5 version). However, the compiler was not allowing this particular nesting of directives.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Anyone have any thoughts or advice on using a master region (code will only be executed by the master thread) inside a work-sharing construct (like parallel do)? Can you think of any algorithm that might need this functionality? Should this be allowed? If not, how would you try to "fix" the code that was written this way?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;--clay&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Apr 2005 03:27:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Can-a-master-region-appear-in-OpenMP-work-sharing-region/m-p/992642#M6288</guid>
      <dc:creator>ClayB</dc:creator>
      <dc:date>2005-04-08T03:27:34Z</dc:date>
    </item>
  </channel>
</rss>

