<?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 Thread Inspector and Fortran subroutines in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744352#M1625</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;In order to better address your question, can you tell us which version of the Intel Fortran compiler you are using and whether or not you are statcally linking the OpenMP runtime library?&lt;BR /&gt;</description>
    <pubDate>Mon, 17 May 2010 21:17:40 GMT</pubDate>
    <dc:creator>David_A_Intel1</dc:creator>
    <dc:date>2010-05-17T21:17:40Z</dc:date>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744350#M1623</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've
 put some openmp directives on a do loop in fortran. Inside this do loop
 I call other subroutines. But when I run parallelel inspector to find 
data races it is giving a lot of data races on the local variables of 
the subroutines I call inside my do loop. I was suspecting that these 
were local to each thead because that are created in the thread local 
stack. But if this is correct than parallel inspecting is giving a lot 
of false positives and becomes useless because of the high number of 
these data race reports. Or is parallel inspector correct and this the 
normal behaviour for fortran code?</description>
      <pubDate>Tue, 04 May 2010 08:46:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744350#M1623</guid>
      <dc:creator>gert_massa</dc:creator>
      <dc:date>2010-05-04T08:46:14Z</dc:date>
    </item>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744351#M1624</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I found the solution to my problem. In fortran local variable are static by default but by adding the /automatic compiler flag these local variables are allocated on the stack by default. This solves a lot of race conditions but I still have quite some false positive in my opinion. I illustrated this below&lt;BR /&gt;&lt;BR /&gt;allocate variable !allocation site&lt;BR /&gt;&lt;BR /&gt;!$omp parallal do &lt;BR /&gt; read shared variable !read&lt;BR /&gt;!$omp end parallel do&lt;BR /&gt;&lt;BR /&gt;write shared variable !date race. but why????</description>
      <pubDate>Wed, 05 May 2010 07:05:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744351#M1624</guid>
      <dc:creator>gert_massa</dc:creator>
      <dc:date>2010-05-05T07:05:09Z</dc:date>
    </item>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744352#M1625</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;In order to better address your question, can you tell us which version of the Intel Fortran compiler you are using and whether or not you are statcally linking the OpenMP runtime library?&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2010 21:17:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744352#M1625</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2010-05-17T21:17:40Z</dc:date>
    </item>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744353#M1626</link>
      <description>Is the paarallel do inside a parallel region?&lt;BR /&gt;This can occure if you have nested parallel regions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(nested enabled)&lt;BR /&gt;&lt;BR /&gt;!$omp parallel sections&lt;BR /&gt;call foo&lt;BR /&gt;!$omp section&lt;BR /&gt;call fee&lt;BR /&gt;!$omp end parallel sections&lt;BR /&gt;-------------&lt;BR /&gt;subroutine foo&lt;BR /&gt;...&lt;BR /&gt;!$omp parallel do&lt;BR /&gt; read shared variable xx in module yy or in common&lt;BR /&gt;!$omp end parallel do&lt;BR /&gt;write shared variable xx&lt;BR /&gt;...&lt;BR /&gt;end subroutine foo&lt;BR /&gt;&lt;BR /&gt;------------------------&lt;BR /&gt;&lt;BR /&gt;subroutine fee&lt;BR /&gt;...&lt;BR /&gt;!$omp parallel do&lt;BR /&gt; read shared variable xx in module yy or in common&lt;BR /&gt;!$omp end parallel do&lt;BR /&gt;write shared variable xx&lt;BR /&gt;...&lt;BR /&gt;end subroutine fee&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The two writes to same shared xx could occure by two threads&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2010 22:02:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744353#M1626</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2010-05-17T22:02:02Z</dc:date>
    </item>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744354#M1627</link>
      <description>I'm using intel fortran compiler version 11.0.072 and using staticaly linked libraries for openmp.&lt;BR /&gt;&lt;BR /&gt;I do not have nested parrallel in my code and it is also not enabled (by default it is disable if I'm correct). In fact I only have one parallel region in my code at the moment.</description>
      <pubDate>Tue, 18 May 2010 07:20:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744354#M1627</guid>
      <dc:creator>gert_massa</dc:creator>
      <dc:date>2010-05-18T07:20:36Z</dc:date>
    </item>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744355#M1628</link>
      <description>Following the copiler option guidelines discribed in &lt;A href="http://software.intel.com/en-us/articles/compiler-settings-for-threading-error-analysis-in-intel-parrallel-inspector/" target="_blank"&gt;http://software.intel.com/en-us/articles/compiler-settings-for-threading-error-analysis-in-intel-parrallel-inspector/&lt;/A&gt; I could remove all the false positive mentioned above. Only one data race reported now in on a local variable (CHARACTER*5) in a fortran function. The /automatic does not seem to work in this case.&lt;DIV style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;" id="_mcePaste"&gt;&lt;A href="http://software.intel.com/en-us/articles/compiler-settings-for-threading-error-analysis-in-intel-parrallel-inspector/" target="_blank"&gt;http://software.intel.com/en-us/articles/compiler-settings-for-threading-error-analysis-in-intel-parrallel-inspector/&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 May 2010 09:23:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744355#M1628</guid>
      <dc:creator>gert_massa</dc:creator>
      <dc:date>2010-05-18T09:23:56Z</dc:date>
    </item>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744356#M1629</link>
      <description>That's the problem! We currently don't support statically linking the OpenMP libraries and it will cause many false positives!&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2010 21:13:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744356#M1629</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2010-05-20T21:13:11Z</dc:date>
    </item>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744357#M1630</link>
      <description>Indeed, This was also guidelines I mentioned in my previous post. BUt I still have one strange data race reported on a local CHARACTER(*) variable.</description>
      <pubDate>Fri, 21 May 2010 09:19:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744357#M1630</guid>
      <dc:creator>gert_massa</dc:creator>
      <dc:date>2010-05-21T09:19:00Z</dc:date>
    </item>
    <item>
      <title>Thread Inspector and Fortran subroutines</title>
      <link>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744358#M1631</link>
      <description>Please submit a sample app that demonstrates the problem. If you can create a sample project and zip it up and attach it to this thread, that would allow us to investigate the reported behavior.</description>
      <pubDate>Fri, 21 May 2010 17:55:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Thread-Inspector-and-Fortran-subroutines/m-p/744358#M1631</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2010-05-21T17:55:16Z</dc:date>
    </item>
  </channel>
</rss>

