Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI/LB] Add a XBT_DEBUG statement
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Mon, 10 Sep 2018 11:35:04 +0000 (13:35 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 2 Oct 2018 14:28:39 +0000 (16:28 +0200)
src/smpi/plugins/sampi_loadbalancer.cpp

index b201830..375a624 100644 (file)
@@ -92,6 +92,7 @@ public:
       smpi_execute(xbt_os_timer_elapsed(timer));
 
       // Update the process and host mapping in SimGrid.
       smpi_execute(xbt_os_timer_elapsed(timer));
 
       // Update the process and host mapping in SimGrid.
+      XBT_DEBUG("Migrating process %li from %s to %s", my_proc_id, cur_host->get_cname(), migrate_to_host->get_cname());
       TRACE_smpi_process_change_host(my_proc_id, migrate_to_host);
       simgrid::s4u::this_actor::migrate(migrate_to_host);
     }
       TRACE_smpi_process_change_host(my_proc_id, migrate_to_host);
       simgrid::s4u::this_actor::migrate(migrate_to_host);
     }