[mpich-discuss] I can not control the number of processes on a multicore machine
Pavan Balaji
balaji at mcs.anl.gov
Wed Nov 11 22:53:37 CST 2009
You need to use:
% mpdboot -f mpd.hosts -n 2 --ncpus=4
Or you can use Hydra (this does not require mpdboot at all):
% mpiexec.hydra -f mpd.hosts -n 8 vasp
-- Pavan
On 11/11/2009 09:43 PM, jiajf wrote:
> I use MPICH2, I have two linux box with 4 cpus respectively. my
> mpd.hosts is as follows:
>
> m0101:4
> m0102:4
>
> the mpd is started by mpdboot -f mpd.hosts.
> when I use mpiexec as follows:
> "mpiexec -n 8 vasp"
>
> I found five processes is running on m0101 and other three on m0102. I
> want to know how to run four processes on every box?
> Is anyone can help?
> __________________________________________________
> 赶快注册雅虎超大容量免费邮箱?
> http://cn.mail.yahoo.com
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list