From 03ec99740c03b0a47d4ca06243cb1d62c39240fe Mon Sep 17 00:00:00 2001 From: "raphael.bach" <raphael.bach@etu.hesge.ch> Date: Mon, 13 Jun 2022 11:25:58 +0200 Subject: [PATCH] Aborts with `MPI_ERR_UNKNOWN` in `fmpi_mpi_abort()` --- src/fmpi_mpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmpi_mpi.c b/src/fmpi_mpi.c index 6a16961..68bd962 100644 --- a/src/fmpi_mpi.c +++ b/src/fmpi_mpi.c @@ -169,7 +169,7 @@ void fmpi_mpi_abort(const struct fmpi_mpi_ctx * const ctx) { assert(ctx != NULL); if(fmpi_mpi_finalized(ctx) == false) { - int err_id = MPI_Abort(MPI_COMM_WORLD, 1); + int err_id = MPI_Abort(MPI_COMM_WORLD, MPI_ERR_UNKNOWN); fmpi_mpi_check_error(ctx, err_id, "MPI_Abort"); } } -- GitLab