core icon indicating copy to clipboard operation
core copied to clipboard

field data verification conflicts with matchedSharing::formCountMap

Open seegyoung opened this issue 8 years ago • 1 comments

MatchedSharing::formCountMap has a round of communications (PCU_Comm_Begin() and PCU_Comm_Send()). If this routine is called inside a round of communication (PCU_Comm_Begin() and PCU_Comm_Send()), the code crashes. For instance, field data verification (pumi_field_verify). See Ken's Multiphase test case.

seegyoung avatar Jan 27 '17 18:01 seegyoung

.... its pretty clear what the solution is. just create the sharing before you call PCU_Comm_Begin, just pass it as an argument to sendFieldData.

ibaned avatar Jan 27 '17 21:01 ibaned