Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-repo
Commits
677f6a2b
Commit
677f6a2b
authored
Apr 05, 2018
by
Philip Carns
Browse files
document how to get "module" command
- general note for spack usage, not specific to sds but it helps
parent
415bb437
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
677f6a2b
...
@@ -90,6 +90,25 @@ These `packages` files live in a platform-specific directory (run `spack arch
...
@@ -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
Argonne, where a home file system is shared between a linux cluster, a blue
gene, and a Cray. You can describe
`packages.py`
for each platform.
gene, and a Cray. You can describe
`packages.py`
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/modules.sh 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
### Further package configuration
Spack has a bit of trouble resolving a dependency if it is not exactly the same
Spack has a bit of trouble resolving a dependency if it is not exactly the same
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment