diff options
author | George Hartzell <hartzell@alerce.com> | 2017-01-16 03:25:39 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-01-16 03:25:39 -0800 |
commit | aa3cc0ea817ffee8ebf292c8f15eb8eb0fc26866 (patch) | |
tree | 9c1c2857abda7392660aa3af60a29ec4f58bd1f6 /lib | |
parent | 6e8058ad41930017c1a95cdb1620145144cf00ff (diff) | |
download | spack-aa3cc0ea817ffee8ebf292c8f15eb8eb0fc26866.tar.gz spack-aa3cc0ea817ffee8ebf292c8f15eb8eb0fc26866.tar.bz2 spack-aa3cc0ea817ffee8ebf292c8f15eb8eb0fc26866.tar.xz spack-aa3cc0ea817ffee8ebf292c8f15eb8eb0fc26866.zip |
Add lmod support for `spack module loads` (#2758)
The `spack module loads` command only supported tcl and dotkit.
This adds support for lmod.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/cmd/module.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/cmd/module.py b/lib/spack/spack/cmd/module.py index 5887cbf495..b4ee561339 100644 --- a/lib/spack/spack/cmd/module.py +++ b/lib/spack/spack/cmd/module.py @@ -132,6 +132,7 @@ def loads(mtype, specs, args): module_commands = { 'tcl': 'module load ', + 'lmod': 'module load ', 'dotkit': 'dotkit use ' } |