Hi Alberto,

I figured out what's happening. The issue you see is NOT related to what me 
and JP suggested.
It is a separate issues related to constraints on compilers from 
suite-sparse. I created a PR in spack to clarify this:
https://github.com/spack/spack/pull/9622/ 
Once it's merged, you would not see the "conretization" error, but you 
should see that you can't build the most recent suite-sparse with older GCC.
The end solution would be the same: 
(i) you need to choose [email protected] which can be built with GCC 4.8.5
(ii) you need to choose older version of PETSc which support older versions 
of suite-sparse.

Regards,
Denis.

On Monday, October 22, 2018 at 7:50:45 AM UTC+2, Alberto Salvadori wrote:
>
> Dear community
>
> I am installing deal.ii (latest release) on a CentOS7 equipped machine. 
> After typing
>
> spack install --test=root dealii
>
> I see this error:
>
> ==> Error: An unsatisfiable version constraint has been detected for spec:
>
>     [email protected]%[email protected]~cuda~openmp+pic~tbb 
> arch=linux-centos7-x86_64 
>
>
> while trying to concretize the partial spec:
>
>     [email protected]%[email protected]+adol-c+arpack+assimp build_type=DebugRelease ~cuda 
> cuda_arch= 
> ~doc+gmsh+gsl+hdf5~int64+metis+mpi+nanoflann+netcdf+oce~optflags+p4est+petsc~python+scalapack+slepc+sundials+trilinos
>  arch=linux-centos7-x86_64 
>         ^[email protected]:
>         ^arpack-ng+mpi
>             ^mpi
>             ^[email protected]%[email protected] cpu_target= ~ilp64+pic+shared 
> threads=none ~virtual_machine arch=linux-centos7-x86_64 
>         ^assimp
>             
> ^[email protected]:1.63,1.65.1,1.67.0:+iostreams+serialization+system+thread
>                 ^bzip2
>                     ^diffutils
>                 ^[email protected]%[email protected]+optimize+pic+shared 
> arch=linux-centos7-x86_64 
>             ^[email protected]%[email protected]~doc+ncurses+openssl+ownlibs~qt 
> arch=linux-centos7-x86_64 
>                 ^ncurses
>                     ^pkgconfig
>                 ^openssl
>                     ^[email protected]:
>                         ^gdbm
>                             ^readline
>         ^gmsh+netgen+oce+tetgen
>             ^gmp
>                 ^autoconf
>                     ^[email protected]:
>                 ^automake
>                 ^[email protected]:
>             ^netgen
>             ^oce
>             ^tetgen
>         ^[email protected]:+hl+mpi
>         ^intel-tbb@2019%[email protected] cxxstd=default +shared+tm 
> arch=linux-centos7-x86_64 
>         ^metis@5:~int64+real64
>         ^[email protected]%[email protected] arch=linux-centos7-x86_64 
>         ^nanoflann
>         ^netcdf+mpi
>         ^p4est
>         ^sundials~pthread
>         ^trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos
>             ^glm
>             ^matio
>
>
> dealii requires suite-sparse version :5.1.0, but spec asked for 5.3.0
>
> I wonder which is the source of the error and which files ( 
> ~/.spack/linux/packages.yaml perhaps?)
> shall I edit to sort out the issue.
>
> Many thanks in advance
>
> Alberto
>
>
>
>

-- 
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