Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not hide issues
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 5 Jun 2012 09:07:25 +0000 (11:07 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 5 Jun 2012 09:21:07 +0000 (11:21 +0200)
src/surf/surf.c

index a3d7d52..7777375 100644 (file)
@@ -458,6 +458,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 {