Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Jaap_W_
Beginner
86 Views

MPI

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
86 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