Install fenics on a multi-user system


182
views
0
5 months ago by
Hello everybody,

is there a way to install fenics for a single user on a multi-user system without have the root access?
For many reason I can't use anaconda.

Thank you very much for the help

Best Regards,
M Pesarin
Community: FEniCS Project

1 Answer


0
5 months ago by
The most straightforward way is to build FEniCS from source. That is pretty straightforward for all Python components of FEniCS because almost all dependencies which are not installed on the system can pulled by Pip into your user site. Tricky part is to build DOLFIN and difficulty depends what features you request. For example if you need parallel linear algebra backend then you will have to build PETSc from source unless there is a compatible version on your system already. See https://fenics.readthedocs.io/en/latest/installation.html#from-source, http://fenics-dolfin.readthedocs.io/en/latest/installation.html.

The good approach is to follow the procedure in FEniCS Docker recipes. Specifically dev-env image contains all dependencies of FEniCS. See https://bitbucket.org/fenics-project/docker/src/d55acd193045a97080cf77f4d1b59b57d6f9c09e/dockerfiles/dev-env/Dockerfile?at=master&fileviewer=file-view-default.

Another approach is to use some containerized solution compatible with Docker, if your system supports it. For example https://github.com/NERSC/shifter or http://singularity.lbl.gov/. (Here you find hints how to use Singularity with FEniCS Docker images https://bitbucket.org/fenics-project/docker/pull-requests/23/add-singularity-builds/diff.)
Please login to add an answer/comment or follow this question.

Similar posts:
Search »