Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

MPI

Jaap_W_
Beginner
729 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
729 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

0 Kudos
Reply