Yeah it looks good.

Bruno

2017-04-04 17:25 GMT-04:00 Alberto Salvadori <[email protected]>:
> Hi Bruno,
>
> I really appreciate your help.
> I got the right location of my openmpi and just mean to double check before
> running spack. I shall therefore:
>
> 1 - create a file  ~/.spack/linux/packages.yaml as follows:
>
> openmpi:
>     version: [2.0.1]
>     paths:
>       [email protected]%[email protected]: ...SOMEPATH...openmpi/2.0.1/gcc/6.2.0/eth/bin
>     buildable: False
>
> 2 - spack install dealii %[email protected]
>
> Correct?
> Thanks
> 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:
>  [email protected]
> web-pages:
>  http://m4lab.unibs.it/faculty.html
>  http://dicata.ing.unibs.it/salvadori
>
> On Tue, Apr 4, 2017 at 5:11 PM, Bruno Turcksin <[email protected]>
> wrote:
>>
>> 2017-04-04 16:58 GMT-04:00 Alberto Salvadori <[email protected]>:
>> > Sorry, I am a bit confused.
>> >
>> > "you need to make sure that building mpich is set to false."
>> >  - where I can set "building mpich" to false? Shall I edit a file
>> > ~/.spack/packages.yaml that BTW currently I do not have?
>> Yes, you need to create the file if it doesn't exist.
>>
>> >  - if so, would this be OK?
>> >
>> > spack providers mpi
>> >
>> >     intel-parallel-studio@cluster:+mpi  mpich@1:  mpich@3:  [email protected]
>> > [email protected]:  [email protected]  [email protected]:  [email protected]:
>> > spectrum-mpi
>> >
>> >
>> > openmpi:
>> >     version: [2.0.0]
>> >     paths:
>> >       [email protected]%[email protected]: ...SOMEPATH.../m/mpich/3.2/gcc/6.2.0/bin
>> > (
>> > the latter is the directory where mpic++ executable is )
>> >     buildable: False
>> This looks sketchy: you say openmpi but then the path says mpich...
>> Otherwise it looks good.
>>
>> >
>> > "You need to run something like spack  install dealii ^mpich %[email protected]"
>> > - sorry, I cannot understand this. I know I am bothering, but can you
>> > please
>> > explain this a bit further?
>> spack install dealii %[email protected] -> install deal.II with the gcc 6.2
>> compiler. Because you have more than one compiler on your system, you
>> need to tell spack which compiler to use.
>> spack install dealii ^mpich -> I am not sure about this one.  But by
>> default, spack uses openmpi but your path says that you are using
>> mpich. Thus, you need to force spack to use mpich instead of openmpi.
>> I am not sure this is the exact command though that's why I said it
>> should look like "spack install ^mpich %[email protected]"
>>
>> 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 [email protected].
>> 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 a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/95YGnSX7zHo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to