<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">Hello,</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">I am running mpi code on host1(quad core) and host2(dual core)</p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px">mpiexec -hosts host1,host2 -n 6 ./mytask</span></font></p><div><span style="color:rgb(36,39,41);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:15px;line-height:19.5px">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.</span><br></div><div><span style="color:rgb(36,39,41);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:15px;line-height:19.5px"><br></span></div><div><span style="color:rgb(36,39,41);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:15px;line-height:19.5px">Regards</span></div><div><span style="color:rgb(36,39,41);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:15px;line-height:19.5px">Doha</span></div></div>