In order for MOOSE and OpenFOAM to share an MPI world within Hippo, we needed to patch OpenFOAM to prevent it from calling MPI_Init itself and enable us to pass through a pointer to an already initialised MPI communicator.
This will pose a bit of a maintenance headache in the future and makes it hard to upgrade OpenFOAM and even install Hippo.
We need a plan for how to deal with this in the future. Long term, getting a version of the patch merged upstream is probably the best option.
Context
Outputs
A plan made and discussion recorded on this issue.
Other issues opened to resolve the patching problem.
Description
In order for MOOSE and OpenFOAM to share an MPI world within Hippo, we needed to patch OpenFOAM to prevent it from calling
MPI_Init
itself and enable us to pass through a pointer to an already initialised MPI communicator.This will pose a bit of a maintenance headache in the future and makes it hard to upgrade OpenFOAM and even install Hippo.
We need a plan for how to deal with this in the future. Long term, getting a version of the patch merged upstream is probably the best option.
Context
Outputs