a not on LD_LIBRARY_PATH
authorDenis Davydov <davydden@gmail.com>
Tue, 13 Dec 2016 13:25:58 +0000 (14:25 +0100)
committerDenis Davydov <davydden@gmail.com>
Tue, 13 Dec 2016 13:25:58 +0000 (14:25 +0100)
deal.II-in-Spack.md

index 2b1678a8537d1aed7baab6112ecc6c3d5c37b7f4..24dcaa35b3089a9c94b14d78d2ab9c7399f8a87b 100644 (file)
@@ -93,7 +93,7 @@ Then run
 spack load dealii
 spack load cmake
 ```
-Now `DEAL_II_DIR` environment variable should be set appropriately and `cmake` executable will be available in path.
+Now `DEAL_II_DIR` environment variable should be set appropriately and `cmake` executable will be available in path. Keep in mind that `spack load dealii` will also set `LD_LIBRARY_PATH` accordingly, this may or may not be what you need. An alternative is to use `export DEAL_II_DIR=$(spack location -i dealii)`.
 
 ## System provided packages
 Spack is flexible to use both self-compiled and system provided packages. 

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.