2017-04-04 16:58 GMT-04:00 Alberto Salvadori <alberto.salvad...@unibs.it>:
> 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:  mvapich2@1.9
> mvapich2@2.0:  openmpi@1.6.5  openmpi@1.7.5:  openmpi@2.0.0:  spectrum-mpi
>
>
> openmpi:
>     version: [2.0.0]
>     paths:
>       openmpi@2.0.0%gcc@6.2.0: ...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 %gcc@6.2"
> - sorry, I cannot understand this. I know I am bothering, but can you please
> explain this a bit further?
spack install dealii %gcc@6.2 -> 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 %gcc@6.2"

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

Reply via email to