Skip to content

Commit

Permalink
Merge pull request #36 from vub-hpc/no-modulepath
Browse files Browse the repository at this point in the history
set empty MODULEPATH on installation jobs
  • Loading branch information
smoors authored Feb 7, 2025
2 parents 7ddb5dc + 30f5e19 commit 1a5693e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/build_tools/jobtemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# set environment
export BUILD_TOOLS_LOAD_DUMMY_MODULES=1
export LANG=${langcode}
export MODULEPATH="" # EB prepends 'modules/collection' to MODULEPATH
SUBDIR_MODULES="modules"
SUBDIR_MODULES_BWRAP=".modules_bwrap"
Expand Down
2 changes: 1 addition & 1 deletion src/build_tools/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@author: Alex Domingo (Vrije Universiteit Brussel)
"""

VERSION = '4.1.0'
VERSION = '4.1.1'

AUTHOR = {
'wp': 'Ward Poelmans',
Expand Down
1 change: 1 addition & 0 deletions tests/input/build_job_01.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ source "$VSC_SCRATCH_VO_USER/EB5/eb5env/bin/activate"
# set environment
export BUILD_TOOLS_LOAD_DUMMY_MODULES=1
export LANG=C
export MODULEPATH="" # EB prepends 'modules/collection' to MODULEPATH

SUBDIR_MODULES="modules"
SUBDIR_MODULES_BWRAP=".modules_bwrap"
Expand Down
1 change: 1 addition & 0 deletions tests/input/build_job_02.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ source "$VSC_SCRATCH_VO_USER/EB5/eb5env/bin/activate"
# set environment
export BUILD_TOOLS_LOAD_DUMMY_MODULES=1
export LANG=C
export MODULEPATH="" # EB prepends 'modules/collection' to MODULEPATH

SUBDIR_MODULES="modules"
SUBDIR_MODULES_BWRAP=".modules_bwrap"
Expand Down

0 comments on commit 1a5693e

Please sign in to comment.