Commit e331c313 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Prevent passing of value that might not work for exit(3).

parent cdb033dc
......@@ -66,7 +66,7 @@ void pcdiXMPI(int iret, const char *filename, int line)
"errorString: \"%s\"\n",
rank, filename, line,
errorString[0], errorString[1]);
MPI_Abort(MPI_COMM_WORLD, iret);
MPI_Abort(MPI_COMM_WORLD, 1);
}
/*****************************************************************************/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment