Skip to content

Instantly share code, notes, and snippets.

@ytn86
Last active November 23, 2016 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ytn86/0081170bc868f91ab4c6926b5aa6fb61 to your computer and use it in GitHub Desktop.
Save ytn86/0081170bc868f91ab4c6926b5aa6fb61 to your computer and use it in GitHub Desktop.
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