Skip to content

Commit 1c1e05f

Browse files
committed
Driver now outputs any unmatched correlation IDs and associated information as recoverable errors at the end of the run
1 parent 8d15009 commit 1c1e05f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/chimbuko.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,15 @@ void Chimbuko::run(unsigned long long& n_func_events,
604604

605605
//Always dump perf at end
606606
m_perf.write();
607+
608+
//For debug purposes, write out any unmatched correlation ID events that we encountered as recoverable errors
609+
if(m_event->getUnmatchCorrelationIDevents().size() > 0){
610+
for(auto c: m_event->getUnmatchCorrelationIDevents()){
611+
std::stringstream ss;
612+
ss << "Unmatched correlation ID: " << c.first << " from event " << c.second->get_json().dump();
613+
recoverable_error(ss.str());
614+
}
615+
}
607616

608617
headProgressStream(m_params.rank) << "driver rank " << m_params.rank << " run complete" << std::endl;
609618
}

0 commit comments

Comments
 (0)