<?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 Thank you, Gergana, I'll try in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084653#M4956</link>
    <description>&lt;P&gt;Thank you, Gergana, I'll try MPS.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2016 16:24:23 GMT</pubDate>
    <dc:creator>Michael_Charissis</dc:creator>
    <dc:date>2016-02-24T16:24:23Z</dc:date>
    <item>
      <title>time statistics provided by Intel Trace Analyzer</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084651#M4954</link>
      <description>&lt;P&gt;I am using the &lt;STRONG&gt;Trace Analyzer &lt;/STRONG&gt;for an &lt;STRONG&gt;MPI &lt;/STRONG&gt;job running on 4 nodes (80 physical cores total, 80 MPI threads).&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;When I run '&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;mpirun -trace ...'&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;the job takes roughly 10 times longer than the same job running without tracing because processes are being suspended when trace routines dump data from memory to disk.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;My goal is to identify the relative share of time spent in most active MPI routines but, In this situation, how much one can trust timing statistics displayed by the Trace Analyzer? Isn't it possible that a process starts an MPI_SEND when the target process is suspended by the tracer, so that the transfer does not start until the tracer in the target process has completed the dump and all this artificial wait time is added by the Trace Analyzer to the time spent in the MPI_SEND call?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thank you for your attention.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 17:44:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084651#M4954</guid>
      <dc:creator>Michael_Charissis</dc:creator>
      <dc:date>2016-02-23T17:44:58Z</dc:date>
    </item>
    <item>
      <title>Hey Michael,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084652#M4955</link>
      <description>&lt;P&gt;Hey Michael,&lt;/P&gt;

&lt;P&gt;If all you're looking for is most active MPI routines and time spent in them, I would recommend using the MPI Performance Snapshot which is much more lightweight.&amp;nbsp; Here's a quick &lt;A href="https://software.intel.com/en-us/articles/getting-started-with-the-mpi-performance-snapshot"&gt;getting started guide&lt;/A&gt;.&amp;nbsp; Just make sure you're using latest versions of our tools.&lt;/P&gt;

&lt;P&gt;Once the info is collected, running with "mps -f &amp;lt;stats_file&amp;gt; &amp;lt;app_stats_file&amp;gt;" will give you all the "hotspot" MPI routines in the code.&lt;/P&gt;

&lt;P&gt;Once you've narrowed down where the problem areas are, I would use the Intel Trace Analyzer and Collector with some &lt;A href="https://software.intel.com/en-us/reducing-tracefile-size-with-itac"&gt;filtering applied&lt;/A&gt; to reduce the amount of data collected and any potential performance impacts.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	~Gergana&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 23:31:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084652#M4955</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2016-02-23T23:31:09Z</dc:date>
    </item>
    <item>
      <title>Thank you, Gergana, I'll try</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084653#M4956</link>
      <description>&lt;P&gt;Thank you, Gergana, I'll try MPS.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 16:24:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084653#M4956</guid>
      <dc:creator>Michael_Charissis</dc:creator>
      <dc:date>2016-02-24T16:24:23Z</dc:date>
    </item>
    <item>
      <title>Hi Gergana,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084654#M4957</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi Gergana,&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I am trying to use MPS but there is a problem. Here is how I run the job:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;source /opt/lic/intel16U2/vtune_amplifier_xe/amplxe-vars.sh
source /opt/lic/intel16U2/itac/9.1.2.024/intel64/bin/mpsvars.sh
source /opt/lic/intel16U2/parallel_studio_xe_2016.2.062/bin/psxevars.sh
source /opt/lic/intel16U2/bin/compilervars.sh intel64
source \
   /opt/lic/intel16U2/compilers_and_libraries_2016.2.181/linux/mpi/intel64/bin/mpivars.sh
mpirun -mps \
  -genv I_MPI_STATS 10 \
  -genv I_MPI_STATS_SCOPE all \
  -genv I_MPI_STATS_FILE mpi_stats_file_2_1.txt \
  -genv I_MPI_PIN 1\
  -genv I_MPI_PIN_PROCS allcores:map=scatter \
  -genv I_MPI_PIN_MODE mpd \
  -genv I_MPI_DEBUG 0 \
  -np 80 \
  --rsh=ssh \
  --file=mpd.hosts \
  /home/ashv/draco_revs/draco_wiindigoo_blizzard_maxMagXBTeffect/draco_cl5_16
&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;When the programs tries to execute MPI_Allgatherv(), I receive multiple error messages as follows:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;Fatal error in PMPI_Allgatherv: Invalid datatype, error stack:
PMPI_Allgatherv(1483): MPI_Allgatherv(sbuf=0x1040d44, scount=0, INVALID DATATYPE, rbuf=0x7fff8e4b2010, rcounts=0x7fff8e5163b0, displs=0x7fff8e5164f0, MPI_DOUBLE_PRECISION, MPI_COMM_WORLD) failed
PMPI_Allgatherv(1393): Invalid datatype
&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;When I run the same job without the -mps parameter, the job runs without errors and produces correct results.&lt;BR /&gt;
	The program is compiled in the exactly same environment as shown above. All compilers and tools are the latest available copies.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thank you for your attention.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 20:03:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084654#M4957</guid>
      <dc:creator>Michael_Charissis</dc:creator>
      <dc:date>2016-02-26T20:03:11Z</dc:date>
    </item>
    <item>
      <title>Hey Michael,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084655#M4958</link>
      <description>&lt;P&gt;Hey Michael,&lt;/P&gt;

&lt;P&gt;It seems like MPS doesn't like the datatype you're passing through your MPI_Allgatherv().&amp;nbsp; Can you tell me what it is?&amp;nbsp; I don't know of a particular problem with datatypes but I'll check with the team.&lt;/P&gt;

&lt;P&gt;How large is this application?&amp;nbsp; Might be good to have a local reproducer so I can run it on one of our machines.&amp;nbsp; Would it be possible for you to send the code over?&amp;nbsp; Or a small sample that exhibits the problem?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	~Gergana&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 23:10:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/time-statistics-provided-by-Intel-Trace-Analyzer/m-p/1084655#M4958</guid>
      <dc:creator />
      <dc:date>2016-02-26T23:10:20Z</dc:date>
    </item>
  </channel>
</rss>

