Skip to content

Commit 411128a

Browse files
authored
Merge pull request #783 from ocaisa/lmod_accel_wrapper
Put a Lmod-relevant wrapper in place for archdetect accelerator detection
2 parents ddafaaf + 90a80da commit 411128a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This can be leveraged by the source_sh() feature of Lmod
2+
export EESSI_ACCEL_SUBDIR=$($(dirname $(readlink -f $BASH_SOURCE))/eessi_archdetect.sh accelpath)

install_scripts.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ TOPDIR=$(dirname $(realpath $0))
8686
# Copy for init directory
8787
init_files=(
8888
bash eessi_archdetect.sh eessi_defaults eessi_environment_variables eessi_software_subdir_for_host.py
89-
minimal_eessi_env README.md test.py lmod_eessi_archdetect_wrapper.sh
89+
minimal_eessi_env README.md test.py lmod_eessi_archdetect_wrapper.sh lmod_eessi_archdetect_wrapper_accel.sh
90+
9091
)
9192
copy_files_by_list ${TOPDIR}/init ${INSTALL_PREFIX}/init "${init_files[@]}"
9293

0 commit comments

Comments
 (0)