From: Christophe ThiƩry Date: Wed, 25 Jan 2012 13:16:43 +0000 (+0100) Subject: Die if the context/synchro option is wrong X-Git-Tag: exp_20120216~119^2~14 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/846279ff21bca796cbd1eb12ace540ff5ad0abb6 Die if the context/synchro option is wrong --- diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index 3f495f3e9d..6cd40b291d 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -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\""); } }