<?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: ITAC: no trace file in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1209839#M7152</link>
    <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ITAC supports Fortran 2008 standard as mention in the release notes (&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-trace-analyzer-and-collector-release-notes-linux.html" target="_blank" rel="noopener noreferrer"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-trace-analyzer-and-collector-release-notes-linux.html&lt;/A&gt;) but regarding the support for mpi_f08, we will get back to you.&lt;/P&gt;
&lt;P&gt;Also, were you able to generate .stf file while using "use mpi_f08"? or are you getting segmentation fault while using -trace option?&lt;/P&gt;
&lt;P&gt;Can you provide us with any reproducer code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Prasanth&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 12:22:25 GMT</pubDate>
    <dc:creator>PrasanthD_intel</dc:creator>
    <dc:date>2020-09-16T12:22:25Z</dc:date>
    <item>
      <title>ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1209519#M7141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to get ITAC running, but there is no trace / .stf file. I am compiling with the flags&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiifort -g -O0 -fpp -trace -tcollect&lt;/LI-CODE&gt;
&lt;P&gt;and running mpi with&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LD_PRELOAD=libVT.so mpirun -trace -np 8 path-to-exe&lt;/LI-CODE&gt;
&lt;P&gt;The LD_PRELOAD is coming from &lt;A href="https://community.intel.com/t5/Intel-oneAPI-HPC-Toolkit/Unable-to-generate-trace-file-with-mpirun/td-p/1046953" target="_self"&gt;this&lt;/A&gt; post, but does not make any difference.&lt;/P&gt;
&lt;P&gt;I source the itacvars.sh, mpivars.sh and set the VT_CONFIG variable to the usual config file.&lt;/P&gt;
&lt;P&gt;Versions are&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiifort --version 
ifort (IFORT) 19.0.4.243 20190416
Copyright (C) 1985-2019 Intel Corporation.  All rights reserved.

mpirun --version 
Intel(R) MPI Library for Linux* OS, Version 2019 Update 4 Build 20190430 (id: cbdd16069)
Copyright 2003-2019, Intel Corporation.
&lt;/LI-CODE&gt;
&lt;P&gt;The program executes, MPI_INIT and MPI_FINALIZE are called and the program terminates without errors.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Where could I start to debug this situation?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 10:55:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1209519#M7141</guid>
      <dc:creator>AAK</dc:creator>
      <dc:date>2020-09-15T10:55:03Z</dc:date>
    </item>
    <item>
      <title>Betreff: ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1209550#M7144</link>
      <description>&lt;P&gt;Now I have a clue of what is going on:&lt;/P&gt;
&lt;P&gt;ITAC doesn't support the use of mpi_f08 in the code for some reason. When I change to pmpi_f08 ITAC runs normally. But the use of pmpi_f08 is no option since it produces several runtime errors (without error warning even though compiled with debug flags).&lt;/P&gt;
&lt;P&gt;This seems related to &lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/pmpi-f08-doesn-t-support-mpi-f08-interface/td-p/1163865" target="_self"&gt;this topic.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Any suggestions how to get ITAC running together with mpi_f08 ?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 12:37:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1209550#M7144</guid>
      <dc:creator>AAK</dc:creator>
      <dc:date>2020-09-15T12:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1209839#M7152</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ITAC supports Fortran 2008 standard as mention in the release notes (&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-trace-analyzer-and-collector-release-notes-linux.html" target="_blank" rel="noopener noreferrer"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-trace-analyzer-and-collector-release-notes-linux.html&lt;/A&gt;) but regarding the support for mpi_f08, we will get back to you.&lt;/P&gt;
&lt;P&gt;Also, were you able to generate .stf file while using "use mpi_f08"? or are you getting segmentation fault while using -trace option?&lt;/P&gt;
&lt;P&gt;Can you provide us with any reproducer code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Prasanth&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 12:22:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1209839#M7152</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-09-16T12:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1210196#M7161</link>
      <description>&lt;P&gt;A simple test case is the following program&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;program test
use mpi_f08
integer ierr, siz, rank
  call MPI_INIT(ierr)
  call MPI_COMM_SIZE(MPI_COMM_WORLD,siz,ierr)
  call MPI_COMM_RANK(MPI_COMM_WORLD,rank,ierr)
  write(*,*) "hello world"
  call MPI_FINALIZE(ierr)
end program test
&lt;/LI-CODE&gt;
&lt;P&gt;Compiling and running this with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiifort -g -trace -o test test.f90
mpirun -n 2 -trace ./test&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;does not generate a .stf file. It seems that ITAC doesn't do anything. There is no ITAC output to the command line (usually I'd expect something like "[0] Intel(R) Trace Collector INFO: Writing tracefile ... .stf in ...").&lt;/P&gt;
&lt;P&gt;However, when changing mpi_f08 to pmpi_f08 in the file test.f90 above and running the exact same&amp;nbsp; commands, ITAC does what it's supposed to do. There is a .stf file and output on the command line.&lt;/P&gt;
&lt;P&gt;My much more complicated code with several MPI calls terminates badly when using pmpi_f08 instead of mpi_f08. Yet I am not willing to reduce this larger code to a minimal test case, since that would be a lot of work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So to answer the questions:&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Also, were you able to generate .stf file while using "use mpi_f08"?:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;No I wasn't. There is no sign of ITAC even running.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;are you getting segmentation fault while using -trace option?&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;When I compile my larger code (which uses mpi_f08) either normally (without -trace) or with -g -trace and use -trace on the mpirun command there is no segfault, but also no .stf file.&lt;/P&gt;
&lt;P&gt;When I change my larger code to use pmpi_f08 and compile with -g -trace, there is a segfault after some runtime.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 13:12:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1210196#M7161</guid>
      <dc:creator>AAK</dc:creator>
      <dc:date>2020-09-17T13:12:47Z</dc:date>
    </item>
    <item>
      <title>Re:ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1211065#M7167</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Looks like the ITAC is loaded incorrectly.&lt;/P&gt;&lt;P&gt;We have tested with your sample code at our side and launched tranceanalyzer without any errors.&lt;/P&gt;&lt;P&gt;Which version of ITAC were you using?  You can get the version by&lt;/P&gt;&lt;P&gt; &lt;B&gt;which traceanalyzer.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Are you using OneAPI toolkit or Parallel Studio Cluster? &lt;/P&gt;&lt;P&gt;Can you upgrade to the latest version (2021.9) and check?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Sep 2020 07:09:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1211065#M7167</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-09-21T07:09:44Z</dc:date>
    </item>
    <item>
      <title>Betreff: Re:ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1211067#M7168</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Prasanth,&lt;/P&gt;
