Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Die if the context/synchro option is wrong
[simgrid.git] / src / surf / surf_config.c
index 3f495f3..6cd40b2 100644 (file)
@@ -247,7 +247,7 @@ static void _surf_cfg_cb_contexts_parallel_mode(const char *name, int pos)
     SIMIX_context_set_parallel_mode(XBT_PARMAP_BUSY_WAIT);
   }
   else {
-    XBT_WARN("Command line setting of the parallel synchronization mode should "
+    xbt_die("Command line setting of the parallel synchronization mode should "
         "be one of \"posix\", \"futex\" or \"busy_wait\"");
   }
 }