Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
test surf-parallel
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Sun, 26 Feb 2012 07:26:31 +0000 (08:26 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 8 Jan 2014 10:32:30 +0000 (11:32 +0100)
src/simix/smx_context_raw.c

index 44a1278..0d6c034 100644 (file)
@@ -580,7 +580,8 @@ static void smx_ctx_raw_runall_parallel(void)
   raw_threads_working = 0;
   xbt_parmap_apply(raw_parmap, (void_f_pvoid_t) smx_ctx_raw_resume_parallel,
                    simix_global->process_to_run,
-                   1 + SIMIX_context_get_parallel_threshold() / SIMIX_context_get_nthreads(), 1);
+                   SIMIX_context_get_parallel_threshold(), 1);
+//                   1 + SIMIX_context_get_parallel_threshold() / SIMIX_context_get_nthreads(), 1);
 #else
   xbt_die("You asked for a parallel execution, but you don't have any threads.");
 #endif