<?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 Re: Problem with Intel Thread Checker in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905382#M4412</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;Build with -tcheck and no other unnecessary options, and no special libraries, like MKL or IPP. Run the executable normally (no tcheck_cl yet). Run tcheck_cl threadchecker.thr. This is the only likely way to work with medium to large applications. tcheck has some serious bugs, (for example, it doesn't work with OpenMP default(none)) and no current maintenance. The priority seems to be on the Windows Parallel Studio. I, for one, would like to see the non-interactive no-gui linux version brought back to life.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Thanks for your answer, I have tried different possibilities of compiling. The program itself is running successfully (compiled with -g -tcheck) without using the Thread-Checker directly and the threadchecker.thr file is build. If I want to view the threadchecker.thr file, I got the same message as written before:&lt;BR /&gt;&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|ID|Short |Severity|Cou|Context[B|Description |1st Acces|2nd Acces|&lt;BR /&gt;| |Description|Name |nt |est] | |s[Best] |s[Best] |&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|1 |Thread |Informat|1 |Whole |Thread termination at |"main.f90|"main.f90|&lt;BR /&gt;| |termination|ion | |Program 1|"main.f90":1 - includes stack |":1 |":1 |&lt;BR /&gt;| | | | | |allocation of 8 MB and use of | | |&lt;BR /&gt;| | | | | |180,715 KB | | |&lt;BR /&gt;__________________________________________________________________________________________&lt;/P&gt;
&lt;P&gt;I also have used different stack limits, no success. I have also programmed a race condition to see if any changes can be seen, but this has also no success.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Nov 2008 23:27:57 GMT</pubDate>
    <dc:creator>FDSUser</dc:creator>
    <dc:date>2008-11-14T23:27:57Z</dc:date>
    <item>
      <title>Problem with Intel Thread Checker</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905380#M4410</link>
      <description>&lt;P&gt;All,&lt;/P&gt;
