Skip to content

Commit

Permalink
Summit Runs: OMP, GPU-Aware MPI, Latency
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jun 23, 2020
1 parent bc497ec commit 19ca36b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Tools/BatchScripts/batch_summit.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
#!/bin/bash

# Copyright 2019 Maxence Thevenet
# Copyright 2019-2020 Maxence Thevenet, Axel Huebl
#
# This file is part of WarpX.
#
# License: BSD-3-Clause-LBNL
#
# Refs.:
# https://jsrunvisualizer.olcf.ornl.gov/?s4f0o11n6c7g1r11d1b1l0=
# https://docs.olcf.ornl.gov/systems/summit_user_guide.html#cuda-aware-mpi

#BSUB -P <allocation ID>
#BSUB -W 00:10
#BSUB -nnodes 2
#BSUB -alloc_flags smt4
#BSUB -J WarpX
#BSUB -o WarpXo.%J
#BSUB -e WarpXe.%J

module load gcc
module load cuda

omp=1
export OMP_NUM_THREADS=${omp}

jsrun -a 6 -g 6 -c 6 --bind=packed:${omp} <path/to/executable> <input file> > output.txt
export OMP_NUM_THREADS=1
jsrun -r 6 -a 1 -g 1 -c 7 -l GPU-CPU -d packed -b rs --smpiargs="-gpu" <path/to/executable> <input file> > output.txt

0 comments on commit 19ca36b

Please sign in to comment.