diff --git a/src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc b/src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc index 20819abffc..ac1efe7384 100644 --- a/src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc +++ b/src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc @@ -180,6 +180,18 @@ LBManager::runLB(LBProxyType base_proxy, PhaseType phase) { strat->applyMigrations(strat->getTransfers()); }); + runInEpochCollective([=] { + auto node_load = theNodeStats()->getNodeLoad(); + auto load = node_load->find(thePhase()->getCurrentPhase()); + if (load == node_load->end() or + (load != node_load->end() and load->second.empty())) { + vt_debug_print( + lb, node, + "LBManager: node has no objects assigned after migration\n" + ); + } + }); + vt_debug_print( lb, node, "LBManager: finished migrations\n"