CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Accessing MPI protocols in solver (https://www.cfd-online.com/Forums/openfoam-programming-development/116858-accessing-mpi-protocols-solver.html)

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?

Thanks

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:

$FOAM_SRC/Pstream/mpi/


All times are GMT -4. The time now is 07:05.