[mpich-discuss] How to use bind-to core

Z.Rahmani za.rahmani at gmail.com
Fri Jan 3 13:49:43 CST 2014


To whom it may concern,

I have an MPI code with 5 ranks and I use a 4-core processor, I want to
process my code on the machine with every probable state of assigning each
process on each core of CPU. I mean , for example , one time all of process
run on 1core, next time each process run on each core of 4-core CPU and so
on.

I used " mpiexec.hydra -ppn 5 -bind-to core:4" to run first process on
first core, 2nd process on 2nd core, 3rd process on 3rd core , ....

It would be appreciated if correct me.

Kind Regards,
Zahra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140103/33e886d5/attachment.html>


More information about the discuss mailing list