Updated deal.II in Spack (markdown)
authorDenis Davydov <davydden@gmail.com>
Sat, 11 Mar 2017 15:03:14 +0000 (16:03 +0100)
committerDenis Davydov <davydden@gmail.com>
Sat, 11 Mar 2017 15:03:14 +0000 (16:03 +0100)
deal.II-in-Spack.md

index 1d588c0819f07f63d8d4ae8515d9b24470b113a1..4cc386ce848ba04360d10aaa3c9a21d6d35ddd94 100644 (file)
@@ -4,7 +4,7 @@ The deal.II suite is also available on Spack (https://github.com/LLNL/spack) --
 
 ## Quick installation
 
-Add the following to `~/.bash_profile` (or equivalent)
+Add the following to `~/.bashrc` (or equivalent)
 ```
 SPACK_ROOT=/path/to/spack
 export PATH=$SPACK_ROOT/bin:$PATH
@@ -78,9 +78,13 @@ To add the support for Environment Modules run
 ```
 spack install environment-modules
 ```
-and then add to `~/.bash_profile` (or equivalent)
+Get the path to the prefix of `environment-modules` by:
 ```
-MODULES_HOME=`spack location -i environment-modules`
+spack location -i environment-modules
+```
+and then add to `~/.bashrc` (or equivalent)
+```
+MODULES_HOME=/path/to/environment-modules
 source ${MODULES_HOME}/Modules/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.