Skip to content

Commit 2fbde00

Browse files
committed
Add example submit scripts perlmutter/frontier
1 parent 2f7001c commit 2fbde00

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

docs/platforms/example_scripts.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ System Examples
3636
:caption: /examples/libE_submission_scripts/submit_pbs_aurora.sh
3737
:language: bash
3838

39+
.. dropdown:: Frontier (Large WarpX Ensemble)
40+
41+
.. literalinclude:: ../../examples/libE_submission_scripts/submit_frontier_large.sh
42+
:caption: /examples/libE_submission_scripts/submit_frontier_large.sh
43+
:language: bash
44+
45+
46+
.. dropdown:: Perlmutter
47+
48+
.. literalinclude:: ../../examples/libE_submission_scripts/submit_perlmutter.sh
49+
:caption: /examples/libE_submission_scripts/submit_perlmutter.sh
50+
:language: bash
51+
3952
.. dropdown:: Polaris
4053

4154
.. literalinclude:: ../../examples/libE_submission_scripts/submit_pbs_polaris.sh
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
#SBATCH -J libE_warpX_full_sim_32x40
3+
#SBATCH -A <myproject>
4+
#SBATCH -p batch
5+
#SBATCH --time 6:00:00
6+
#SBATCH --nodes 240
7+
8+
module load cray-python
9+
10+
# Run one gen and 40 sim workers (6 nodes = 48 GPUs each)
11+
python run_gpcam_warpx.py -n 41
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
#SBATCH -J libE_small_test
3+
#SBATCH -A <myproject>
4+
#SBATCH -C gpu
5+
#SBATCH --time 10
6+
#SBATCH --nodes 1
7+
8+
# This script is using GPU partition
9+
export MPICH_GPU_SUPPORT_ENABLED=1
10+
export SLURM_EXACT=1
11+
12+
# One worker for generator and 4 for sims (one GPU each)
13+
python libe_calling_script.py -n 5
14+
15+
# Or if libE_specs option gen_on_manager=True
16+
python libe_calling_script.py -n 4

0 commit comments

Comments
 (0)