<?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>tópico Re: Unsynchronized For Loop na Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855821#M2083</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406770"&gt;cybernike&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Sorry, I am new to this site. Is the premier site free for everyone? I am still doing the 30-day evaluation for the thread checker. I tried to log on at  premier.intel.com using the same forum pw/id and it didn't work.&lt;/P&gt;
&lt;P&gt;I tried my program with both windows and linux versions of the thread checker. Even though the linux shows fewer errors, both versions complain about the list errors that I mentioned above.&lt;/P&gt;
&lt;P&gt;I did check the content of my list before and after clear() and the list looked absolutely fine and this makes me wonder if the thread checker is not accurate about the errors.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;You should be able to opensupport accounts by registering your trial serial numbers at &lt;A href="https://registrationcenter.intel.com" target="_blank"&gt;https://registrationcenter.intel.com&lt;/A&gt;. Your question may get lower priority, but it won't hurt to ask if your evaluation period could be extended until it is possible to answer your question.&lt;/P&gt;</description>
    <pubDate>Sun, 02 Nov 2008 13:58:50 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-11-02T13:58:50Z</dc:date>
    <item>
      <title>Unsynchronized For Loop</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855818#M2080</link>
      <description>&lt;DIV style="height: auto;"&gt;
&lt;P class="sectionBodyText"&gt;&lt;SPAN style="font-size: medium;"&gt;&lt;SPAN style="font-size: small;"&gt;My C++ code is similar to below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt; list &lt;INT&gt; a;&lt;BR /&gt; #pragma omp parallel for&lt;BR /&gt; for(int i=0;i&lt;N&gt;&lt;/N&gt; {&lt;BR /&gt; some code here..&lt;BR /&gt; #pragma omp critical&lt;BR /&gt; {&lt;BR /&gt; a.push_back(some integer);&lt;BR /&gt; }&lt;BR /&gt; some code here..&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; a.clear();&lt;/INT&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: medium;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-size: small;"&gt;The Intel thread checker complains that the statement after the for loop, a.clear() , messes with the statements for a in the for loop - a write-&amp;gt;write data race error. But why? I thought at the end of the for loop, there is an implicit barrier to wait for all threads to reach the end point of the loop. What am I missing?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 Oct 2008 20:47:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855818#M2080</guid>
      <dc:creator>cybernike</dc:creator>
      <dc:date>2008-10-31T20:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unsynchronized For Loop</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855819#M2081</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;According to what you presented, I would agree with you. It's not difficult, with C and C++, to get out on the edge of what is supported in OpenMP. I would suggest submission of a question on premier.intel.com, if you're working with the Windows thread checker. The linux thread checker seems to be in a less than satisfactory state right now, pending resumption of development of the next version.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Nov 2008 03:17:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855819#M2081</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-01T03:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unsynchronized For Loop</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855820#M2082</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;According to what you presented, I would agree with you. It's not difficult, with C and C++, to get out on the edge of what is supported in OpenMP. I would suggest submission of a question on premier.intel.com, if you're working with the Windows thread checker. The linux thread checker seems to be in a less than satisfactory state right now, pending resumption of development of the next version.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Sorry, I am new to this site. Is the premier site free for everyone? I am still doing the 30-day evaluation for the thread checker. I tried to log on at  premier.intel.com using the same forum pw/id and it didn't work.&lt;/P&gt;
&lt;P&gt;I tried my program with both windows and linux versions of the thread checker. Even though the linux shows fewer errors, both versions complain about the list errors that I mentioned above.&lt;/P&gt;
&lt;P&gt;I did check the content of my list before and after clear() and the list looked absolutely fine and this makes me wonder if the thread checker is not accurate about the errors.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2008 08:03:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855820#M2082</guid>
      <dc:creator>cybernike</dc:creator>
      <dc:date>2008-11-02T08:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unsynchronized For Loop</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855821#M2083</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406770"&gt;cybernike&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Sorry, I am new to this site. Is the premier site free for everyone? I am still doing the 30-day evaluation for the thread checker. I tried to log on at  premier.intel.com using the same forum pw/id and it didn't work.&lt;/P&gt;
&lt;P&gt;I tried my program with both windows and linux versions of the thread checker. Even though the linux shows fewer errors, both versions complain about the list errors that I mentioned above.&lt;/P&gt;
&lt;P&gt;I did check the content of my list before and after clear() and the list looked absolutely fine and this makes me wonder if the thread checker is not accurate about the errors.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;You should be able to opensupport accounts by registering your trial serial numbers at &lt;A href="https://registrationcenter.intel.com" target="_blank"&gt;https://registrationcenter.intel.com&lt;/A&gt;. Your question may get lower priority, but it won't hurt to ask if your evaluation period could be extended until it is possible to answer your question.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2008 13:58:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Unsynchronized-For-Loop/m-p/855821#M2083</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-02T13:58:50Z</dc:date>
    </item>
  </channel>
</rss>

