Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill smpi_process_count(), use smpi_get_universe_size() instead
[simgrid.git] / src / smpi / plugins / sampi_loadbalancer.cpp
index 72a68ca7b1db907760b953cb34a2f372e96c1ca1..dc5dfaa68d084d89e463f46510fbdaadda407766 100644 (file)
@@ -50,7 +50,7 @@ public:
   void kernel(simgrid::xbt::ReplayAction&)
   {
     static std::map<simgrid::s4u::ActorPtr, int> migration_call_counter;
-    static simgrid::s4u::Barrier smpilb_bar(smpi_process_count());
+    static simgrid::s4u::Barrier smpilb_bar(smpi_get_universe_size());
     simgrid::s4u::Host* cur_host = simgrid::s4u::this_actor::get_host();
     simgrid::s4u::Host* migrate_to_host;