... | ... | @@ -10,7 +10,7 @@ Cloning into 'HPC'... |
|
|
Resolving deltas: 100% (39/39), done.
|
|
|
14:58:03 [alainm@pollux view]# cd HPC/SLURM/MPI/
|
|
|
14:58:10 [alainm@pollux MPI]# ls
|
|
|
build.sh CMakeLists.txt mpi.cpp run.slurm
|
|
|
build.sh CMakeLists.txt dice.cpp run.slurm
|
|
|
14:58:12 [alainm@pollux MPI]#
|
|
|
```
|
|
|
|
... | ... | @@ -69,8 +69,8 @@ module load boost |
|
|
# Be verbose
|
|
|
set -x
|
|
|
|
|
|
# Run the code, one could also use mpiexec or mpirun
|
|
|
srun --mpi=pmi2 ./dice
|
|
|
# Run the code, one could also use diceexec or dicerun
|
|
|
srun --dice=pmi2 ./dice
|
|
|
|
|
|
```
|
|
|
|
... | ... | |