Skip to content

Commit 3f2bf18

Browse files
authored
Adding configuration example for Improv@LCRC (#3602)
1 parent 0a198a3 commit 3f2bf18

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

docs/reference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Launchers
9393
parsl.launchers.SrunMPILauncher
9494
parsl.launchers.GnuParallelLauncher
9595
parsl.launchers.MpiExecLauncher
96+
parsl.launchers.MpiRunLauncher
9697
parsl.launchers.JsrunLauncher
9798
parsl.launchers.WrappedLauncher
9899

docs/userguide/configuring.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,18 @@ Center's **Expanse** supercomputer. The example is designed to be executed on th
536536
.. literalinclude:: ../../parsl/configs/expanse.py
537537

538538

539+
Improv (Argonne LCRC)
540+
---------------------
541+
542+
.. image:: https://www.lcrc.anl.gov/sites/default/files/styles/965_wide/public/2023-12/20231214_114057.jpg?itok=A-Rz5pP9
543+
544+
**Improv** is a PBS Pro based supercomputer at Argonne's Laboratory Computing Resource
545+
Center (LCRC). The following snippet is an example configuration that uses `parsl.providers.PBSProProvider`
546+
and `parsl.launchers.MpiRunLauncher` to run on multinode jobs.
547+
548+
.. literalinclude:: ../../parsl/configs/improv.py
549+
550+
539551
.. _configuring_nersc_cori:
540552

541553
Perlmutter (NERSC)

parsl/configs/improv.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
from parsl.config import Config
2+
from parsl.executors import HighThroughputExecutor
3+
from parsl.launchers import MpiRunLauncher
4+
from parsl.providers import PBSProProvider
5+
6+
config = Config(
7+
executors=[
8+
HighThroughputExecutor(
9+
label="Improv_multinode",
10+
max_workers_per_node=32,
11+
provider=PBSProProvider(
12+
account="YOUR_ALLOCATION_ON_IMPROV",
13+
# PBS directives (header lines), for example:
14+
# scheduler_options='#PBS -l mem=4gb',
15+
scheduler_options='',
16+
17+
queue="compute",
18+
19+
# Command to be run before starting a worker:
20+
# **WARNING** Improv requires an openmpi module to be
21+
# loaded for the MpiRunLauncher. Add additional env
22+
# load commands to this multiline string.
23+
worker_init='''
24+
module load gcc/13.2.0;
25+
module load openmpi/5.0.3-gcc-13.2.0; ''',
26+
launcher=MpiRunLauncher(),
27+
28+
# number of compute nodes allocated for each block
29+
nodes_per_block=2,
30+
walltime='00:10:00'
31+
),
32+
),
33+
],
34+
)

0 commit comments

Comments
 (0)