Hi Oded,

On Friday, May 20, 2016 at 7:25:42 PM UTC+2, Oded Yaakobi wrote:
>
>  
>
> (i) I installed dealii binary package but it does not include Mesquite.
>
> Is it possible to include Mesquite into dealii binary package?
>

I think Luca could comment on that.

  

> (ii) I downloaded the most recent version of Spack (version 0.8.17), but 
> its installation failed. 
>

Try master branch which is 0.9.1: https://github.com/LLNL/spack/tree/master
 

> You may see below the error message that I got:
>
>  
>
> *==>* Installing libelf
>
> *==>* Trying to fetch from 
> http://www.mr511.de/software/libelf-0.8.13.tar.gz
>
> ######################################################################## 
> 100.0%
>
> *==>* Staging archive: 
> /Users/yaakobioy/spack/spack-0.8.17/var/spack/stage/[email protected]%[email protected]=macosx_10.10_x86_64/libelf-0.8.13.tar.gz
>
> *==>* Created stage in 
> /Users/yaakobioy/spack/spack-0.8.17/var/spack/stage/[email protected]%[email protected]=macosx_10.10_x86_64.
>
> *==>* No patches needed for libelf.
>
> *==>* Building libelf.
>
> creating cache ./config.cache
>
> checking whether make sets ${MAKE}... yes
>
> checking for gcc... cc
>
> checking whether the C compiler (cc  ) works... no
>

You certainly have some issues with your C compiler (clang) on OSX.
Do you have XCode installed? If not, do so.
You also need to have command-line tools, run: xcode-select --install

After installing this, delete the following configure file: 
~/.spack/compilers.yaml
The step-by-step instruction is as follows:

(0) add the following to bash
```
SPACK_ROOT=/path/to/spack
export PATH=$SPACK_ROOT/bin:$PATH
``` 
make sure c/c++/fortran compilers are in path. You will need gfortran from 
GCC:
(1) 
```
spack install [email protected]
spack install environment-modules
```
(2) setup environment modules in bash (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) 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
```


configure: error: installation or configuration problem: C compiler cannot 
> create executables.
>
> *==>* Error: command './configure 
> --prefix=/Users/yaakobioy/spack/spack-0.8.17/opt/macosx_10.10_x86_64/[email protected]/[email protected]
>  
> --enable-shared --disable-dependency-tracking --disable-debug' returned 
> error code 1
>
>  
>
>  
>
> Do you know how to fix this problem?
>

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