[mpich-discuss] pin the process to a sepcific cpu

chong tan chong_guan_tan at yahoo.com
Fri Mar 5 19:03:16 CST 2010



For AMD :

mpiexec numactl -c N <your first jobs> : numactl -c N2 < your second job> : ....


for INTEL

mpiexec taskset -c N <your first job> : taskset -C N2 < you second job> : .....

hope this help.

However, In later versions of Linux, the scheduler keeps jobs at the CPU they are started with,
unless your SMP box is over subscribed.


tan



________________________________
From: junli gu <gujunli at gmail.com>
To: mpich-discuss at mcs.anl.gov; mpich2-dev at mcs.anl.gov
Sent: Fri, March 5, 2010 3:23:56 PM
Subject: [mpich-discuss] pin the process to a sepcific cpu

Hi all:

  Does anyone  know how to pin the process to a sepcific cpu?  The MPI
processes keep migrating among different cores and give me different
results everytime. I want to pin them.

  Thank you!
-- 
************************************************
Junli Gu--谷俊丽
Coordinate Science Lab
University of Illinois at Urbana-Champaign
************************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100305/7f49674d/attachment.htm>


More information about the mpich-discuss mailing list