Skip to content

Commit

Permalink
Throw error if sequential run executed but MPI parallelisation specified
Browse files Browse the repository at this point in the history
  • Loading branch information
HomesGH authored Jul 29, 2024
1 parent f96e840 commit cf6f978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Simulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,11 @@ void Simulation::readXML(XMLfileUnits& xmlconfig) {
}
#else /* serial */
if(parallelisationtype != "DummyDecomposition") {
Log::global_log->warning()
Log::global_log->error()
<< "Executable was compiled without support for parallel execution: "
<< parallelisationtype
<< " not available. Using serial mode." << std::endl;
//mardyn_exit(1);
mardyn_exit(1);
}
//_domainDecomposition = new DomainDecompBase(); // already set in initialize()
#endif
Expand Down

0 comments on commit cf6f978

Please sign in to comment.