aboutsummaryrefslogtreecommitdiff
path: root/Examples/batchScripts/batch_summit.sh
diff options
context:
space:
mode:
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