From 517d9d174efe5b6206319896208a4a68d1be7889 Mon Sep 17 00:00:00 2001 From: nnolte <niklas.nolte@cern.ch> Date: Wed, 20 Jul 2022 16:45:18 -0400 Subject: [PATCH] fix barrier name matching for control flow edges --- Hlt/HLTScheduler/src/HLTControlFlowMgr.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Hlt/HLTScheduler/src/HLTControlFlowMgr.cpp b/Hlt/HLTScheduler/src/HLTControlFlowMgr.cpp index 71f930e485b..b531d2f4f56 100644 --- a/Hlt/HLTScheduler/src/HLTControlFlowMgr.cpp +++ b/Hlt/HLTScheduler/src/HLTControlFlowMgr.cpp @@ -1097,8 +1097,9 @@ void HLTControlFlowMgr::configureScheduling() { for ( std::size_t i = 0; i != BarrierInputs.size(); ++i ) { for ( Algorithm const* alg : BarrierInputs[i] ) { - auto node = std::find_if( begin( allBasics ), end( allBasics ), - [&]( VNode const* vnode ) { return getNameOfVNode( *vnode ) == alg->name(); } ); + auto node = std::find_if( begin( allBasics ), end( allBasics ), [&]( VNode const* vnode ) { + return getNameOfVNode( *vnode ) == alg->type() + "/" + alg->name(); + } ); if ( node != std::end( allBasics ) ) { explicitDataDependencies[i].emplace( *node ); } } } -- GitLab