Hallo dear reader of my question,
I am trying to help my girlfriend (who studies mechanical engineering) to make dealii available on her Macbook, since she wants to work with this library (project / thesis work).
Originally I tried to install dealii via spack but I failed various times. Hence I decided to use a linux system as the basis, since this seems to be much better supported (according to spack documentation, and github issues of both dealii and spackpm).
Unfortunately there is no up-to-date docker image. In case I shall succeed I am very willing to share my success in the form of such an image. But I am still running into problems with compiling dealii, having had success with the dependencies.
I am incapable of detecting any potential issue / cause of the problem from the spack-build.out. This file is attached to this question as the third file.
The first and second file are two Dockerfiles and hence define exactly on what system I tried to install dealii.
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 ^cm...@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.
If anyone can help me and my girlfriend, I will try my best to make this available to other potential users who are not able to get dealii running. I think a working docker-image of a recent version will be very helpful for many users.
Best regards,
Marquito