Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

MPI

Jaap_W_
Beginner
149 Views

Hi,

I am trying to run:

mpirun -np 2 inspxe-cl --result-dir insp_results -collect mi1 -- myApp

but i get the following error:

Fatal error: Cannot start collection because the Intel Inspector XE 2013 failed to create a result directory. Unknown error

This message comes only once, if I start 3 jobs 2 times, 4 jobs 3 times, etc.

inspector create only one directory insp_results, so without numbers.

What is going wrong?

best regards,

Jaap

0 Kudos
1 Reply
Mark_D_Intel
Employee
149 Views

Are you using Intel MPI?  Which version?

 

Inspector uses an environment variable set by Intel MPI to determine the rank, and append the rank to the result directory name.  It appears this is not happening in your case (should get result directories insp_results.0 and insp_results.1)
 

 

One workaround (that will work with any MPI) is to run Inspector only on one process, and run the plain executable on the other processes.

The command would look something like

mpirun -np 1 myApp : -np 1 inspxe-cl --result-dir insp_results -collect mi1 -- myApp

Reply