<?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 MPI debugging and profiling tools? in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-debugging-and-profiling-tools/m-p/791066#M579</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I'm just getting started debugging and profiling MPI fortran code using the latest Intel Cluster Studio. For development, I largely use VS2010 and run under Windows on a single node (w/ 8 cpus) (production runs are on a linux cluster). &lt;BR /&gt;&lt;BR /&gt;For basic debugging, I start an MPI run as usual, then just attach the debugger to all the processes via VS. Seems to work fine (at least at the basic level I'm running).&lt;BR /&gt;&lt;BR /&gt;I've used the Intel Trace Collector/Analyzer, after compiling with /Qtcollect and running itcpin via mpiexec, such as: mpiexec -n 4 itcpin --insert VT --run -- myprogram.exe arguments This also seems to work as expected.&lt;BR /&gt;&lt;BR /&gt;My only question, is this pretty much it?, or are there other Intel MPI tools that are useful that I'm not aware of?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;BR /&gt;-joe</description>
    <pubDate>Wed, 16 Nov 2011 17:08:04 GMT</pubDate>
    <dc:creator>j0e</dc:creator>
    <dc:date>2011-11-16T17:08:04Z</dc:date>
    <item>
      <title>Intel MPI debugging and profiling tools?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-debugging-and-profiling-tools/m-p/791066#M579</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I'm just getting started debugging and profiling MPI fortran code using the latest Intel Cluster Studio. For development, I largely use VS2010 and run under Windows on a single node (w/ 8 cpus) (production runs are on a linux cluster). &lt;BR /&gt;&lt;BR /&gt;For basic debugging, I start an MPI run as usual, then just attach the debugger to all the processes via VS. Seems to work fine (at least at the basic level I'm running).&lt;BR /&gt;&lt;BR /&gt;I've used the Intel Trace Collector/Analyzer, after compiling with /Qtcollect and running itcpin via mpiexec, such as: mpiexec -n 4 itcpin --insert VT --run -- myprogram.exe arguments This also seems to work as expected.&lt;BR /&gt;&lt;BR /&gt;My only question, is this pretty much it?, or are there other Intel MPI tools that are useful that I'm not aware of?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;BR /&gt;-joe</description>
      <pubDate>Wed, 16 Nov 2011 17:08:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-debugging-and-profiling-tools/m-p/791066#M579</guid>
      <dc:creator>j0e</dc:creator>
      <dc:date>2011-11-16T17:08:04Z</dc:date>
    </item>
    <item>
      <title>Intel MPI debugging and profiling tools?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-debugging-and-profiling-tools/m-p/791067#M580</link>
      <description>Hi Joe,&lt;BR /&gt;&lt;BR /&gt;I hope that you know about Message Checker. You just need to use 'VTmc' library instead of 'VT' for '--insert' opiton.&lt;BR /&gt;&lt;BR /&gt;Also you can get Light-weght statistics be setting I_MPI_STATS=N (where N from 0 to 10) - you'll get text files with statistical information.&lt;BR /&gt;Debug information from the MPI library may be helpful sometimes - you just need to set I_MPI_DEBUG environment variable.&lt;BR /&gt;&lt;BR /&gt;If you have Cluster Studio XE you can benefit from using of VTune Amplifier XE and Inspector XE applications.&lt;BR /&gt;&lt;BR /&gt;BTW: if you compile your program with /Qtcollect you should not use itcpin - VT library has already been linked to the program. Just try to run 'mpiexec -n 4myprogram.exe'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt; Dmitry&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Nov 2011 10:13:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-debugging-and-profiling-tools/m-p/791067#M580</guid>
      <dc:creator>Dmitry_K_Intel2</dc:creator>
      <dc:date>2011-11-17T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Intel MPI debugging and profiling tools?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-debugging-and-profiling-tools/m-p/791068#M581</link>
      <description>Thanks Dmitry I'll give those suggestions a try. However, when I just use 'mpiexec -n 4myprogram.exe', the trace file myprogram.stf does not get created. I've run the program form the 'Intel Cluster Studio 2012 for Windows Build Environment', but that doesn't help. I've noticed the following:&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;If I don't compile with /Qtcollect, I get trace files when using itcpin, as expected&lt;/LI&gt;&lt;LI&gt;If I compile with /Qtcollect, but do not specify the VT.lib, I get link errors, so VT.lib is being linked to, but it does not produce trace file (at least not in the directory I would expect it to) if I do not run it with itcpin.&lt;/LI&gt;&lt;LI&gt;If I run itcpin with VTmc, I get the following errors at run time:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;[bash][0] WARNING: EXCEPTION_ACCESS_VIOLATION occurred
[1] ERROR: Signal 3 caught in ITC code section.
[1] ERROR: Either ITC is faulty or (more likely in a release version)
[1] ERROR: the application has corrupted ITC's internal data structures.
[1] ERROR: Giving up now...
[0] ERROR: Signal 3 caught in ITC code section.
[0] ERROR: Either ITC is faulty or (more likely in a release version)
[0] ERROR: the application has corrupted ITC's internal data structures.
[0] ERROR: Giving up now...[/bash]&lt;/PRE&gt; &lt;BR /&gt;I seem to recall reading something about compiling/running MPI code if using static vs dynamic libraries, but I don't know if this has anything to do with that. &lt;BR /&gt;&lt;BR /&gt;Also, I see reference to Intel Message Checker, and it sounds like there is a GUI for it, but I have not been able to find the software that reads the stf file for message checking.&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;-joe</description>
      <pubDate>Thu, 17 Nov 2011 13:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-debugging-and-profiling-tools/m-p/791068#M581</guid>
      <dc:creator>j0e</dc:creator>
      <dc:date>2011-11-17T13:38:31Z</dc:date>
    </item>
  </channel>
</rss>

