Running FEniCS on cluster with MPICH

Hello,
I am trying to use multiprocessing when running FEniCS on cluster (NERSC) using Shifter. This requires manual installation of MPICH to the FEniCS image How to use Shifter - NERSC Documentation . Is there a way to do it? Thank you!

Looking at the documentation, for downloading a docker image with the newer version of FEniCS (FEniCS-X), the following should work:

shifterimg -v pull docker:dolfinx/dolfinx:latest

I think the legacy FEniCS installs mpich using apt-get, so may not be suitable (based on the instructions in the docs), but you could try to set up a docker image based on the dockerfile above for FEniCS and FEniCS-X

2 Likes