<?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:Intel Trace Collector and SLURM in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1256803#M7794</link>
    <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To use ITAC with srun &lt;/P&gt;&lt;P&gt;i) Source all the required components itac,mpi,compilers&lt;/P&gt;&lt;P&gt;ii) Set LD_PRELOAD with the libVT.so path&lt;I&gt;&lt;SPAN class="ql-cursor"&gt;﻿&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;  &lt;I&gt;export LD_PRELOAD=/opt/intel/oneAPI/2021.1.2/itac/2021.1.1/slib/libVT.so&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;  export VT_LOGFILE_FORMAT=stfsingle&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;  export VT_PCTRACE=5&lt;/I&gt;&lt;/P&gt;&lt;P&gt;iii)  Run srun without -trace flag&lt;/P&gt;&lt;P&gt;&lt;I&gt;   srun -n 2  ./a.out&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let us know if you get any errors.&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>Wed, 17 Feb 2021 13:46:03 GMT</pubDate>
    <dc:creator>PrasanthD_intel</dc:creator>
    <dc:date>2021-02-17T13:46:03Z</dc:date>
    <item>
      <title>Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1256577#M7789</link>
      <description>&lt;P&gt;What is the best way to do this&lt;/P&gt;
&lt;DIV&gt;$ mpirun -trace -n 4 ./myApp&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE class="pre codeblock"&gt;with SLURM srun?&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Feb 2021 22:59:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1256577#M7789</guid>
      <dc:creator>Kevin_McGrattan</dc:creator>
      <dc:date>2021-02-16T22:59:37Z</dc:date>
    </item>
    <item>
      <title>Re:Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1256803#M7794</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To use ITAC with srun &lt;/P&gt;&lt;P&gt;i) Source all the required components itac,mpi,compilers&lt;/P&gt;&lt;P&gt;ii) Set LD_PRELOAD with the libVT.so path&lt;I&gt;&lt;SPAN class="ql-cursor"&gt;﻿&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;  &lt;I&gt;export LD_PRELOAD=/opt/intel/oneAPI/2021.1.2/itac/2021.1.1/slib/libVT.so&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;  export VT_LOGFILE_FORMAT=stfsingle&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;  export VT_PCTRACE=5&lt;/I&gt;&lt;/P&gt;&lt;P&gt;iii)  Run srun without -trace flag&lt;/P&gt;&lt;P&gt;&lt;I&gt;   srun -n 2  ./a.out&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let us know if you get any errors.&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>Wed, 17 Feb 2021 13:46:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1256803#M7794</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2021-02-17T13:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1256854#M7795</link>
      <description>&lt;P&gt;These lines seem to have done the trick. Thanks.&lt;/P&gt;
&lt;P&gt;export LD_PRELOAD=/opt/intel/oneapi/itac/latest/slib/libVT.so&lt;BR /&gt;export VT_LOGFILE_FORMAT=stfsingle&lt;BR /&gt;export VT_PCTRACE=5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 16:48:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1256854#M7795</guid>
      <dc:creator>Kevin_McGrattan</dc:creator>
      <dc:date>2021-02-17T16:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1257009#M7797</link>
      <description>&lt;P&gt;One follow-up question---when I export the configuration file at run time, as shown in the previous post, Collector produces the .stf file and Analyzer reads it. However, I cannot get a breakdown of the usage of my subroutines as listed in the .conf file. When I compile with -tcollect, I do see the list of subroutines. So my question is---do I need to recompile the code with -tcollect in order to have my subroutine filters applied? Or can everything be done at run time?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 01:11:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1257009#M7797</guid>
      <dc:creator>Kevin_McGrattan</dc:creator>
      <dc:date>2021-02-18T01:11:46Z</dc:date>
    </item>
    <item>
      <title>Re:Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1258083#M7819</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay in response.&lt;/P&gt;&lt;P&gt;As you said you cannot find all the MPI calls in GUI, have you tried ungrouping MPI calls which you can do by selecting &lt;I&gt;Ungroup MPI&lt;/I&gt; after Right-clicking on &lt;I&gt;Group MPI&lt;/I&gt;.&lt;/P&gt;&lt;P&gt;Coming to enabling automatic function instrumentation by using -tcollect, I will ask the team whether you can do that during runtime.&lt;/P&gt;&lt;P&gt;But there is no need for that as you should see all MPI calls irrespective of that.&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, 22 Feb 2021 09:50:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1258083#M7819</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2021-02-22T09:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1258151#M7820</link>
      <description>&lt;P&gt;I should have been more clear. Without any special tracing or collecting options during compilation, I can use my configuration (.conf) file to trace some or all MPI calls. Somehow, the executable has been instrumented automatically to allow me to break down the MPI calls into groups. However, I want to do this with my own subroutines. That is, I want to trace certain subroutines and functions of the "Application" that I have listed in the .conf file. If I recompile with the -tcollect option, this works---I can trace individual subroutines. However, if I do not recompile with the -tcollect, I cannot. I can always get a breakdown of the MPI calls, but to get a breakdown of my own subroutine calls, I need to recompile.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question---is there an option to use at runtime to allow me to trace my routines that are listed in the .conf file, without having to recompile? It is very convenient for me to just add an option at runtime when I find that there is something not quite right in a given computation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 14:16:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1258151#M7820</guid>
      <dc:creator>Kevin_McGrattan</dc:creator>
      <dc:date>2021-02-22T14:16:12Z</dc:date>
    </item>
    <item>
      <title>Re:Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1258822#M7833</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I believe you have used ITAC APIs in your code for profiling your subroutines and specific parts of the code. Currently, I am not sure whether profiling can be done directly at runtime. So I am forwarding this to the internal team for better support.&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>Wed, 24 Feb 2021 12:34:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1258822#M7833</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2021-02-24T12:34:54Z</dc:date>
    </item>
    <item>
      <title>Re:Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1259233#M7845</link>
      <description>&lt;P&gt;Hi Kevin, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm sorry, but there is no way to instrument user functions at runtime. There used to be this runtime instrumentation many years ago but it introduced too much overhead. The technology  (pin) is available but there was not much development on ITAC in the last 10 years. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But there are probably some other tricks that can help you. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;you may use the ITAC api calls to instrument regions of interest. If you already have your own timing system with calls like begin_timing and end_timing you may put API calls into this to trace these regions.&lt;/LI&gt;&lt;LI&gt;If you are using C++ you can generate a C++ timing class with API calls in the constructor and destructor. Initiating this class in a scope will time it. &lt;/LI&gt;&lt;LI&gt;you may re-link an instrumented executable with libVTnull.a or libVTnull.so. these libraries contain empty stubs to API calls used by the instrumentation. This helps if you do not want to recompile when not using ITAC.  &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;if this sounds interesting I can provide more information. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Heinrich &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Feb 2021 09:53:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1259233#M7845</guid>
      <dc:creator>Heinrich_B_Intel</dc:creator>
      <dc:date>2021-02-25T09:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Intel Trace Collector and SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1259333#M7847</link>
      <description>&lt;P&gt;OK, thanks for the info. Like I said above, doing everything at runtime without having to recompile is merely a convenience. When I recompile with -tcollect, things all work fine.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 14:31:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-Trace-Collector-and-SLURM/m-p/1259333#M7847</guid>
      <dc:creator>Kevin_McGrattan</dc:creator>
      <dc:date>2021-02-25T14:31:25Z</dc:date>
    </item>
  </channel>
</rss>

