X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c53d0aac5a5ab41701f3320d95f1cd2b0f3fd005..489169a6a758347a95e7ec2b9f92543331fb239d:/src/surf/surf.c diff --git a/src/surf/surf.c b/src/surf/surf.c index 3980bb289a..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 {