Updated deal.II in Spack (markdown)
authorPasquale Claudio Africa <pasqualeclaudio.africa@polimi.it>
Wed, 13 Nov 2019 08:27:01 +0000 (09:27 +0100)
committerPasquale Claudio Africa <pasqualeclaudio.africa@polimi.it>
Wed, 13 Nov 2019 08:27:01 +0000 (09:27 +0100)
deal.II-in-Spack.md

index 23aa66c..c8f5192 100644 (file)
@@ -211,13 +211,9 @@ To add the support for Environment Modules run
 ```
 spack install environment-modules
 ```
-Get the path to the prefix of `environment-modules` by:
-```
-spack location --install-dir environment-modules
-```
 and then add to `~/.bashrc` (or equivalent)
 ```
-MODULES_HOME=/path/to/environment-modules
+MODULES_HOME=$(spack location --i environment-modules)
 source ${MODULES_HOME}/init/bash
 . $SPACK_ROOT/share/spack/setup-env.sh
 ```

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.