<?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 Error Message: &amp;quot;Jump out of OpenMP structured block not allowed in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816018#M1157</link>
    <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1328535685359="55" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=99850" href="https://community.intel.com/en-us/profile/99850/" class="basic"&gt;jimdempseyatthecove&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...&lt;BR /&gt;(This is valid for C/C++ and not valid for FORTRAN as it loops differently)&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;I'm researching thisfor a C/C++ application only. Thanks, Jim.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2012 13:48:54 GMT</pubDate>
    <dc:creator>SergeyKostrov</dc:creator>
    <dc:date>2012-02-06T13:48:54Z</dc:date>
    <item>
      <title>Error Message: "Jump out of OpenMP structured block not allowed"</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816014#M1153</link>
      <description>&lt;P&gt;Hi everybody,&lt;BR /&gt;&lt;BR /&gt;Is it possible to jump out of &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; structured block? Here is an example:&lt;/P&gt;&lt;P&gt; ...&lt;BR /&gt; &lt;STRONG&gt;#pragma omp parallel for&lt;/STRONG&gt;&lt;BR /&gt; for( int i = 0; i &amp;lt; 512; i++ )&lt;BR /&gt; {&lt;BR /&gt;  ...&lt;BR /&gt;  &lt;STRONG&gt;if( i == 255 )&lt;/STRONG&gt;&lt;BR /&gt;  &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;break;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;  ...&lt;BR /&gt; }&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2012 02:39:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816014#M1153</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-04T02:39:20Z</dc:date>
    </item>
    <item>
      <title>Error Message: "Jump out of OpenMP structured block not allowed</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816015#M1154</link>
      <description>It is not allowed by OpenMP specification. Cancelation is not in specification yet.&lt;BR /&gt;&lt;BR /&gt;I guees you can try tasks from OpenMP 3.0&lt;BR /&gt;&lt;BR /&gt;--Vladimir</description>
      <pubDate>Sat, 04 Feb 2012 06:13:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816015#M1154</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2012-02-04T06:13:34Z</dc:date>
    </item>
    <item>
      <title>Error Message: "Jump out of OpenMP structured block not allowed</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816016#M1155</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1328462200609="55" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=458832" href="https://community.intel.com/en-us/profile/458832/" class="basic"&gt;Michael Klemm (Intel)&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...&lt;BR /&gt;The only options is to have an empty if statement, when your abort condition becomes to true so that the loop does not do anything and executes as fast as possible to its natual end.&lt;BR /&gt;...&lt;BR /&gt;Until we have added user cancellation to the OpenMP specification (we are making progress here), there is no other option.&lt;BR /&gt;...&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Thank you, Michael. A solution based on'&lt;STRONG&gt;If-Else&lt;/STRONG&gt;' will work.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2012 17:19:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816016#M1155</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-05T17:19:30Z</dc:date>
    </item>
    <item>
      <title>Error Message: "Jump out of OpenMP structured block not allowed</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816017#M1156</link>
      <description>I think you can set the loop control variable toa termination value.&lt;BR /&gt;&lt;BR /&gt;for(int i=0; i &amp;lt; endVal; ++i)&lt;BR /&gt;{&lt;BR /&gt;...&lt;BR /&gt; if(bailOut)&lt;BR /&gt; {&lt;BR /&gt; i=endVal;&lt;BR /&gt; continue;&lt;BR /&gt; }&lt;BR /&gt;...&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Although the running thread may have a different start val from 0 and/or may have a different endVal from endVal, no thread will (in this case) have an endVal larger than original endVal.&lt;BR /&gt;&lt;BR /&gt;(This is valid for C/C++ and not valid for FORTRAN as it loops differently)&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Mon, 06 Feb 2012 06:26:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816017#M1156</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-02-06T06:26:12Z</dc:date>
    </item>
    <item>
      <title>Error Message: "Jump out of OpenMP structured block not allowed</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816018#M1157</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1328535685359="55" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=99850" href="https://community.intel.com/en-us/profile/99850/" class="basic"&gt;jimdempseyatthecove&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...&lt;BR /&gt;(This is valid for C/C++ and not valid for FORTRAN as it loops differently)&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;I'm researching thisfor a C/C++ application only. Thanks, Jim.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 13:48:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816018#M1157</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-06T13:48:54Z</dc:date>
    </item>
    <item>
      <title>Error Message: "Jump out of OpenMP structured block not allowed</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816019#M1158</link>
      <description>I suppose you make bailOut a shared variable (does it need to be set in a critical?), so each thread should receive the flag as it reaches that point. If your OpenMP doesn't complain about this, the compiler should avoid any optimizations based on i not being touched by your loop body. However, OpenMP implementations are notoriously poor at flagging violations which will produce unexpected results.</description>
      <pubDate>Mon, 06 Feb 2012 15:52:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816019#M1158</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-02-06T15:52:26Z</dc:date>
    </item>
    <item>
      <title>Error Message: "Jump out of OpenMP structured block not allowed</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816020#M1159</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Modifying the loop counter is also prohibited by teh OpenMP specification. It works in most implementations, but it makes the program non-conforming and might break the code with different compiler releases. &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt; -michael</description>
      <pubDate>Mon, 06 Feb 2012 16:58:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816020#M1159</guid>
      <dc:creator>Michael_K_Intel2</dc:creator>
      <dc:date>2012-02-06T16:58:29Z</dc:date>
    </item>
    <item>
      <title>Error Message: "Jump out of OpenMP structured block not allowed</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816021#M1160</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1328581936953="55" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=458832" href="https://community.intel.com/en-us/profile/458832/" class="basic"&gt;Michael Klemm (Intel)&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;EM&gt;...It works in most implementations, but it makes the program non-conforming and &lt;SPAN style="text-decoration: underline;"&gt;might break the code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt; [&lt;STRONG&gt;SergeyK&lt;/STRONG&gt;] That's my primary concern...&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;with different compiler releases... &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt; -michael&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Thanks to everybody!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 02:34:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Error-Message-quot-Jump-out-of-OpenMP-structured-block-not/m-p/816021#M1160</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-07T02:34:21Z</dc:date>
    </item>
  </channel>
</rss>

