Instructions on how to build FEniCS with MPI support

426 views
Skip to first unread message

Bruno Mundim

unread,
Mar 7, 2017, 6:09:53 PM3/7/17
to fenics-support
Hi,

I am trying to evaluate the feasibility of building and running FEniCS
on our cluster, but I am having trouble to find specific instructions
on how to compile it from source with MPI support. I would appreciate
if you could point me to the right documentation.

Thanks,
Bruno.

Jan Blechta

unread,
May 28, 2017, 5:12:36 PM5/28/17
to Bruno Mundim, fenics-support
See https://fenicsproject.org/download/. Python packages are built
using standard procedures. Building of DOLFIN is more complicated and
described in detail at
https://fenics.readthedocs.io/projects/dolfin/en/latest/installation.html.

Jan

Jack Hale

unread,
May 29, 2017, 3:30:06 AM5/29/17
to Jan Blechta, Bruno Mundim, fenics-support
Hi Bruno,

The Dockerfiles https://bitbucket.org/fenics-project/docker/src
provide a reasonable 'living' set of instructions on what dependencies
are required to build the complete FEniCS stack, and how to compile
FEniCS itself. We've produced something that works on Redhat-type
systems by straightforward inspection and translation of these files.

You could also take a look at my own scripts for our cluster. They are
deliberately rough and ready for transparency, but they do the job:

https://bitbucket.org/unilucompmech/fenics-gaia-cluster/overview

Because of the out of date software on our cluster I compile
everything except the compiler and Python.

However, if you have a reasonably complete and up-to-date modules
system on your cluster I would advise pulling in compilers and as many
libraries as possible (Boost, MPI, HDF5, Python, BLAS, Eigen etc.)
from there and then compiling your own PETSc (see dev-env/Dockerfile
for good options), SLEPc, then building the FEniCS Python packages
(instant, dijitso, ffc, fiat) and then finally DOLFIN.
Jack Hale
> --
> You received this message because you are subscribed to the Google Groups "fenics-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fenics-suppor...@googlegroups.com.
> To post to this group, send email to fenics-...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/fenics-support/20170528231234.63ca96ef%40gott.
> For more options, visit https://groups.google.com/d/optout.

Jack Hale

unread,
May 29, 2017, 3:31:08 AM5/29/17
to Jan Blechta, Bruno Mundim, fenics-support
Not forgetting the FEniCS Python package UFL, of course!
Jack Hale
Reply all
Reply to author
Forward
0 new messages