<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
I am doing some experiments in quantum chemistry software GAMESS</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> using an old version of MPICH2.</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
I was wondering how the process mapping is done in mpich2.</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">For example I have a hostfile which contains hosts like</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">host1</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">host2</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
...</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">hostn</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">and each host has 8 cores. When I spawn 32 processes, could you please tell me</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
what will be the order of ranks spawned. I mean would it be like</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
1) rank 0 to 7 on host 1, rank 8 to 15 on host2 ...</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> or</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
2) rank 0 on host 1, rank 1 on host2......rank n on host n, rank n+1 on host 1.</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Moreover, how can I change the rank mapping within a node , for example if I want to</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
have certain ranks together on a die of a socket. </div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Thanks</div>