Skip to content
Snippets Groups Projects
Commit 87b70e2c authored by Patrick Gartung's avatar Patrick Gartung
Browse files

remove the part I added to setup-env.sh as this does not work unless the...

remove the part I added to setup-env.sh as this does not work unless the modules package is already built.
parent d96ea5ba
No related branches found
No related tags found
No related merge requests found
...@@ -176,13 +176,3 @@ _spack_pathadd PATH "${_sp_prefix%/}/bin" ...@@ -176,13 +176,3 @@ _spack_pathadd PATH "${_sp_prefix%/}/bin"
_sp_sys_type=$(spack-python -c 'print(spack.architecture.sys_type())') _sp_sys_type=$(spack-python -c 'print(spack.architecture.sys_type())')
_spack_pathadd DK_NODE "${_sp_share_dir%/}/dotkit/$_sp_sys_type" _spack_pathadd DK_NODE "${_sp_share_dir%/}/dotkit/$_sp_sys_type"
_spack_pathadd MODULEPATH "${_sp_share_dir%/}/modules/$_sp_sys_type" _spack_pathadd MODULEPATH "${_sp_share_dir%/}/modules/$_sp_sys_type"
#
# Use spack built modules package if available
# for system that does not have it
#
_modules_install_path=$(command spack location -i modules)
if [ -n "$_modules_install_path" ] ; then
. $_modules_install_path/Modules/init/sh
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment