Hi,
if I start different programs on one command line, I can use different
options "-host" and "-np".
mpiexec -report-bindings -host linpc0 -np 1 date : \
-host sunpc0,sunpc1 -np 2 hostname
Fri Oct 5 07:37:25 CEST 2012
sunpc0
sunpc1
Only the last value counts if I use for example "-cpus-per-proc".
mpiexec -report-bindings -host linpc0 -np 1 -cpus-per-proc 2 \
-bind-to-core date : -host sunpc0,sunpc1 -np 2 -cpus-per-proc 1 \
-bind-to-socket hostname
[linpc0:16121] MCW rank 0 bound to socket 0[core 0]: [B .][. .]
Fri Oct 5 07:37:42 CEST 2012
[sunpc0:17789] MCW rank 1 bound to socket 0[core 0]: [B .][. .]
sunpc0
[sunpc1:15007] MCW rank 2 bound to socket 0[core 0]: [B .][. .]
sunpc1
mpiexec -report-bindings -host linpc0 -np 1 -cpus-per-proc 2 \
-bind-to-core date : -host sunpc0,sunpc1 -np 2 -bind-to-socket \
hostname
[linpc0:16191] MCW rank 0 bound to socket 0[core 0-1]: [B B][. .]
[sunpc0:17824] MCW rank 1 bound to socket 0[core 0-1]: [B B][. .]
Fri Oct 5 07:37:56 CEST 2012
sunpc0
[sunpc1:15040] MCW rank 2 bound to socket 0[core 0-1]: [B B][. .]
sunpc1
Is this behaviour intended? How could I map and bind processes in
different ways on a command line without a rankfile, e.g. in the
following way?
rank 0=linpc1 slot=0:0-1
rank 1=sunpc0 slot=0:0
rank 2=sunpc1 slot=0:0
Thank you very much for any reply in advance.
Kind regards
Siegmar
|