&lt;P&gt;I have the following problem (using Intel Fortran 11.069, Intel C++ 11.069 and Intel Thread Checker 3.1 on Ubuntu 8.04 LTS):&lt;/P&gt;
&lt;P&gt;The code I compile is a mixed Fortran-C code, one C-File with some subroutines, all other code is Fortran. The compilation flags I use are&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;ifort -c -g -tcheck -openmp -O0 -L/opt/intel/itt/tcheck/bin/32 -static&lt;/LI&gt;
&lt;LI&gt;icc -c -g -tcheck -openmp -Dpp_noappend -O0 -no-multibyte-chars -L/opt/intel/itt/tcheck/bin/32 -static&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Linking is done by using:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;ifort -g -tcheck -openmp -O0 -L/opt/intel/itt/tcheck/bin/32 -static -o&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Compilation of the code is no problem, no error occurs. I tried compiling with the -static flag and without the -static flag, no problem or error occurs.&lt;/P&gt;
&lt;P&gt;After the successful compilation and linking, I start the Intel Thread Checker with the command:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;tcheck_cl -f txt -w 90 ./fds5_intel_openmp 1-Gitter.fds&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;where fds_5_intel_openmp is my successfully compiled executable and 1-Gitter.fds is the file, which the executable needs for starting a calculation.&lt;/P&gt;
&lt;P&gt;Then the following errors occur:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;using an executable compiled and linked with -static flag Intel Thread Checker prints the following result:&lt;/LI&gt;
&lt;LI&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;PRE&gt;[cpp]Intel Thread Checker 3.1 command line instrumentation driver (26185)&lt;BR /&gt;Copyright (c) 2007 Intel Corporation. All rights reserved.&lt;BR /&gt;Building project&lt;BR /&gt;Instrumenting&lt;BR /&gt; 20% fds5_intel_openmp ( All Functions ):...................&lt;BR /&gt; 20% fds5_intel_openmp ( API Imports ):...........&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;Running:  /FDS_OpenMP/fds5_intel_openmp 1-Gitter.fds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Application finished&lt;BR /&gt;&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|ID |Short          |Severity    |Count|Context[Bes|Descripti|1st          |2nd          |&lt;BR /&gt;|   |Description    |Name        |     |t]         |on       |Access[Best] |Access[Best] |&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;&lt;BR /&gt;[/cpp]&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;using an executable without the -static flag, I got:&lt;/LI&gt;
&lt;LI&gt;
&lt;UL&gt;
&lt;LI&gt;Intel Thread Checker 3.1 command line instrumentation driver (26185)&lt;BR /&gt;Copyright (c) 2007 Intel Corporation. All rights reserved.&lt;BR /&gt;Building project&lt;BR /&gt;Instrumenting&lt;BR /&gt; 14% fds5_intel_openmp ( All Functions ):.........................................................&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;Running: /FDS_OpenMP/fds5_intel_openmp 1-Gitter.fds&lt;BR /&gt;&lt;BR /&gt;forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;Image PC Routine Line Source &lt;BR /&gt;fds5_intel_openmp 0909627E Unknown Unknown Unknown&lt;BR /&gt;fds5_intel_openmp 08C1CBBE Unknown Unknown Unknown&lt;BR /&gt;fds5_intel_openmp 08C19232 Unknown Unknown Unknown&lt;BR /&gt;libc.so.6 B7C39450 Unknown Unknown Unknown&lt;BR /&gt;fds5_intel_openmp 08C18FC9 Unknown Unknown Unknown&lt;BR /&gt;&lt;BR /&gt;Application finished&lt;BR /&gt;&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|ID|Short |Severity|Cou|Context[B|Description |1st Acces|2nd Acces|&lt;BR /&gt;| |Description|Name |nt |est] | |s[Best] |s[Best] |&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|1 |Thread |Informat|1 |Whole |Thread termination at |"main.f90|"main.f90|&lt;BR /&gt;| |termination|ion | |Program 1|"main.f90":1 - includes stack |":1 |":1 |&lt;BR /&gt;| | | | | |allocation of 8 MB and use of | | |&lt;BR /&gt;| | | | | |180,715 KB | | |&lt;BR /&gt;__________________________________________________________________________________________&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The problem now is, that in the first run, where no error message occur, the program does nothing, normally a screen output like&lt;/P&gt;
&lt;P&gt;Fire Dynamics Simulator&lt;BR /&gt;&lt;BR /&gt; Compilation Date : Mo, 27 Okt 2008&lt;BR /&gt; Version : 5.2.3 Serial&lt;BR /&gt; SVN Revision No. : 2558&lt;BR /&gt;&lt;BR /&gt; Job TITLE : Mehrgitterversuch2-1Gitter&lt;BR /&gt; Job ID string : 1-Gitter&lt;BR /&gt;&lt;BR /&gt; Time Step: 1, Simulation Time: 0.09 s&lt;BR /&gt; Time Step: 2, Simulation Time: 0.18 s&lt;BR /&gt; Time Step: 3, Simulation Time: 0.27 s&lt;BR /&gt; Time Step: 4, Simulation Time: 0.37 s&lt;BR /&gt; Time Step: 5, Simulation Time: 0.46 s&lt;BR /&gt; Time Step: 6, Simulation Time: 0.55 s&lt;BR /&gt; Time Step: 7, Simulation Time: 0.64 s&lt;BR /&gt; Time Step: 8, Simulation Time: 0.73 s&lt;BR /&gt; Time Step: 9, Simulation Time: 0.82 s&lt;BR /&gt; Time Step: 10, Simulation Time: 0.91 s&lt;BR /&gt; Time Step: 20, Simulation Time: 1.50 s&lt;BR /&gt; Time Step: 22, Simulation Time: 1.57 s&lt;BR /&gt;STOP: FDS completed successfully&lt;/P&gt;
&lt;P&gt;should be printed on screen, checking the output files calculated by the program has no effect, because they are not calculated.&lt;/P&gt;
&lt;P&gt;If I compile the source code without the Thread Checker flags, by using&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt; ifort -c -O0 -axP -ip -static -vec_report0 -openmp&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;no problem occurs and the code is running fine.&lt;/P&gt;
&lt;P&gt;The code has more than 50.000 lines, so is this the problem??? Or is it a Thread Checker Problem, or did I use wrong compiler flags&lt;/P&gt;
&lt;P&gt;It would be great, if anybody could help me. The program is OpenSource, so I can answer more questions or post a link to the source-files if they are needed.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2008 12:58:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905380#M4410</guid>
      <dc:creator>FDSUser</dc:creator>
      <dc:date>2008-11-14T12:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Intel Thread Checker</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905381#M4411</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Build with -tcheck and no other unnecessary options, and no special libraries, like MKL or IPP. Run the executable normally (no tcheck_cl yet). Run tcheck_cl threadchecker.thr. This is the only likely way to work with medium to large applications. tcheck has some serious bugs, (for example, it doesn't work with OpenMP default(none)) and no current maintenance. The priority seems to be on the Windows Parallel Studio. I, for one, would like to see the non-interactive no-gui linux version brought back to life.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2008 15:18:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905381#M4411</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-14T15:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Intel Thread Checker</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905382#M4412</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;Build with -tcheck and no other unnecessary options, and no special libraries, like MKL or IPP. Run the executable normally (no tcheck_cl yet). Run tcheck_cl threadchecker.thr. This is the only likely way to work with medium to large applications. tcheck has some serious bugs, (for example, it doesn't work with OpenMP default(none)) and no current maintenance. The priority seems to be on the Windows Parallel Studio. I, for one, would like to see the non-interactive no-gui linux version brought back to life.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Thanks for your answer, I have tried different possibilities of compiling. The program itself is running successfully (compiled with -g -tcheck) without using the Thread-Checker directly and the threadchecker.thr file is build. If I want to view the threadchecker.thr file, I got the same message as written before:&lt;BR /&gt;&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|ID|Short |Severity|Cou|Context[B|Description |1st Acces|2nd Acces|&lt;BR /&gt;| |Description|Name |nt |est] | |s[Best] |s[Best] |&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|1 |Thread |Informat|1 |Whole |Thread termination at |"main.f90|"main.f90|&lt;BR /&gt;| |termination|ion | |Program 1|"main.f90":1 - includes stack |":1 |":1 |&lt;BR /&gt;| | | | | |allocation of 8 MB and use of | | |&lt;BR /&gt;| | | | | |180,715 KB | | |&lt;BR /&gt;__________________________________________________________________________________________&lt;/P&gt;
