[mpich-discuss] Managing process distribution

Kenneth Raffenetti raffenet at mcs.anl.gov
Fri Aug 12 10:58:19 CDT 2016


You can specify the number of processes per host like so:

   mpiexec -hosts host1:4,host2:2 -n 6 ./mytask

On 08/12/2016 10:43 AM, Doha Ehab wrote:
> Hello,
>
> I am running mpi code on host1(quad core) and host2(dual core)
>
> mpiexec -hosts host1,host2 -n 6 ./mytask
>
> I want to assign 4 processes for host1 and 2 for host2. I tried --map-by
> core but I found that the processes are distributed 3 for each.
>
> Regards
> Doha
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list