A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Die if the context/synchro option is wrong
[simgrid.git]
/
src
/
surf
/
surf_config.c
diff --git
a/src/surf/surf_config.c
b/src/surf/surf_config.c
index
3f495f3
..
6cd40b2
100644
(file)
--- 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 {
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\"");
}
}
"be one of \"posix\", \"futex\" or \"busy_wait\"");
}
}