Additional error message for broken MPI
@@ -175,6 +175,12 @@ namespace eval turbine {
set n_workers_by_type [ dict create ]
set n_workers [ expr { $adlb_size - $n_servers } ]
+ if { $n_workers == 0 } {
+ turbine_fail "You have 0 workers!\n" \
+ "Check your MPI configuration. " \
+ "There may be a mix of MPICH and OpenMPI."
+ }
+
set workers_running_sum 0
variable addtl_work_types
