Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Wee_Beng_T_
Beginner
49 Views

How to do Basic hotshot profile with intel 2015 + VS 2012 + MPI

Hi,

I just bought the Intel studio 2015 cluster edition windows. I need to do Basic hotshot profile with intel 2015 + VS 2012 + MPI for my cfd code. I am using a workstation with 2 cpu (2x12 cores). Using 1 cpu, I managed to the analysis successfully.

I can run my code in parallel using intel's wmpiexec.exe. I can also run my code thru VS 2012 by:

setting the launch command (Configuration Properties - Debugging - Command) to the full path for mpiexec.smpd.exe (eg C:\Program Files (x86)\MPICH2\bin\mpiexec.exe)

setting the arguments (Configuration Properties - Debugging - Command Arguments) to -n xxx $(TargetPath) where xxx is the no. of cpu

However, I can't get it to work with vtune if I need to use more than 1 core.

It gives the wrong function for top hotspots and my cpu usage is 0.

Any solution?

Thanks!

 

 

 

0 Kudos
2 Replies
Dmitry_P_Intel1
Employee
49 Views

Hello,

Could you please provide VTune command line or GUI project properties parameters on how do you launch VTune collection? Or you invoke it in VS?

Thanks & Regards, Dmitry

Wee_Beng_T_
Beginner
49 Views

Hi,

I tried both - within VS and launching vtune directly.

For 1 cpu:

2015-01-28_102308.jpg

correct results:

2015-01-28_102707.jpg

2 cpu:

2015-01-28_103426.jpg

error result:

2015-01-28_102748.jpg

So how should I start my MPI code so that the correct info is captured and analyzed?

Thanks!