Commit 677f6a2b authored by Philip Carns's avatar Philip Carns
Browse files

document how to get "module" command

- general note for spack usage, not specific to sds but it helps
parent 415bb437
......@@ -90,6 +90,25 @@ These `packages` files live in a platform-specific directory (run `spack arch
Argonne, where a home file system is shared between a linux cluster, a blue
gene, and a Cray. You can describe `` for each platform.
### Side note: using modules
Spack works well with the module command for loading and unloading
particular packages in your environment once they have been built. You can
get the module command using any of these methods:
* install the environment-modules package in your distribution
* then add . /etc/profile.d/ to your bashrc
* install the lmod package in your distribution
* see lmod documentation for what to do next
* this is a competitor to environment-modules that has similar syntax
* run spack bootstrap
* this will make spack build and install its very own
environment-modules package, as well as a variety of other system
utilities that it might want
The remainder of this document assumes that you will use the module command
to load and unload packages once built.
### Further package configuration
Spack has a bit of trouble resolving a dependency if it is not exactly the same
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment