SCOREC / core

parallel finite element unstructured meshes
Other
183 stars 62 forks source link

field data verification conflicts with matchedSharing::formCountMap #69

Open seegyoung opened 7 years ago

seegyoung commented 7 years ago

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.

ibaned commented 7 years ago

.... 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.