41 | | niessen@deeper-sdv04:/direct/homec/zdvex/niessen/src/mpi > srun ./hello_cluster |
42 | | srun: cluster configuration lacks support for cpu binding |
43 | | Hello world from process 6 of 8 on deeper-sdv07 |
44 | | Hello world from process 7 of 8 on deeper-sdv07 |
45 | | Hello world from process 3 of 8 on deeper-sdv05 |
46 | | Hello world from process 4 of 8 on deeper-sdv06 |
47 | | Hello world from process 0 of 8 on deeper-sdv04 |
48 | | Hello world from process 2 of 8 on deeper-sdv05 |
49 | | Hello world from process 5 of 8 on deeper-sdv06 |
50 | | Hello world from process 1 of 8 on deeper-sdv04 |
51 | | }}} |
52 | | |
53 | | You can ignore the warning about the cpu binding. !ParaStation will pin you processes. |
| 41 | [kreutz1@deepv Temp]$ srun -p dp-cn -N 4 -n 8 -t 00:30:00 --pty /bin/bash -i |
| 42 | [kreutz1@dp-cn01 Temp]$ srun ./MPI_HelloWorld |
| 43 | Hello World from rank 3 of 8 on dp-cn02 |
| 44 | Hello World from rank 7 of 8 on dp-cn04 |
| 45 | Hello World from rank 2 of 8 on dp-cn02 |
| 46 | Hello World from rank 6 of 8 on dp-cn04 |
| 47 | Hello World from rank 0 of 8 on dp-cn01 |
| 48 | Hello World from rank 4 of 8 on dp-cn03 |
| 49 | Hello World from rank 1 of 8 on dp-cn01 |
| 50 | Hello World from rank 5 of 8 on dp-cn03 |
| 51 | }}} |
| 52 | |
| 53 | You can ignore potential warnings about the cpu binding. !ParaStation will pin your processes. |
60 | | niessen@deepl:src/mpi > srun --partition=sdv -N 4 -n 8 ./hello_cluster |
61 | | Hello world from process 4 of 8 on deeper-sdv06 |
62 | | Hello world from process 6 of 8 on deeper-sdv07 |
63 | | Hello world from process 3 of 8 on deeper-sdv05 |
64 | | Hello world from process 0 of 8 on deeper-sdv04 |
65 | | Hello world from process 2 of 8 on deeper-sdv05 |
66 | | Hello world from process 5 of 8 on deeper-sdv06 |
67 | | Hello world from process 7 of 8 on deeper-sdv07 |
68 | | Hello world from process 1 of 8 on deeper-sdv04 |
| 60 | [kreutz1@deepv Temp]$ srun -p dp-cn -N 4 -n 8 -t 00:30:00 ./MPI_HelloWorld |
| 61 | Hello World from rank 7 of 8 on dp-cn04 |
| 62 | Hello World from rank 3 of 8 on dp-cn02 |
| 63 | Hello World from rank 6 of 8 on dp-cn04 |
| 64 | Hello World from rank 2 of 8 on dp-cn02 |
| 65 | Hello World from rank 4 of 8 on dp-cn03 |
| 66 | Hello World from rank 0 of 8 on dp-cn01 |
| 67 | Hello World from rank 1 of 8 on dp-cn01 |
| 68 | Hello World from rank 5 of 8 on dp-cn03 |
74 | | niessen@deepl:src/mpi > salloc --partition=sdv -N 4 -n 8 |
75 | | salloc: Granted job allocation 955 |
76 | | niessen@deepl:~/src/mpi>srun ./hello_cluster |
77 | | Hello world from process 3 of 8 on deeper-sdv05 |
78 | | Hello world from process 1 of 8 on deeper-sdv04 |
79 | | Hello world from process 7 of 8 on deeper-sdv07 |
80 | | Hello world from process 5 of 8 on deeper-sdv06 |
81 | | Hello world from process 2 of 8 on deeper-sdv05 |
82 | | Hello world from process 0 of 8 on deeper-sdv04 |
83 | | Hello world from process 6 of 8 on deeper-sdv07 |
84 | | Hello world from process 4 of 8 on deeper-sdv06 |
85 | | niessen@deepl:~/src/mpi> # several more runs |
| 74 | [kreutz1@deepv Temp]$ salloc -p dp-cn -N 4 -n 8 -t 00:30:00 |
| 75 | salloc: Granted job allocation 69263 |
| 76 | [kreutz1@deepv Temp]$ srun ./MPI_HelloWorld |
| 77 | Hello World from rank 7 of 8 on dp-cn04 |
| 78 | Hello World from rank 3 of 8 on dp-cn02 |
| 79 | Hello World from rank 6 of 8 on dp-cn04 |
| 80 | Hello World from rank 2 of 8 on dp-cn02 |
| 81 | Hello World from rank 5 of 8 on dp-cn03 |
| 82 | Hello World from rank 1 of 8 on dp-cn01 |
| 83 | Hello World from rank 4 of 8 on dp-cn03 |
| 84 | Hello World from rank 0 of 8 on dp-cn01 |
127 | | niessen@deepl:src/mpi > cat hello_cluster-956.log |
128 | | Hello world from process 5 of 8 on deeper-sdv06 |
129 | | Hello world from process 1 of 8 on deeper-sdv04 |
130 | | Hello world from process 7 of 8 on deeper-sdv07 |
131 | | Hello world from process 3 of 8 on deeper-sdv05 |
132 | | Hello world from process 0 of 8 on deeper-sdv04 |
133 | | Hello world from process 2 of 8 on deeper-sdv05 |
134 | | Hello world from process 4 of 8 on deeper-sdv06 |
135 | | Hello world from process 6 of 8 on deeper-sdv07 |
| 128 | [kreutz1@deepv Temp]$ cat /p/project/cdeep/kreutz1/hello_cluster-69264.out |
| 129 | Hello World from rank 6 of 8 on dp-cn04 |
| 130 | Hello World from rank 3 of 8 on dp-cn02 |
| 131 | Hello World from rank 0 of 8 on dp-cn01 |
| 132 | Hello World from rank 4 of 8 on dp-cn03 |
| 133 | Hello World from rank 2 of 8 on dp-cn02 |
| 134 | Hello World from rank 7 of 8 on dp-cn04 |
| 135 | Hello World from rank 5 of 8 on dp-cn03 |
| 136 | Hello World from rank 1 of 8 on dp-cn01 |