&lt;P&gt;tranceanalyzer is located at&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/opt.net/intel/parallel_studio_xe_2019_update4_cluster_edition/itac/2019.4.036/intel64/bin/traceanalyzer&lt;/LI-CODE&gt;
&lt;P&gt;Unfortunately I cannot upgrade to the latest version.&lt;/P&gt;
&lt;P&gt;As I already said, when using mpi instead of mpi_f08 ITAC runs perfectly fine. So if there is some issue in the initialization it is non-trivial?!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 07:16:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1211067#M7168</guid>
      <dc:creator>AAK</dc:creator>
      <dc:date>2020-09-21T07:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1212185#M7187</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You were saying that only when you use mpi_f08 no .stf were being generated.&lt;/P&gt;
&lt;P&gt;This looks like an issue.&amp;nbsp;&lt;SPAN&gt;We are transferring this thread to internal team for better support.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Can you please provide your environment details (OS version, cpuinfo) which will be helpful for our team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Prasanth&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:34:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1212185#M7187</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-09-28T11:34:41Z</dc:date>
    </item>
    <item>
      <title>Betreff: Re:ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1212235#M7191</link>
      <description>&lt;P&gt;Hey Prasanth,&lt;/P&gt;
&lt;P&gt;thanks for the reply. Here is the output&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; cpuinfo 
Intel(R) processor family information utility, Version 2019 Update 4 Build 20190430 (id: cbdd16069)
Copyright (C) 2005-2019 Intel Corporation.  All rights reserved.

