CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Solver-specific global communicator (https://www.cfd-online.com/Forums/openfoam/222469-solver-specific-global-communicator.html)

kauraajn November 25, 2019 18:26

Solver-specific global communicator
 
Hi all,


I am trying to run a multiscale application where one of my solvers is the scalar transport in OpenFOAM. To achieve the coupling between solvers, I found a library called MUI, which uses the multiple program multiple data mode of MPI to communicate between different solvers.


It is mandated by MUI that solvers should make no direct reference to MPI_COMM_WORLD for any of its own communications. Instead, a globally accessible MPI communicator must be defined to hold a solver-specific global communicator.



I do not have more than a bare-basic understanding of how MPI works, and would be really grateful if someone could help me with this. Thanks!

xpqiu November 26, 2019 00:06

This commits may help: https://github.com/OpenFOAM/OpenFOAM...e1546a51ecc090

kauraajn November 26, 2019 11:59

Thank you xpqiu. I'll look into it


All times are GMT -4. The time now is 06:38.