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 suite-sparse@5.1.0 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: > > suite-sparse@5.3.0%gcc@4.8.5~cuda~openmp+pic~tbb > arch=linux-centos7-x86_64 > > > while trying to concretize the partial spec: > > dealii@9.0.1%gcc@4.8.5+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 > ^adol-c@2.6.4: > ^arpack-ng+mpi > ^mpi > ^openblas@0.3.3%gcc@4.8.5 cpu_target= ~ilp64+pic+shared > threads=none ~virtual_machine arch=linux-centos7-x86_64 > ^assimp > > ^boost@1.59.0:1.63,1.65.1,1.67.0:+iostreams+serialization+system+thread > ^bzip2 > ^diffutils > ^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared > arch=linux-centos7-x86_64 > ^cmake@3.12.2%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt > arch=linux-centos7-x86_64 > ^ncurses > ^pkgconfig > ^openssl > ^perl@5.14.0: > ^gdbm > ^readline > ^gmsh+netgen+oce+tetgen > ^gmp > ^autoconf > ^m4@1.4.6: > ^automake > ^libtool@2.4.2: > ^netgen > ^oce > ^tetgen > ^hdf5@1.8.9:+hl+mpi > ^intel-tbb@2019%gcc@4.8.5 cxxstd=default +shared+tm > arch=linux-centos7-x86_64 > ^metis@5:~int64+real64 > ^muparser@2.2.5%gcc@4.8.5 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 dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.