From e7581a5948b352227119891e38fd1932c6692a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Mon, 20 May 2024 21:02:33 +0200 Subject: [PATCH] #2201: temperedlb: filter by `isMigratable` --- src/vt/vrt/collection/balance/temperedlb/temperedlb.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vt/vrt/collection/balance/temperedlb/temperedlb.cc b/src/vt/vrt/collection/balance/temperedlb/temperedlb.cc index eac6382c08..27bbf13ad0 100644 --- a/src/vt/vrt/collection/balance/temperedlb/temperedlb.cc +++ b/src/vt/vrt/collection/balance/temperedlb/temperedlb.cc @@ -1101,7 +1101,9 @@ void TemperedLB::doLBStages(LoadType start_imb) { // Copy this node's object assignments to a local, mutable copy cur_objs_.clear(); for (auto obj : *load_model_) { - cur_objs_[obj] = getModeledValue(obj); + if (obj.isMigratable()) { + cur_objs_[obj] = getModeledValue(obj); + } } send_edges_.clear();