diff --git a/tests/ltsmin/modelcheck.cc b/tests/ltsmin/modelcheck.cc index eaee9e1c6..579f65dd2 100644 --- a/tests/ltsmin/modelcheck.cc +++ b/tests/ltsmin/modelcheck.cc @@ -292,7 +292,7 @@ static int checked_main() } } - if (mc_options.model != nullptr) + if (mc_options.model != nullptr && !mc_options.force_parallel) { tm.start("loading ltsmin model"); try @@ -327,6 +327,12 @@ static int checked_main() goto safe_exit; } } + else if (mc_options.force_parallel && mc_options.output) + { + std::cerr << "Cannot combine 'Ouput options' with parallelism.\n" + << "Consider removing -p.\n"; + goto safe_exit; + } if (mc_options.force_parallel == false && mc_options.formula != nullptr &&