Skip to content

Instantly share code, notes, and snippets.

@ytn86 ytn86/hostfile
Last active Nov 23, 2016

Embed
What would you like to do?
OpenMPIメモ
rank 0=node1 slot=0:0
rank 1=node1 slot=0:1
rank 2=node1 slot=0:2
rank 3=node1 slot=0:3
rank 4=node1 slot=1:0
rank 5=node1 slot=1:1
rank 6=node1 slot=1:2
rank 7=node1 slot=1:3
$ mpirun -rf rankfile --hostfile ./hostfile --report-bindings -np 8 ./bin
[node1:12362] MCW rank 0 bound to socket 0[core 0]: [B . . . . . . .][. . . . . . . .] (slot list 0:0)
[node1:12362] MCW rank 1 bound to socket 0[core 1]: [. B . . . . . .][. . . . . . . .] (slot list 0:1)
[node1:12362] MCW rank 2 bound to socket 0[core 2]: [. . B . . . . .][. . . . . . . .] (slot list 0:2)
[node1:12362] MCW rank 3 bound to socket 0[core 3]: [. . . B . . . .][. . . . . . . .] (slot list 0:3)
[node1:12362] MCW rank 4 bound to socket 1[core 0]: [. . . . . . . .][B . . . . . . .] (slot list 1:0)
[node1:12362] MCW rank 5 bound to socket 1[core 1]: [. . . . . . . .][. B . . . . . .] (slot list 1:1)
[node1:12362] MCW rank 6 bound to socket 1[core 2]: [. . . . . . . .][. . B . . . . .] (slot list 1:2)
[node1:12362] MCW rank 7 bound to socket 1[core 3]: [. . . . . . . .][. . . B . . . .] (slot list 1:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.