Skip to content

Commit

Permalink
Merge pull request #783 from ocaisa/lmod_accel_wrapper
Browse files Browse the repository at this point in the history
Put a Lmod-relevant wrapper in place for archdetect accelerator detection
  • Loading branch information
trz42 authored Oct 15, 2024
2 parents ddafaaf + 90a80da commit 411128a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions init/lmod_eessi_archdetect_wrapper_accel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This can be leveraged by the source_sh() feature of Lmod
export EESSI_ACCEL_SUBDIR=$($(dirname $(readlink -f $BASH_SOURCE))/eessi_archdetect.sh accelpath)
3 changes: 2 additions & 1 deletion install_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ TOPDIR=$(dirname $(realpath $0))
# Copy for init directory
init_files=(
bash eessi_archdetect.sh eessi_defaults eessi_environment_variables eessi_software_subdir_for_host.py
minimal_eessi_env README.md test.py lmod_eessi_archdetect_wrapper.sh
minimal_eessi_env README.md test.py lmod_eessi_archdetect_wrapper.sh lmod_eessi_archdetect_wrapper_accel.sh

)
copy_files_by_list ${TOPDIR}/init ${INSTALL_PREFIX}/init "${init_files[@]}"

Expand Down

0 comments on commit 411128a

Please sign in to comment.