Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ArthurRatz
Black Belt
120 Views

How to set each process priority and affinity values when running an MPI program using mpiexec utility ?

Please anyone tell me how to set each process priority and affinity values when running an MPI program using mpiexec utility ?

Thanks. Waiting for your reply.

Cheers, Arthur.

0 Kudos
5 Replies
TimP
Black Belt
120 Views

If you're using intel mpi, affinity is covered in the getting started guide. For the most usual cases, it's automatic.  If you need to deal with priorities (unlikely), it seems beyond the scope of this forum.

 

 

 

ArthurRatz
Black Belt
120 Views

Thanks for reply.

Kittur_G_Intel
Employee
120 Views

Hi Arthur,
You should be able to do so with the _MPI_PIN_PROCESSOR_LIST environment setting (refer to: https://software.intel.com/en-us/node/528898).

Also, its' best for you to post your questions in the Intel Clusters and HPC Technology forum where you'll get those issues resolved by support folks specialized in MPI. So, I'll transfer your issue to that forum and someone will respond to you accordingly and I'll let them know as well.

_Kittur

 

Gergana_S_Intel
Employee
120 Views

Hey Arthur,

Tim is correct, I would generally keep the defaults unless you're doing something very specific.  The Intel MPI Library does a good job of handling MPI rank placement and affinity out of the box.  If you're wondering which processes are pinned to which cores, you can set I_MPI_DEBUG=5 and that'll print a pinning table.

Hope this helps.  Let me know if you have other questions.

Regards,
~Gergana

ArthurRatz
Black Belt
120 Views

Thanks for your replies.

Reply