[mvapich-discuss] cpu placement with mpiexec?

Lei Chai chai.15 at osu.edu
Fri Oct 17 22:19:40 EDT 2008


Joseph,

If you are using mpiexec and mvapich2, you can use:

$ mpiexec -n 4 -env MV2_CPU_MAPPING 0:1:4:5 ./a.out

and mvapich2 supports mpirun_rsh too which is more scalable than 
mpiexec. More info about cpu mapping in mvapich2 can be found in the 
userguide:

http://mvapich.cse.ohio-state.edu/support/user_guide_mvapich2-1.2rc2.html#x1-320006.8

Lei


Joseph Hargitai wrote:
> Hi all:
>
> can one use/translate the 
>
> mpirun_rsh -np 2  -hostfile $PBS_NODEFILE VIADEV_CPU_MAPPING=0,4  ./a.out
>
> construct to use with mpiexec when using mvapich1x versions?
>  
>
> thanks,
> joseph
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>   



More information about the mvapich-discuss mailing list