J-P  and Praveen,

Thanks for your help. Spack installation for deal.ii  worked out well. Petsc 
3.10 or later is required, I used 3.10. 

Alberto

Alberto Salvadori
Associate Professor 
DIMI, University of Brescia, Italy


> On 22 Oct 2018, at 09:28, Jean-Paul Pelteret <jppelte...@gmail.com> wrote:
> 
>> Shall I edit “.spack/linux/packages.yaml” file ?
> 
> Yes, since you’re already using this file to constrain other packages I would 
> suggest adding
> 
>   petsc:
>     version: [3.9.4]
>   suite-sparse:
>     version: [5.1.0]
> 
> to that list. You should check to see if the version of PETSc can be safely 
> incremented upwards - I’ve taken a conservative guess as to which version is 
> safe to use.
> 
>> On 22 Oct 2018, at 08:57, Alberto Salvadori <alberto.salvad...@unibs.it> 
>> wrote:
>> 
>> Thank you J-P.
>> Can you please remind me how to do what you suggest? Shall I edit 
>> “.spack/linux/packages.yaml” file ?
>> 
>> 
>> Alberto Salvadori
>>  Dipartimento di Ingegneria Civile, Architettura, Territorio, Ambiente e di 
>> Matematica (DICATAM)
>>  Universita` di Brescia, via Branze 43, 25123 Brescia
>>  Italy
>>  tel 030 3711239
>>  fax 030 3711312
>> 
>> e-mail: 
>>  alberto.salvad...@unibs.it
>> web-pages:
>>  http://m4lab.unibs.it/faculty.html
>>  http://dicata.ing.unibs.it/salvadori
>> 
>> 
>>> On Mon, Oct 22, 2018 at 8:43 AM Jean-Paul Pelteret <jppelte...@gmail.com> 
>>> wrote:
>>> Hi Alberto,
>>> 
>>> As best I recall, their is a problem with a hidden clash in the 
>>> dependencies between the latest PETSc and Trilinos versions. (I thought 
>>> that there was an issue/PR on github/spack, but I couldn’t find it right 
>>> now.) The former wants a new version of SuiteSparse while the latter does 
>>> not yet support it. I think that the solution is to specify an older 
>>> version of PETSc when building with both PETSc and Trilinos.
>>> 
>>> Best,
>>> J-P
>>> 
>>>> On 22 Oct 2018, at 08:19, Alberto Salvadori <alberto.salvad...@unibs.it> 
>>>> wrote:
>>>> 
>>>> Thank you, Praveen.
>>>> 
>>>> While installing deal.ii all detailed instructions on the spack wiki page 
>>>> have been followed. I cloned spack from git (I thus assume it is the 
>>>> latest version) and made no modifications (yet :-) ) to the  
>>>> “.spack/linux/packages.yaml” file. By the way, I did install deal.ii on 
>>>> opensuse a couple of weeks ago without this issue.
>>>> 
>>>> Shall I attach my  “.spack/linux/packages.yaml”  here?
>>>> 
>>>> Alberto 
>>>> 
>>>> Alberto Salvadori
>>>>  Dipartimento di Ingegneria Civile, Architettura, Territorio, Ambiente e 
>>>> di Matematica (DICATAM)
>>>>  Universita` di Brescia, via Branze 43, 25123 Brescia
>>>>  Italy
>>>>  tel 030 3711239
>>>>  fax 030 3711312
>>>> 
>>>> e-mail: 
>>>>  alberto.salvad...@unibs.it
>>>> web-pages:
>>>>  http://m4lab.unibs.it/faculty.html
>>>>  http://dicata.ing.unibs.it/salvadori
>>>> 
>>>> 
>>>>> On Mon, Oct 22, 2018 at 8:08 AM Praveen C <cprav...@gmail.com> wrote:
>>>>> When I check spec on my opensuse machine, dealii@9.0.1 wants to use 
>>>>> suite-sparse@5.3.0
>>>>> 
>>>>> Have you perhaps already set some versions in your 
>>>>> “.spack/linux/packages.yaml” file ?
>>>>> 
>>>>> What does your file look like ?
>>>>> 
>>>>> Also, you may want to update your spack to see it that fixes it.
>>>>> 
>>>>> Thanks
>>>>> praveen
>>>>> 
>>>>>> On 22-Oct-2018, at 11:20 AM, Alberto Salvadori 
>>>>>> <alberto.salvad...@unibs.it> 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
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 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.
>>>>> 
>>>>> 
>>>>> -- 
>>>>> 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.
>>>> 
>>>> 
>>>> 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.
>>> 
>>> 
>>> -- 
>>> 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.
>> 
>> 
>> 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.
> 
> -- 
> 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.

-- 


Informativa sulla Privacy: http://www.unibs.it/node/8155 
<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