View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002815 | OpenFOAM | Feature | public | 2018-01-23 08:57 | 2018-02-02 19:25 |
Reporter | vencels | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Fixed in Version | dev | ||||
Summary | 0002815: Splitting MPI_COMM_WORLD to allow multiple programs run simultaneously | ||||
Description | I am coupling OpenFOAM and Elmer using MPI. Both use MPI_COMM_WORLD for communication with each other and their own communicators (MPI_OF_WORLD and ELMER_COMM_WORLD) are used for local parallelization. Example implementation is here: https://github.com/jvencels/EOF-Library/tree/master/libs/commSplit I propose to make changes in libPstream, the idea is as following: int myGlobalRank; MPI_Comm_rank(MPI_COMM_WORLD, &myGlobalRank); MPI_Comm_split(MPI_COMM_WORLD, 1, myGlobalRank, &Foam::PstreamGlobals::MPI_OF_WORLD); int numprocs; MPI_Comm_size(Foam::PstreamGlobals::MPI_OF_WORLD, &numprocs); int myRank; MPI_Comm_rank(Foam::PstreamGlobals::MPI_OF_WORLD, &myRank); To my knowledge changes are affecting only libPstream. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-23 08:57 | vencels | New Issue | |
2018-01-26 19:33 | henry | Note Added: 0009224 | |
2018-02-02 19:25 | henry | Assigned To | => henry |
2018-02-02 19:25 | henry | Status | new => resolved |
2018-02-02 19:25 | henry | Resolution | open => fixed |
2018-02-02 19:25 | henry | Fixed in Version | => dev |
2018-02-02 19:25 | henry | Note Added: 0009250 |