[mpich-discuss] mpich2 support processor affinity by default

Pavan Balaji balaji at mcs.anl.gov
Sun Apr 28 17:18:40 CDT 2013


By default, Hydra does not do process binding to cpu cores.  However,
you can ask it to do binding using an mpiexec argument.  See mpiexec
-help for more information.

 -- Pavan

On 03/22/2013 05:23 AM US Central Time, benzhi cao wrote:
> 
> 
> 2013/3/22 benzhi cao <caobenzhi0915 at gmail.com
> <mailto:caobenzhi0915 at gmail.com>>
> 
>     Hi~ 
>         when you run a program with multi-threads.(For instance ,you
>     just type "mpiexec -n 4 ./app" to run an app with four threads.)
>     ,obviously the processor manager will fork several processes to
>     execute the app.What I am wondering is the MPICH2 support processor
>     affinity by default? Does  the MPI process manager(MPICH2 hydra)
>     will bind each forked process to a cpu automatically or just do
>     nothing after forking the processes and waithing for  the os to
>     dispatch this?
>          I am appreciate for any reply~Thanks in advance~
>     Best~
> 
> 
> 
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
> 

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



More information about the discuss mailing list