Skip to content
Snippets Groups Projects

Fix error display when an MPI process fails

Merged Stéphane Del Pino requested to merge fix/parallel-error-display into develop
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -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 {
Loading