<?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: Vtune Injector error in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Vtune-Injector-error/m-p/1635086#M25307</link>
    <description>&lt;P&gt;Just to clarify, this runs correctly when you run it outside of VTune? What if you run the following:&lt;/P&gt;
&lt;P&gt;vtune -collect hotspots -knob sampling-mode=hw&amp;nbsp;-knob enable-stack-collection=true -- mpirun -np 4 ,/exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using Intel MPI, you can try the following command:&lt;/P&gt;
&lt;P&gt;mpirun -np 4 -gtool "vtune -collect hotspots:0-3" ./exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will keep investigating the error. It looks like one of the processes terminates unexpectedly and the instrumentation injector can't properly detach.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 05:49:54 GMT</pubDate>
    <dc:creator>Jennifer_D_Intel</dc:creator>
    <dc:date>2024-10-04T05:49:54Z</dc:date>
    <item>
      <title>Vtune Injector error</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Injector-error/m-p/1634420#M25306</link>
      <description>&lt;P&gt;I have an MPI Fortran program that I want to profile. It runs on small mpif90 programs like matrix addition perfectly but throws the following error when I run the actual program I want to profile. I ran it using the following command, it runs the program till the end and throws the following error before compiling the profile results&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;command:&amp;nbsp;&lt;/STRONG&gt;mpirun -np 4 vtune -collect hotspots -r results ./exe&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&amp;nbsp;&lt;/STRONG&gt;vtune: Error: [Instrumentation Engine]: ParentExecAppWithInjectorControl(injector launcher): Injector (44383) was terminated by a signal: 11&lt;BR /&gt;vtune: Collection failed.&lt;BR /&gt;vtune: Internal Error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively I also tried launching the mpi program directly from vtune which also resulted in the following error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;command:&lt;/STRONG&gt; vtune -collect hotspots mpirun -np 4 ./exe&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&amp;nbsp;&lt;/STRONG&gt;[proxy:0:0@cfdlab5] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:91): dup2 error (Device or resource busy)&lt;BR /&gt;[proxy:0:0@cfdlab5] launch_processes (../../../../../src/pm/i_hydra/proxy/proxy.c:727): error creating process&lt;BR /&gt;[proxy:0:0@cfdlab5] main (../../../../../src/pm/i_hydra/proxy/proxy.c:1060): error launching_processes&lt;BR /&gt;[proxy:0:0@cfdlab5] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:91): dup2 error (Device or resource busy)&lt;BR /&gt;[proxy:0:0@cfdlab5] launch_processes (../../../../../src/pm/i_hydra/proxy/proxy.c:727): error creating process&lt;BR /&gt;[proxy:0:0@cfdlab5] main (../../../../../src/pm/i_hydra/proxy/proxy.c:1060): error launching_processes&lt;BR /&gt;[proxy:0:0@cfdlab5] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:98): dup2 error (Device or resource busy)&lt;BR /&gt;[proxy:0:0@cfdlab5] launch_processes (../../../../../src/pm/i_hydra/proxy/proxy.c:727): error creating process&lt;BR /&gt;[proxy:0:0@cfdlab5] main (../../../../../src/pm/i_hydra/proxy/proxy.c:1060): error launching_processes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 14:48:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Injector-error/m-p/1634420#M25306</guid>
      <dc:creator>Karthick2412</dc:creator>
      <dc:date>2024-10-01T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Vtune Injector error</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Injector-error/m-p/1635086#M25307</link>
      <description>&lt;P&gt;Just to clarify, this runs correctly when you run it outside of VTune? What if you run the following:&lt;/P&gt;
&lt;P&gt;vtune -collect hotspots -knob sampling-mode=hw&amp;nbsp;-knob enable-stack-collection=true -- mpirun -np 4 ,/exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using Intel MPI, you can try the following command:&lt;/P&gt;
&lt;P&gt;mpirun -np 4 -gtool "vtune -collect hotspots:0-3" ./exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will keep investigating the error. It looks like one of the processes terminates unexpectedly and the instrumentation injector can't properly detach.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 05:49:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Injector-error/m-p/1635086#M25307</guid>
      <dc:creator>Jennifer_D_Intel</dc:creator>
      <dc:date>2024-10-04T05:49:54Z</dc:date>
    </item>
  </channel>
</rss>

