<?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 Hi Victor,  in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986212#M27171</link>
    <description>&lt;P&gt;Hi Victor,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have filed a feature request for Intel VTune Amplifier XE:&amp;nbsp;6000025555&lt;/P&gt;
&lt;P&gt;On further investigation, I found that ITAC can be used to trace any source code. Here are the basic steps to use ITAC to view the call stack:&lt;/P&gt;
&lt;P&gt;- Install ITAC on the machine. ITAC is not available as a stand-alone package and is available as a part of the Intel Cluster Studio XE.&amp;nbsp;&lt;BR /&gt;- Source itacvars.sh from the &amp;lt;install_dir&amp;gt;/itac/&amp;lt;version&amp;gt;/bin/ directory; this will set your environment&lt;BR /&gt;- Recompile your application using the –tcollect and –mmic switches: this will compile for the coprocessor in native mode and will link in the trace collector libraries&lt;BR /&gt;- Make sure the trace collector libs are available on the card&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; o Mainly, the files under &amp;lt;install_dir&amp;gt;/itac/&amp;lt;version&amp;gt;/mic/slib/* should be copied to the card, under /lib64&lt;BR /&gt;- Now, run your application on the card. The trace collector will create a few files with the name &amp;lt;exe_name&amp;gt;.stf*&lt;BR /&gt;- Now, those files will be created in the same location where you ran your executable; go ahead and transfer them over to the host&lt;BR /&gt;- You can view those *.stf* files using the GUI, by typing “traceanalyzer &amp;lt;exe_name&amp;gt;.stf”; this will try to open an x-application so make sure your display is set correctly&lt;BR /&gt;- Once the GUI is open, on the front page, you’ll see a blue area called “Application”; just right-click and select “Ungroup Application” and that will show you your routines.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2013 23:59:12 GMT</pubDate>
    <dc:creator>Sumedh_N_Intel</dc:creator>
    <dc:date>2013-08-29T23:59:12Z</dc:date>
    <item>
      <title>Getting call stack info in VTune when profiling native application on MIC</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986209#M27168</link>
      <description>&lt;P&gt;I apologize if this was answered somewhere else, but I couldn't find any answer in VTune tutorials on on this forum ...&lt;/P&gt;
&lt;P&gt;I'm trying to profile native application running on Phi using VTune Amplifier. I'm following the suggestions in &lt;A href="http://software.intel.com/en-us/articles/hands-on-lab-optimizing-monte-carlo-on-intelr-xeon-phitm-coprocessor"&gt;Hands-on Lab: Optimizing Monte Carlo on Intel Phi&lt;/A&gt;. I've compiled my application with flags "-g -shared-intel -shared-libgcc -debug inline-debug-info". In VTune project properties I've specified Application=ssh and Application Parameters=&amp;lt;name of the script on mic0 to execute&amp;gt;&lt;/P&gt;
&lt;P&gt;Application runs fine, and VTune collects data, but in Bottom-up view I can't get the call stack information for my application (see attached screenshot). I'm using the latest VTune Amplifier XE2013 and Intel compiler v 13.1.3.&lt;/P&gt;
&lt;P&gt;Any suggestions for getting Call Stack information in VTune or any other techniques I should use for profiling application on Phi?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 20:44:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986209#M27168</guid>
      <dc:creator>Victor_L_2</dc:creator>
      <dc:date>2013-08-28T20:44:57Z</dc:date>
    </item>
    <item>
      <title>Last I checked (as of Intel</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986210#M27169</link>
      <description>&lt;P&gt;Last I checked (as of Intel VTune Amplifier XE 2013 Update 11), collecting call stack information on the coprocessor using Intel VTune Amplifier XE is not supported. I could submit a feature request for this to the developers on your behalf, if you would like that. However, with that said, I cannot make any promises as to if and when this feature will be implemented.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 22:02:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986210#M27169</guid>
      <dc:creator>Sumedh_N_Intel</dc:creator>
      <dc:date>2013-08-28T22:02:49Z</dc:date>
    </item>
    <item>
      <title>Having call stack information</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986211#M27170</link>
      <description>&lt;P&gt;Having call stack information available will be extremely helpful when profiling complex applications. Please submit this feature request. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 22:17:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986211#M27170</guid>
      <dc:creator>Victor_L_2</dc:creator>
      <dc:date>2013-08-28T22:17:05Z</dc:date>
    </item>
    <item>
      <title>Hi Victor, </title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986212#M27171</link>
      <description>&lt;P&gt;Hi Victor,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have filed a feature request for Intel VTune Amplifier XE:&amp;nbsp;6000025555&lt;/P&gt;
&lt;P&gt;On further investigation, I found that ITAC can be used to trace any source code. Here are the basic steps to use ITAC to view the call stack:&lt;/P&gt;
&lt;P&gt;- Install ITAC on the machine. ITAC is not available as a stand-alone package and is available as a part of the Intel Cluster Studio XE.&amp;nbsp;&lt;BR /&gt;- Source itacvars.sh from the &amp;lt;install_dir&amp;gt;/itac/&amp;lt;version&amp;gt;/bin/ directory; this will set your environment&lt;BR /&gt;- Recompile your application using the –tcollect and –mmic switches: this will compile for the coprocessor in native mode and will link in the trace collector libraries&lt;BR /&gt;- Make sure the trace collector libs are available on the card&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; o Mainly, the files under &amp;lt;install_dir&amp;gt;/itac/&amp;lt;version&amp;gt;/mic/slib/* should be copied to the card, under /lib64&lt;BR /&gt;- Now, run your application on the card. The trace collector will create a few files with the name &amp;lt;exe_name&amp;gt;.stf*&lt;BR /&gt;- Now, those files will be created in the same location where you ran your executable; go ahead and transfer them over to the host&lt;BR /&gt;- You can view those *.stf* files using the GUI, by typing “traceanalyzer &amp;lt;exe_name&amp;gt;.stf”; this will try to open an x-application so make sure your display is set correctly&lt;BR /&gt;- Once the GUI is open, on the front page, you’ll see a blue area called “Application”; just right-click and select “Ungroup Application” and that will show you your routines.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 23:59:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986212#M27171</guid>
      <dc:creator>Sumedh_N_Intel</dc:creator>
      <dc:date>2013-08-29T23:59:12Z</dc:date>
    </item>
    <item>
      <title>Thanks! Can I get ITAC if I</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986213#M27172</link>
      <description>&lt;P&gt;Thanks! Can I get ITAC if I have Intel CPP Studio XE license ?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2013 00:49:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986213#M27172</guid>
      <dc:creator>Victor_L_2</dc:creator>
      <dc:date>2013-08-30T00:49:14Z</dc:date>
    </item>
    <item>
      <title>Unfortunately, ITAC is</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986214#M27173</link>
      <description>&lt;P&gt;ITAC is provided with the Intel Cluster Studio XE 2013&amp;nbsp;(the latest version available here if you want to get it):&amp;nbsp;&amp;nbsp; &lt;A href="http://software.intel.com/en-us/intel-cluster-studio-xe/"&gt;http://software.intel.com/en-us/intel-cluster-studio-xe/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This document should help you visualize how Intel packages the various products:&amp;nbsp; &lt;A href="http://software.intel.com/en-us/articles/intel-tools-reference-guides-user-guides-bkms-getting-support"&gt;http://software.intel.com/en-us/articles/intel-tools-reference-guides-user-guides-bkms-getting-support&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As you will be able to see, &amp;nbsp;Intel Parallel Sudio XE license does not cover the ITAC installation.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2013 21:55:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986214#M27173</guid>
      <dc:creator>Sumedh_N_Intel</dc:creator>
      <dc:date>2013-08-30T21:55:00Z</dc:date>
    </item>
    <item>
      <title>I was able to get and install</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986215#M27174</link>
      <description>&lt;P&gt;I was able to get and install ITAC on my host. But now I'm running into linker errors (command "icpc .....-mmic -pthread -tcollect):&lt;BR /&gt; x86_64-k1om-linux-ld: skipping incompatible /opt/intel/itac/8.1.2.033/intel64/itac/lib_impi4/libVT.a when searching for -lVT&lt;BR /&gt; x86_64-k1om-linux-ld: cannot find -lVT&lt;BR /&gt; x86_64-k1om-linux-ld: skipping incompatible /opt/intel/itac/8.1.2.033/intel64/itac/lib_impi4/libdwarf.a when searching for -ldwarf&lt;BR /&gt; x86_64-k1om-linux-ld: cannot find -ldwarf&lt;BR /&gt; x86_64-k1om-linux-ld: skipping incompatible /opt/intel/itac/8.1.2.033/intel64/itac/lib_impi4/libelf.a when searching for -lelf&lt;BR /&gt; x86_64-k1om-linux-ld: skipping incompatible /opt/intel/itac/8.1.2.033/intel64/itac/lib_impi4/libvtunwind.a when searching for -lvtunwind&lt;BR /&gt; x86_64-k1om-linux-ld: cannot find -lvtunwind&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2013 20:19:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986215#M27174</guid>
      <dc:creator>Victor_L_2</dc:creator>
      <dc:date>2013-09-03T20:19:04Z</dc:date>
    </item>
    <item>
      <title>P.S. to my earlier comment...</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986216#M27175</link>
      <description>&lt;P&gt;P.S. to my earlier comment....&lt;/P&gt;
&lt;P&gt;Since there is no file "&amp;lt;install_dir&amp;gt;/itac/&amp;lt;version&amp;gt;/bin/itacvars.sh" on my host as per instructions above, I've run command "source &amp;lt;install_dir&amp;gt;/itac/&amp;lt;version&amp;gt;/&lt;STRONG&gt;intel64/&lt;/STRONG&gt;bin/itacvars.sh" instead.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2013 20:24:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986216#M27175</guid>
      <dc:creator>Victor_L_2</dc:creator>
      <dc:date>2013-09-03T20:24:37Z</dc:date>
    </item>
    <item>
      <title>Hi Victor, </title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986217#M27176</link>
      <description>&lt;P&gt;Hi Victor,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry for this delated response. To compile the application correctly, use the following compile line:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[bash]mpiicpc -tcollect=VTcs -mmic hello.cpp [/bash]&lt;/P&gt;
&lt;P&gt;The above command line uses VTcs instead of the default VT. This is the library designed to work with non-MPI programs. You will also need to manually initialize and finalize the collection, which normally happens in MPI_Init and MPI_Finalize. To do this, you need to add a call to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To Initialize call:&lt;/P&gt;
&lt;P&gt;[bash]int VT_initialize (int * argc, char *** argv)[/bash]&lt;/P&gt;
&lt;P&gt;To Finalize call:&lt;/P&gt;
&lt;P&gt;[bash] int VT_finalize(void)[/bash]&lt;/P&gt;
&lt;P&gt;For the most complete collection, I recommend putting these at the very beginning and very end of the program. You will need to include VT.h, wherever you use these calls.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lastly, you will need to source the mic version of the tools. Hence, you will need to source &amp;lt;install_dir&amp;gt;/itac/&amp;lt;version&amp;gt;/mic/itacvars.sh&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any more questions.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2013 22:01:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986217#M27176</guid>
      <dc:creator>Sumedh_N_Intel</dc:creator>
      <dc:date>2013-09-06T22:01:10Z</dc:date>
    </item>
    <item>
      <title>Sumedh,</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986218#M27177</link>
      <description>&lt;P&gt;Sumedh,&lt;/P&gt;
&lt;P&gt;Thank you for instructions. I was able to compile my program without errors. I got it running on Phi (albeit it was running extremely slow). But in the middle of run the program terminated unexpectedly with the following messages:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SUB&gt;[0] Intel(R) Trace Collector INFO: 46.06MB trace data in RAM + 454.00MB trace data flushed = 500.06MB total&lt;/SUB&gt;&lt;BR /&gt;&lt;SUB&gt;[0] Intel(R) Trace Collector INFO: 26.88MB trace data in RAM + 973.25MB trace data flushed = 1000.12MB total&lt;/SUB&gt;&lt;BR /&gt;&lt;SUB&gt;[0] Intel(R) Trace Collector INFO: 8.06MB trace data in RAM + 1492.12MB trace data flushed = 1500.19MB total&lt;/SUB&gt;&lt;BR /&gt;&lt;SUB&gt;[0] Intel(R) Trace Collector INFO: 54.25MB trace data in RAM + 1946.00MB trace data flushed = 2000.25MB total&lt;/SUB&gt;&lt;BR /&gt;&lt;SUB&gt;Killed&lt;/SUB&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And it didn't produce any *.stf files. My executable runs fine when it's compiled without Trace Analyzer.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 18:46:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986218#M27177</guid>
      <dc:creator>Victor_L_2</dc:creator>
      <dc:date>2013-09-09T18:46:48Z</dc:date>
    </item>
    <item>
      <title>Hi Victor, </title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986219#M27178</link>
      <description>&lt;P&gt;Hi Victor,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the trace file being written to a shared filesystem or the coprocessor's filesystem? It is possible that the available space is being filled up. The flushed data is by default written to /tmp, which is normally not a shared filesystem. You can change this by setting VT_FLUSH_PREFIX to point to a shared filesystem.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 15:06:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986219#M27178</guid>
      <dc:creator>Sumedh_N_Intel</dc:creator>
      <dc:date>2013-09-12T15:06:17Z</dc:date>
    </item>
    <item>
      <title>Hi Sumedh,</title>
      <link>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986220#M27179</link>
      <description>&lt;P&gt;Hi Sumedh,&lt;/P&gt;
&lt;P&gt;No files appeared on Phi local filesystem under /tmp or under /root. It is possible that Phi run out of memory. My program uses almost whole available RAM when it runs. How large *.stf files should I expect?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 15:11:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Getting-call-stack-info-in-VTune-when-profiling-native/m-p/986220#M27179</guid>
      <dc:creator>Victor_L_2</dc:creator>
      <dc:date>2013-09-12T15:11:16Z</dc:date>
    </item>
  </channel>
</rss>

