<?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 Intel thread Checker for Fortran code with OpenMP implement in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-thread-Checker-for-Fortran-code-with-OpenMP-implement/m-p/851343#M1884</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN style="font-family: Arial;"&gt;Hi,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN style="font-family: Arial;"&gt;we have installed intel Thread Checker on our machine and setup the environment to run it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;To compile our Fortran code with thread checker features, I use compiler options for ifort&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;-c -free -fpp -O0 -g -openmp -tcheck&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;Link options,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;-L/home/sxy/intel/itt/tcheck/bin/32e shared-intel l guide lpthread&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;There is no problem in compiling phase, but in linking, the error message is&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;undefined reference to `__kddc_run'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;I then tried to compile primes.c which is supplied with intel thread checker. No problem at all.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;It looks like `__kddc_run' is included in libassuret40.so.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;I understand that intel thread checker supports intel fortan. What is your suggestion with this problem?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;Sue&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2008 00:00:04 GMT</pubDate>
    <dc:creator>sxy</dc:creator>
    <dc:date>2008-11-07T00:00:04Z</dc:date>
    <item>
      <title>Intel thread Checker for Fortran code with OpenMP implement</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-thread-Checker-for-Fortran-code-with-OpenMP-implement/m-p/851343#M1884</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN style="font-family: Arial;"&gt;Hi,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN style="font-family: Arial;"&gt;we have installed intel Thread Checker on our machine and setup the environment to run it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;To compile our Fortran code with thread checker features, I use compiler options for ifort&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;-c -free -fpp -O0 -g -openmp -tcheck&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;Link options,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;-L/home/sxy/intel/itt/tcheck/bin/32e shared-intel l guide lpthread&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;There is no problem in compiling phase, but in linking, the error message is&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;undefined reference to `__kddc_run'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;I then tried to compile primes.c which is supplied with intel thread checker. No problem at all.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;It looks like `__kddc_run' is included in libassuret40.so.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;I understand that intel thread checker supports intel fortan. What is your suggestion with this problem?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: x-small; color: #000080; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: navy; font-family: Arial;"&gt;Sue&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2008 00:00:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-thread-Checker-for-Fortran-code-with-OpenMP-implement/m-p/851343#M1884</guid>
      <dc:creator>sxy</dc:creator>
      <dc:date>2008-11-07T00:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Intel thread Checker for Fortran code with OpenMP implement</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-thread-Checker-for-Fortran-code-with-OpenMP-implement/m-p/851344#M1885</link>
      <description>&lt;DIV style="margin:0px;"&gt;I would suggest you to add -openmp -tcheck to the link options as well (assuming you use ifort to link). It might be essential because both options assume a certain library to link with, and their combination is even more special. If you specify these options to the compiler front-end, it should ensure the required libraries are passed to the linker.&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Nov 2008 16:32:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-thread-Checker-for-Fortran-code-with-OpenMP-implement/m-p/851344#M1885</guid>
      <dc:creator>Alexey-Kukanov</dc:creator>
      <dc:date>2008-11-07T16:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Intel thread Checker for Fortran code with OpenMP implement</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-thread-Checker-for-Fortran-code-with-OpenMP-implement/m-p/851345#M1886</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/333976"&gt;Alexey Kukanov (Intel)&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;I would suggest you to add -openmp -tcheck to the link options as well (assuming you use ifort to link). It might be essential because both options assume a certain library to link with, and their combination is even more special. If you specify these options to the compiler front-end, it should ensure the required libraries are passed to the linker.&lt;BR /&gt;&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;As Alexey hints, you must allow the libraries to be chosen consistent with -tcheck, rather than specifying specific non-checking libraries at link time.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2008 18:44:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-thread-Checker-for-Fortran-code-with-OpenMP-implement/m-p/851345#M1886</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-08T18:44:02Z</dc:date>
    </item>
  </channel>
</rss>

