CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Accessing MPI protocols in solver (

akail April 26, 2013 11:31

Accessing MPI protocols in solver
I am looking at running an OpenFOAM solver in parallel through a scheduling program that we have been working on. This would require passing in a new MPI communicator to the solver being called. I have not found any documentation or examples showing how to directly edit the MPI comm for a solver. Is there a way to access it?


kmooney May 6, 2013 17:57

You could start by taking a look at the mpi wrappers that foam uses, the Pstream functions.

They are found here:


All times are GMT -4. The time now is 10:37.