Thanks so much both Bruno and Denis!

I upped the RAM in the Docker settings a bit and added “-j 2” as a parameter to 
the install command and everything went fine :)
Great!

Best,
Marquito

> On 12. Mar 2018, at 03:56, Denis Davydov <davyd...@gmail.com> wrote:
> 
> Marquito,
> 
> A few things to add to what Bruno says:
> 
> On Monday, March 12, 2018 at 2:40:37 AM UTC+1, Bruno Turcksin wrote:
> Marquito,
> 
> On Sunday, March 11, 2018 at 9:27:40 AM UTC-4, Marquito Forrest wrote:
> 
> In summary the situation is:
> - Debian testing image (to get recent gcc)
> - Miniconda Python 3.6 (my own Dockerfile, cf. file 1)
> - Latest spack from github (another Dockerfile derived from file 1, cf. file 
> 2)
> - Then in a bash I ran "spack install dealii -trilinos -oce ^cmake@3.9.4"
>     Since PETSc failed to build some FORTRAN specific stuff (f90-mod) and I 
> assumed we don't need any FORTRAN bindings
>     I ran "spack edit petsc" and set "--with-fc=0", which led to a successful 
> compilation of PETSc.
>     At last the dealii compilation failed but I was not able to deduce any 
> logical steps to take from the error messages.
> A few things:
> 1) there is a binary available for Mac see here  
> http://dealii.org/download.html 
> 
> 2) there are people installing deal.II with spack on mac so you may want to 
> post your problem here so we can help you
> 
> yes. My best guess is that you miss fortran compiler, which is required in a 
> few places for dependencies.
> This is mention here  https://github.com/dealii/dealii/wiki/deal.II-in-Spack
> You would need to install `spack install gcc` and then add `gfortran` to the 
> `clang` compiler family in 
> ~./spack/compilers.yaml
> 
> 3) we have several docker images on dockerhub see 
> https://hub.docker.com/u/dealii/ deal.ii/full-depends was updated two days 
> ago so you may want to give it a try. If you want to have your own 
> Dockerfile, I suggest that you take a look at ours here 
> https://github.com/dealii/docker-files
> 4) your installation fails with this error: 
>       g++: internal compiler error
>    this happens when you don't have enough ram. Try using less processors. 
> You are using 4 right now, try with one.
> 
> you can do that with `spack install -j 1 dealii
> 
> 
> 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 a topic in the Google 
> Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/dealii/PeZZ1I-PICE/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

Reply via email to