X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa42487c90223126c2e27ff12ca34ad4f22bb2a1..489169a6a758347a95e7ec2b9f92543331fb239d:/src/surf/surf.c diff --git a/src/surf/surf.c b/src/surf/surf.c index 36980e102f..64b50d010b 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -525,6 +525,8 @@ double surf_solve(double max_date) /* parallel version */ #ifdef CONTEXT_THREADS xbt_parmap_apply(surf_parmap, (void_f_pvoid_t) surf_share_resources, model_list); +#else + xbt_die("Asked to run in parallel, but no thread at hand..."); #endif } else { @@ -542,7 +544,7 @@ double surf_solve(double max_date) } } - XBT_DEBUG("Min for resources (remember that NS3 dont update that value) : %f", min); + XBT_DEBUG("Min for resources (remember that NS3 don't update that value) : %f", min); XBT_DEBUG("Looking for next trace event");