Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enable SIMIX parallel mode for parmap_{bench,text}.
[simgrid.git] / teshsuite / xbt / parmap_test / parmap_test.cpp
index cfb1684..2e4416f 100644 (file)
@@ -83,7 +83,9 @@ static int test_parmap_extended(e_xbt_parmap_mode_t mode)
 int main(int argc, char** argv)
 {
   int status = 0;
+  xbt_log_control_set("parmap_test.fmt:[%c/%p]%e%m%n");
   MSG_init(&argc, argv);
+  SIMIX_context_set_nthreads(16); // dummy value > 1
 
   XBT_INFO("Basic testing posix");
   status += test_parmap_basic(XBT_PARMAP_POSIX);