Hi Oded,

Here are instructions again with a bit more explanation as I noticed that 
you don't follows them exactly:

(0) add the following to ~/.bash_profile  (DO NOT RUN IN TERMINAL)
```
SPACK_ROOT=/path/to/spack
export PATH=$SPACK_ROOT/bin:$PATH
``` 
Run new terminal window and install GCC and environment-modules package:
(1) 
```
spack install [email protected]
spack install environment-modules
```
(2) add the following to ~/.bash_profile (fill `<xyz>` accordingly by 
checking the folder structure)
```
source 
$SPACK_ROOT/opt/spack/<platform>/<compiler>/environment-modules-<ver>-<hash>/Modules/init/bash
. $SPACK_ROOT/share/spack/setup-env.sh
```
(3) Run new terminal windows and load installed gcc and let spack update 
compilers list:
```
spack load gcc
spack compiler find
```
(4) install deal.ii with everything possible turned on
```
spack install dealii%gcc
```
(5) use 
```
spack load dealii
spack load cmake
$echo $DEAL_II_DIR
$which cmake
```

Regards,
Denis.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to