=====  Processor composition  =====
Processor name    : Intel(R) Core(TM) i7-3770  
Packages(sockets) : 1
Cores             : 4
Processors(CPUs)  : 8
Cores per package : 4
Threads per core  : 2

=====  Processor identification  =====
Processor       Thread Id.      Core Id.        Package Id.
0               0               0               0   
1               0               1               0   
2               0               2               0   
3               0               3               0   
4               1               0               0   
5               1               1               0   
6               1               2               0   
7               1               3               0   
=====  Placement on packages  =====
Package Id.     Core Id.        Processors
0               0,1,2,3         (0,4)(1,5)(2,6)(3,7)

=====  Cache sharing  =====
Cache   Size            Processors
L1      32  KB          (0,4)(1,5)(2,6)(3,7)
L2      256 KB          (0,4)(1,5)(2,6)(3,7)
L3      8   MB          (0,1,2,3,4,5,6,7)

&amp;gt; uname -a
Linux btpcx21 4.12.14-lp151.28.59-default #1 SMP Wed Aug 5 10:58:34 UTC 2020 (337e42e) x86_64 x86_64 x86_64 GNU/Linux
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Do you need any further info?&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 15:17:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1212235#M7191</guid>
      <dc:creator>AAK</dc:creator>
      <dc:date>2020-09-24T15:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1213162#M7195</link>
      <description>&lt;P&gt;This was a known issue which was fixed in 2019 Update 5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You wrote that you cannot upgrade. I assume because you do not have root access? This would not prevent upgrading because you could do a local installation. A non-root installation will be installed by default into $HOME/intel/. Please let me know if you need additional support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-parallel-studio-xe-supported-and-unsupported-product-versions.html" target="_blank" rel="noopener noreferrer"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-parallel-studio-xe-supported-and-unsupported-product-versions.html&lt;/A&gt;&amp;nbsp;for latest supported versions. Which should provide the most fixed bugs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:56:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1213162#M7195</guid>
      <dc:creator>Klaus-Dieter_O_Intel</dc:creator>
      <dc:date>2020-09-28T14:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: ITAC: no trace file</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1215917#M7224</link>
      <description>&lt;P&gt;Hello Klaus-Dieter,&lt;/P&gt;
&lt;P&gt;I tried out the newer versions of the Intel parallel studio cluster edition 2019_update5 and 2020_update2, but the above example still does not produce a trace file.&lt;/P&gt;
&lt;P&gt;When I compile and run the toy program mentioned above with `use mpi_f08` I get&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; /opt.net/intel/parallel_studio_xe_2020_update2_cluster_edition/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpiifort -g -trace -o test test.f90
&amp;gt; /opt.net/intel/parallel_studio_xe_2020_update2_cluster_edition/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpirun -n 2 -trace ./test
 hello world
 hello world
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;on the command line, but no trace files. When I run with `use pmpi_f08` I get the command line output&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; /opt.net/intel/parallel_studio_xe_2020_update2_cluster_edition/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpiifort -g -trace -o test test.f90
&amp;gt; /opt.net/intel/parallel_studio_xe_2020_update2_cluster_edition/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpirun -n 2 -trace ./test
 hello world
 hello world
[0] Intel(R) Trace Collector INFO: Writing tracefile test.itac.stf in ...
[0] Intel(R) Trace Collector INFO: Writing tracefile test.itac.stf in ...&lt;/LI-CODE&gt;
&lt;P&gt;and perfectly readable trace files, but this is still no option since the pmpi_f08 library fails when used in my actual code.&lt;/P&gt;
&lt;P&gt;So it looks like the bugs still exist at least within my individual setup.&lt;/P&gt;
&lt;P&gt;Best regard&lt;BR /&gt;Alexander&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 11:49:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/ITAC-no-trace-file/m-p/1215917#M7224</guid>
      <dc:creator>AAK</dc:creator>
      <dc:date>2020-10-08T11:49:12Z</dc:date>
    </item>
  </channel>
</rss>

