Commit 11ca200
committed
Errorhandler: don't fallback to COMM_WORLD, pass NULL instead
MPI 4.0, page 27 says
> some errors may not have a communicator, window, or file on which
> an error may be raised. In such cases,
> these errors will be raised on the communicator MPI_COMM_SELF when
> using the World Model (see Section 11.2) [...]
By passing NULL (instead of MPI_COMM_WORLD), to ompi_errhandler_invoke
we trigger the right selection of the object to invoke the error on.
Signed-off-by: Joseph Schuchart <[email protected]>1 parent fe92fbe commit 11ca200
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments