Simplest and most reliable way to install fenics from source in Ubuntu 16.10 to run C++ examples


123
views
0
3 months ago by
Alex  
After trying to install PETSc and SLEPc I messed up my last Ubuntu install and had to re-install it.

Now I have a new version of Ubuntu 16.10 (side question: what Ubuntu version is best supported for fenics?)

My question is the following: is there a step by step guide, document or script (including compatible versions of the different libraries) that allow one to install fenics from source with all of the optional dependencies
(http://fenics.readthedocs.io/projects/dolfin/en/latest/installation.html)
to run one of the c++ and python examples?
(https://fenicsproject.org/olddocs/dolfin/1.4.0/cpp/demo/index.html)

Is there any up-to-date code that can do what dorsal and Marie Rognes' script do? 
https://bitbucket.org/fenics-project/dorsal-retired
https://gist.github.com/meg-simula/8649896

Also, are the websites above up-to-date?

I would rather not use docker since I am also using ipopt and pyipopt (for dolfin-adjoint) and other c++ libraries that I need to use with fenics in c++ code which I've been able to install but are also difficult to get working properly. 

Thank you,
Alex
Community: FEniCS Project

1 Answer


1
3 months ago by
pf4d  
Dorsal days are done; for easy install use docker, etc.

However, you can see exactly how the devs install FEniCS by learning how docker works and looking at their DockerFiles:

https://bitbucket.org/fenics-project/docker/src

At least, that helped me.

The git clone scripts 

https://fenicsproject.org/download/

did not help you?
Please login to add an answer/comment or follow this question.

Similar posts:
Search »