This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cluster:134 [2014/08/20 13:22] hmeij |
cluster:134 [2014/08/21 16:00] hmeij |
||
---|---|---|---|
Line 170: | Line 170: | ||
|25, | |25, | ||
+ | |||
+ | ==== MPI ==== | ||
+ | |||
+ | With sbatch there is no need for a wrapper script, slurm figures it all out. | ||
+ | |||
+ | < | ||
+ | |||
+ | #!/bin/bash | ||
+ | #/ | ||
+ | |||
+ | #SBATCH --job-name=" | ||
+ | #SBATCH --ntasks=8 | ||
+ | #SBATCH --begin=now | ||
+ | |||
+ | # unique job scratch dir | ||
+ | #export MYLOCALSCRATCH=/ | ||
+ | #cd $MYLOCALSCRATCH | ||
+ | |||
+ | echo " | ||
+ | |||
+ | rm -rf err out logfile mdout restrt mdinfo | ||
+ | |||
+ | export PATH=/ | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | which mpirun | ||
+ | |||
+ | mpirun / | ||
+ | |||
+ | #/ | ||
+ | |||
+ | </ | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: |