-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into benc-k8s-kind-ci
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
from parsl.config import Config | ||
from parsl.executors import HighThroughputExecutor | ||
from parsl.launchers import MpiRunLauncher | ||
from parsl.providers import PBSProProvider | ||
|
||
config = Config( | ||
executors=[ | ||
HighThroughputExecutor( | ||
label="Improv_multinode", | ||
max_workers_per_node=32, | ||
provider=PBSProProvider( | ||
account="YOUR_ALLOCATION_ON_IMPROV", | ||
# PBS directives (header lines), for example: | ||
# scheduler_options='#PBS -l mem=4gb', | ||
scheduler_options='', | ||
|
||
queue="compute", | ||
|
||
# Command to be run before starting a worker: | ||
# **WARNING** Improv requires an openmpi module to be | ||
# loaded for the MpiRunLauncher. Add additional env | ||
# load commands to this multiline string. | ||
worker_init=''' | ||
module load gcc/13.2.0; | ||
module load openmpi/5.0.3-gcc-13.2.0; ''', | ||
launcher=MpiRunLauncher(), | ||
|
||
# number of compute nodes allocated for each block | ||
nodes_per_block=2, | ||
walltime='00:10:00' | ||
), | ||
), | ||
], | ||
) |