&lt;P&gt;I also have used different stack limits, no success. I have also programmed a race condition to see if any changes can be seen, but this has also no success.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2008 23:27:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905382#M4412</guid>
      <dc:creator>FDSUser</dc:creator>
      <dc:date>2008-11-14T23:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Intel Thread Checker</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905383#M4413</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/406568"&gt;FDSUser&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;Thanks for your answer, I have tried different possibilities of compiling. The program itself is running successfully (compiled with -g -tcheck) without using the Thread-Checker directly and the threadchecker.thr file is build. If I want to view the threadchecker.thr file, I got the same message as written before:&lt;BR /&gt;&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|ID|Short |Severity|Cou|Context[B|Description |1st Acces|2nd Acces|&lt;BR /&gt;| |Description|Name |nt |est] | |s[Best] |s[Best] |&lt;BR /&gt;__________________________________________________________________________________________&lt;BR /&gt;|1 |Thread |Informat|1 |Whole |Thread termination at |"main.f90|"main.f90|&lt;BR /&gt;| |termination|ion | |Program 1|"main.f90":1 - includes stack |":1 |":1 |&lt;BR /&gt;| | | | | |allocation of 8 MB and use of | | |&lt;BR /&gt;| | | | | |180,715 KB | | |&lt;BR /&gt;__________________________________________________________________________________________&lt;/P&gt;
&lt;P&gt;I also have used different stack limits, no success. I have also programmed a race condition to see if any changes can be seen, but this has also no success.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;That looks like a normal tcheck result, where no problems are diagnosed. If you get similar results with sufficient variety of test cases, you can say it's clean as far as tcheck is concerned.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Nov 2008 00:23:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-with-Intel-Thread-Checker/m-p/905383#M4413</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-15T00:23:54Z</dc:date>
    </item>
  </channel>
</rss>

