aboutsummaryrefslogtreecommitdiff
path: root/Examples/batchScripts/batch_summit.sh
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-08-23 14:42:31 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-08-23 14:42:31 -0700
commit5f31c42a43f1396a636ff81cbfe2fabedf3f6e67 (patch)
treedd3033d1d3c1445a86b615157e040d4501d039a1 /Examples/batchScripts/batch_summit.sh
parent84a9c25163825d4fba4bf52fe0e05c54705f1901 (diff)
downloadWarpX-5f31c42a43f1396a636ff81cbfe2fabedf3f6e67.tar.gz
WarpX-5f31c42a43f1396a636ff81cbfe2fabedf3f6e67.tar.zst
WarpX-5f31c42a43f1396a636ff81cbfe2fabedf3f6e67.zip
Doc: batch script and description on Summit and Cori KNL
Diffstat (limited to 'Examples/batchScripts/batch_summit.sh')
-rw-r--r--Examples/batchScripts/batch_summit.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/Examples/batchScripts/batch_summit.sh b/Examples/batchScripts/batch_summit.sh
new file mode 100644
index 000000000..a2679510f
--- /dev/null
+++ b/Examples/batchScripts/batch_summit.sh
@@ -0,0 +1,15 @@
+#!/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}
+
+jsrun -n 2 -a 6 -g 6 -c 6 --bind=packed:${omp} <path/to/executable> <input file> > output.txt