Hi Alberto,

Just a quick explanation why this happens: 

this is a current limitation in how Spack tries to find a configuration of 
packages which satisfies input request.
At the point when you type:

spack install dealii

it does not yet know which version to use (you may have your custom 
settings for version / variants in .spack/packages.yaml),
and then, oddly enough, it first settles on Cmake version (latest stable is 
3.10) and then tries to use latest stable dealii 8.5.1
which has a declared requirement of Cmake lower or qual to 3.9.
As a consequence you got this unfriendly error.

Even simpler solution than what Bruno says is to be specific w.r.t. version

spack install dealii@8.5.1

then Spack will do its job finding the configuration which fits all the 
requirements.

Regards,
Denis.


On Monday, February 19, 2018 at 8:40:12 PM UTC+1, Alberto Salvadori wrote:
>
> Thank you!
>
> Alberto Salvadori
> Associate Professor 
> DICATAM, University of Brescia, Italy
>
>
> On 19 Feb 2018, at 16:06, Bruno Turcksin <bruno.t...@gmail.com 
> <javascript:>> wrote:
>
> Alberto,
>
> On Monday, February 19, 2018 at 9:56:25 AM UTC-5, Alberto Salvadori wrote:
>>
>> dealii requires cmake version :3.9.99, but spec asked for 3.10.1
>>
> deal.II 8.5 does not support cmake 3.10 so you need to force spack to use 
> a lower version. Something like this should work spack dealii ^cmake@3.9.1
>
> Best,
>
> Bruno 
>
> -- 
> 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 dealii+un...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> Informativa sulla Privacy: http://www.unibs.it/node/8155
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to