Skip to content
Snippets Groups Projects
Commit 9de405f5 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix error display when an MPI process fails

Non backtrace errors (normal errors for instance) were silent.
parent ff92eed8
Branches
Tags
1 merge request!180Fix error display when an MPI process fails
...@@ -133,9 +133,9 @@ parser(const std::string& filename) ...@@ -133,9 +133,9 @@ parser(const std::string& filename)
std::exit(1); std::exit(1);
} }
catch (const IExitError& e) { catch (const IExitError& e) {
// Each failing process must write
std::cerr.clear();
std::cerr << ASTBacktrace::getInstance().errorMessageAt(e.what()) << '\n'; std::cerr << ASTBacktrace::getInstance().errorMessageAt(e.what()) << '\n';
finalize();
std::exit(1); std::exit(1);
} }
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment