<?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 Hello Jinliang, in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114504#M16243</link>
    <description>&lt;P&gt;Hello Jinliang,&lt;/P&gt;

&lt;P&gt;The main problem why you see only mpiexec module profiling from VS is that in the case of mpiexec as a&amp;nbsp;launch process&amp;nbsp;VTune cannot track follow child processes spawned by mpi launcher.&lt;/P&gt;

&lt;P&gt;You can try the following to have the launch from Visual Studio:&lt;/P&gt;

&lt;P&gt;Use advanced hotspot analysis type and in project properties check "Analyze system" knob. In this case you will have system wide collection limited by mpiexec live time. So it should pick up your ranks. One limitation that you will have with this approach is if you use OpenMP - you will not have OpenMP analysis section that is based on instrumentation that will not be switched on.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards, Dmitry&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2016 13:43:17 GMT</pubDate>
    <dc:creator>Dmitry_P_Intel1</dc:creator>
    <dc:date>2016-02-04T13:43:17Z</dc:date>
    <item>
      <title>Hot spot analysis of MPI applications</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114494#M16233</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;

&lt;P&gt;I am using Intel's VTune Amplifier XE 2016 integrated in Visual Studio 2015 to do hotspot analysis. Can anybody tell me how to analyse an MPI application?&lt;/P&gt;

&lt;P&gt;What I did is as follows.&lt;/P&gt;

&lt;P&gt;In the "Application" &amp;nbsp;field of the Amplifier Project Properties, add "C:\Program Files (x86)\IntelSWTools\mpi\5.1.2.146\intel64\bin\mpiexec.exe"&lt;/P&gt;

&lt;P&gt;in the "Application parameters" field&lt;SPAN style="font-size: 16.26px; line-height: 16.26px;"&gt;&amp;nbsp;of the Amplifier Project Properties&lt;/SPAN&gt;, add "-n 4 C:\Users\wang.j\VS2015\C30\C30\x64\Release\C30.exe"&lt;/P&gt;

&lt;P&gt;However, on launching the analysis it almost instantly aborts, so quick that I cannot see ant error message.&lt;/P&gt;

&lt;P&gt;There is no problem for serial code analysis. When the "Application" field is filled with "&lt;SPAN style="font-size: 16.26px; line-height: 16.26px;"&gt;C:\Users\wang.j\VS2015\C30\C30\x64\Release\C30.exe&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.26px; line-height: 16.26px;"&gt;" and the "Application parameters" field empty, the analysis runs without problems.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;can anyone help, please?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 15:56:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114494#M16233</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-02-02T15:56:53Z</dc:date>
    </item>
    <item>
      <title>Just to update. </title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114495#M16234</link>
      <description>&lt;P&gt;Just to update.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;By setting up a completely new project, I can now run Hotspot analysis of an MPI application (4 threads). However, the Top Hotspots section shows the top function "func@0x1400528a0", which is not one of my functions in my Fortran code. What I really need is to find the hotspot in my code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 17:41:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114495#M16234</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-02-02T17:41:28Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114496#M16235</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Could you please go to bottom up pane and see the full list there - do you see your functions there?&lt;/P&gt;

&lt;P&gt;Also there you can see "Module" column - could you please recognize the modules of the functions like "func@0x1400528a0"?&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards, Dmitry&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 18:27:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114496#M16235</guid>
      <dc:creator>Dmitry_P_Intel1</dc:creator>
      <dc:date>2016-02-02T18:27:56Z</dc:date>
    </item>
    <item>
      <title>You can also use the</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114497#M16236</link>
      <description>&lt;P&gt;You can also use the "Grouping" to change the order to "Module \ Function \ Call stack" and then just look at the functions in your code:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Module-Functions.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8460iCD195121A9206971/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Module-Functions.png" alt="Module-Functions.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Or, use the Module list at the bottom to filter out all other modules:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="module-filter.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8461iDD1686DB38592F03/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="module-filter.png" alt="module-filter.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 18:49:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114497#M16236</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2016-02-02T18:49:08Z</dc:date>
    </item>
    <item>
      <title>Did you use compiler's option</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114498#M16237</link>
      <description>&lt;P&gt;Did you use compiler's option "/Zi" and generated PDB file? PDB file was stored in same directory of EXE/DLL? If not, you have to re-resolve result with setting search-dir.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 02:49:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114498#M16237</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2016-02-03T02:49:43Z</dc:date>
    </item>
    <item>
      <title>Hi Dmitry, MrAnderson, and</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114499#M16238</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;Dmitry,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 16.26px; line-height: 16.26px;"&gt;MrAnderson, and Peter,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 16.26px; line-height: 16.26px;"&gt;Thank you all very much for the kind suggestions. With exactly the same project, the hotspot analysis is OK (i.e. I can see the hotspot functions in my code) when no MPI is used (&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;When the "Application" field in Amplifier Project Properties is filled with "C:\Users\wang.j\VS2015\C30\C30\x64\Release\C30.exe" and the "Application parameters" field is empty). However, the module c30.exe (and any of its functions) is NOT shown in hotspot analysis results when MPI is used (When&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 1.5;"&gt;&amp;nbsp;the "Application" &amp;nbsp;field of the Amplifier Project Properties is filled with "C:\Program Files (x86)\IntelSWTools\mpi\5.1.2.146\intel64\bin\mpiexec.exe", and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 1.5;"&gt;the "Application parameters" field is filled with "-n 4 C:\Users\wang.j\VS2015\C30\C30\x64\Release\C30.exe"). The Bottom-up pane looks like&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://community.intel.com/legacyfs/online/drupal_files/491888"&gt;491888&lt;/A&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 16.26px; line-height: 16.26px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 10:10:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114499#M16238</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-02-03T10:10:39Z</dc:date>
    </item>
    <item>
      <title>Hi jinliang:</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114500#M16239</link>
      <description>&lt;P&gt;Hi jinliang:&lt;/P&gt;

&lt;P&gt;I'm sorry, I was only replying to the question you asked in your second post. &amp;nbsp;Now that I review your original post, I see that you have things backwards. &amp;nbsp;That is, you need to have MPI launch VTune Amplifier. &amp;nbsp;What you are getting now is a profile of mpiexec because that is what you told VTune Amplifier to launch. &amp;nbsp;Please see &lt;A href="https://software.intel.com/en-us/node/544123"&gt;the documentation&lt;/A&gt;, which clear describes how to profile MPI applications.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 17:00:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114500#M16239</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2016-02-03T17:00:42Z</dc:date>
    </item>
    <item>
      <title>Hi MrAnderson,</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114501#M16240</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 16.26px; line-height: 16.26px;"&gt;MrAnderson,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 16.26px; line-height: 16.26px;"&gt;Thanks for the insight. However, I cannot find how to &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;MPI launch VTune Amplifier in Visual Studio. The document is about launching MPI VTune Amplifier in Linux (or DOS prompt?).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;Jinliang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 18:01:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114501#M16240</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-02-03T18:01:21Z</dc:date>
    </item>
    <item>
      <title>@Jinliang</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114502#M16241</link>
      <description>&lt;P&gt;@Jinliang&lt;/P&gt;

&lt;P&gt;I have a &lt;A href="https://software.intel.com/en-us/blogs/2015/05/26/how-to-profile-mpi-processes-on-all-nodes"&gt;blog&lt;/A&gt; about using VTune with MPI application on Linux*. You might use same command line (in cmd) on Windows*. You may see my latest *note* about using new syntax (old command still can be used for now - I mean "-gtool" option).&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 02:35:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114502#M16241</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2016-02-04T02:35:43Z</dc:date>
    </item>
    <item>
      <title>Hi Peter,</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114503#M16242</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;

&lt;P&gt;Thank you very much for the advice! So there is no way of launching a hotspot analysis of my code in an MPI application in Visual Studio, right?&lt;/P&gt;

&lt;P&gt;Jinliang&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 11:26:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114503#M16242</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-02-04T11:26:02Z</dc:date>
    </item>
    <item>
      <title>Hello Jinliang,</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114504#M16243</link>
      <description>&lt;P&gt;Hello Jinliang,&lt;/P&gt;

&lt;P&gt;The main problem why you see only mpiexec module profiling from VS is that in the case of mpiexec as a&amp;nbsp;launch process&amp;nbsp;VTune cannot track follow child processes spawned by mpi launcher.&lt;/P&gt;

&lt;P&gt;You can try the following to have the launch from Visual Studio:&lt;/P&gt;

&lt;P&gt;Use advanced hotspot analysis type and in project properties check "Analyze system" knob. In this case you will have system wide collection limited by mpiexec live time. So it should pick up your ranks. One limitation that you will have with this approach is if you use OpenMP - you will not have OpenMP analysis section that is based on instrumentation that will not be switched on.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards, Dmitry&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 13:43:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114504#M16243</guid>
      <dc:creator>Dmitry_P_Intel1</dc:creator>
      <dc:date>2016-02-04T13:43:17Z</dc:date>
    </item>
    <item>
      <title>Hi Dmitry,</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114505#M16244</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;Dmitry,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;Thank you very much for the advice. However, the only "Analysis system" knob I can found is in the "Analysis Target" page of Amplifier Project Properties. It is actually called "Analyze system-wide". However, when I checked it, there comes an error message "This analysis type does not support system-wide profiling. Please specify an application to launch or process to attach to".&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;Jinliang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 14:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114505#M16244</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-02-04T14:15:21Z</dc:date>
    </item>
    <item>
      <title>Hello Jinliang,</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114506#M16245</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Hello Jinliang,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Please switch Analysis type to "&lt;STRONG&gt;Advanced Hotspots&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Regards, Katya&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 14:21:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114506#M16245</guid>
      <dc:creator>Ekaterina_L_Intel</dc:creator>
      <dc:date>2016-02-04T14:21:36Z</dc:date>
    </item>
    <item>
      <title>Hi Dmitry and Katya,</title>
      <link>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114507#M16246</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;Hi&amp;nbsp;Dmitry and&amp;nbsp;Katya,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thank you very much for the advice and patience! It works now!&lt;/P&gt;

&lt;P&gt;With best wishes,&lt;/P&gt;

&lt;P&gt;Jinliang&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 15:07:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Hot-spot-analysis-of-MPI-applications/m-p/1114507#M16246</guid>
      <dc:creator>jinliang_w_</dc:creator>
      <dc:date>2016-02-04T15:07:18Z</dc:date>
    </item>
  </channel>
</rss>

