diff options
Diffstat (limited to 'share/spack/setup-env.csh')
-rwxr-xr-x | share/spack/setup-env.csh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/share/spack/setup-env.csh b/share/spack/setup-env.csh index ac5479196d..b49597918c 100755 --- a/share/spack/setup-env.csh +++ b/share/spack/setup-env.csh @@ -6,7 +6,7 @@ # # This file is part of Spack and sets up the spack environment for -# csh and tcsh. This includes dotkit support, module support, and +# csh and tcsh. This includes environment modules and lmod support, and # it also puts spack in your path. Source it like this: # # setenv SPACK_ROOT /path/to/spack @@ -24,7 +24,7 @@ if ($?SPACK_ROOT) then _spack_pathadd PATH "$SPACK_ROOT/bin" eval `spack --print-shell-vars csh` - # Set up modules and dotkit search paths in the user environment + # Set up module search paths in the user environment set tcl_roots = `echo $_sp_tcl_roots:q | sed 's/:/ /g'` set compatible_sys_types = `echo $_sp_compatible_sys_types:q | sed 's/:/ /g'` foreach tcl_root ($tcl_roots:q) @@ -33,10 +33,6 @@ if ($?SPACK_ROOT) then end end - set dotkit_roots = `echo $_sp_dotkit_roots:q | sed 's/:/ /g'` - foreach dotkit_root ($dotkit_roots) - _spack_pathadd DK_NODE "$dotkit_root/$_sp_sys_type" - end else echo "ERROR: Sourcing spack setup-env.csh requires setting SPACK_ROOT to " echo " the root of your spack installation." |