<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">For AMD :<br><br>mpiexec numactl -c N <your first jobs> : numactl -c N2 < your second job> : ....<br><br><br>for INTEL<br><br>mpiexec taskset -c N <your first job> : taskset -C N2 < you second job> : .....<br><br>hope this help.<br><br>However, In later versions of Linux, the scheduler keeps jobs at the CPU they are started with,<br>unless your SMP box is over subscribed.<br><br><br>tan<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> junli gu <gujunli@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> mpich-discuss@mcs.anl.gov;
mpich2-dev@mcs.anl.gov<br><b><span style="font-weight: bold;">Sent:</span></b> Fri, March 5, 2010 3:23:56 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [mpich-discuss] pin the process to a sepcific cpu<br></font><br>
Hi all:<br><br clear="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.<br><br> Thank you!<br>-- <br>************************************************<br>Junli Gu--谷俊丽<br>Coordinate Science Lab<br>University of Illinois at Urbana-Champaign<br>************************************************<br>
</div></div>
</div><br>
</body></html>