Skip to content

Commit ebe485d

Browse files
add modulepath to prepare_cmds in discoverer
1 parent 93c30be commit ebe485d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/feelpp/benchmarking/reframe/config/machineConfigs/discoverer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
'max_jobs': 8,
2222
'access': [f"--partition=cn --account={project_id} --qos={project_id}"],
2323
'environs': ['default'],
24+
'prepare_cmds': [
25+
'source /etc/profile.d/modules.sh',
26+
'export MODULEPATH=/opt/software/modulefiles'
27+
],
2428
'processor': {
2529
'num_cpus': 128
2630
},

src/feelpp/benchmarking/reframe/config/machineConfigs/discoverer.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
SCRIPT_DIR=$(dirname "$0")
44
source "$SCRIPT_DIR/hpc.env"
55

6-
source /etc/profile.d/modules.sh
7-
export MODULEPATH=/opt/software/modulefiles
8-
96
echo "================================================"
107
sacctmgr show association where account=$discoverer_project_id
118

0 commit comments

Comments
 (0)