<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: [mpich-discuss] MPICH2 and Process Affinity</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
&nbsp;The MS-MPI developer SDK should be available for free (<A HREF="http://www.microsoft.com/downloads/details.aspx?familyid=12887DA1-9410-4A59-B903-693116BFD30E&displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=12887DA1-9410-4A59-B903-693116BFD30E&displaylang=en</A>).<BR>
&nbsp;MPICH2 will provide this feature (binding MPI processes to cores) in the 1.1 release.<BR>
<BR>
Regards,<BR>
Jayesh<BR>
<BR>
-----Original Message-----<BR>
From: mpich-discuss-bounces@mcs.anl.gov [<A HREF="mailto:mpich-discuss-bounces@mcs.anl.gov">mailto:mpich-discuss-bounces@mcs.anl.gov</A>] On Behalf Of Pavan Balaji<BR>
Sent: Tuesday, March 17, 2009 10:14 PM<BR>
To: mpich-discuss@mcs.anl.gov<BR>
Subject: Re: [mpich-discuss] MPICH2 and Process Affinity<BR>
<BR>
<BR>
&gt; 1. Is there a similar way in MPICH2 or I have to use<BR>
&gt; SetProcessAffinityMask() in Windows to pin all my MPI processes to the<BR>
&gt; specific logical processor/core ?<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; (If a process is pinned to a specific logical processor, the CPU<BR>
&gt; loading histroy from the Windows task manager is smoother rather than<BR>
&gt; lots of zigzags.)<BR>
<BR>
Not right now, but its planned to be added in the mpich2-1.1 release.<BR>
Microsoft's modification to MPICH2 (called MS-MPI) already has this support, if you want to try it out sooner (<A HREF="http://www.microsoft.com/hpc">http://www.microsoft.com/hpc</A>). I don't know if it's free though :-).<BR>
<BR>
&gt; 2. Does the process migration cause large penalty in parallel computing ?<BR>
<BR>
I know that Linux gives &quot;preference&quot; to keep processes on the same core when there are equal number of processes and cores. This is not the same thing as binding, but it's close to it. Windows probably does something similar too, but I'm not really sure.<BR>
<BR>
&nbsp; -- Pavan<BR>
<BR>
--<BR>
Pavan Balaji<BR>
<A HREF="http://www.mcs.anl.gov/~balaji">http://www.mcs.anl.gov/~balaji</A><BR>
</FONT>
</P>

</BODY>
</HTML>