diff options
author | 2019-08-27 13:50:26 -0700 | |
---|---|---|
committer | 2019-08-27 13:50:26 -0700 | |
commit | 0a5ae49781b43864d60fe8f6e91f6c1831930708 (patch) | |
tree | e81b21329d095d99e4016b0685eac91092a79ee1 /Examples/batchScripts/batch_summit.sh | |
parent | 7a5d2666a6a266f94e4acaa5710ffb0e453d6600 (diff) | |
parent | 17eefa31d683117b365c7c272f2e3631c64c71a3 (diff) | |
download | WarpX-0a5ae49781b43864d60fe8f6e91f6c1831930708.tar.gz WarpX-0a5ae49781b43864d60fe8f6e91f6c1831930708.tar.zst WarpX-0a5ae49781b43864d60fe8f6e91f6c1831930708.zip |
Merge branch 'dev' into RZgeometry
Diffstat (limited to 'Examples/batchScripts/batch_summit.sh')
-rw-r--r-- | Examples/batchScripts/batch_summit.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Examples/batchScripts/batch_summit.sh b/Examples/batchScripts/batch_summit.sh new file mode 100644 index 000000000..002660b91 --- /dev/null +++ b/Examples/batchScripts/batch_summit.sh @@ -0,0 +1,16 @@ +#!/bin/bash +#BSUB -P <allocation ID> +#BSUB -W 00:10 +#BSUB -nnodes 2 +#BSUB -J WarpX +#BSUB -o WarpXo.%J +#BSUB -e WarpXe.%J + +module load pgi +module load cuda + +omp=1 +export OMP_NUM_THREADS=${omp} + +num_nodes=$(( $(printf '%s\n' ${LSB_HOSTS} | sort -u | wc -l) - 1 )) +jsrun -n ${num_nodes} -a 6 -g 6 -c 6 --bind=packed:${omp} <path/to/executable> <input file> > output.txt |