Commit 7bf76a88 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

We can run using MPI without METIS, so allow that

parent 3c61e369
......@@ -907,7 +907,8 @@ void engine_repartition(struct engine *e) {
message("took %.3f %s.", clocks_from_ticks(getticks() - tic),
clocks_getunit());
#else
error("SWIFT was not compiled with MPI and METIS support.");
if (e->reparttype->type != REPART_NONE)
error("SWIFT was not compiled with MPI and METIS support.");
#endif
}
......
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