<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 &lt;your first jobs&gt; : numactl -c N2 &lt; your second job&gt; : ....<br><br><br>for INTEL<br><br>mpiexec taskset -c N &lt;your first job&gt; : taskset -C N2 &lt; you second job&gt; : .....<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 &lt;gujunli@gmail.com&gt;<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">&nbsp; Does anyone&nbsp; know how to pin the process to a sepcific cpu?&nbsp; The MPI
processes keep migrating among different cores and give me different
results everytime. I want to pin them.<br><br>&nbsp; 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>