Missing upc barrier before exit
From HPCBugBase
HPCBugBase Menu
Submit feedback
Overview
Index
- Defect types (defect patterns)
- Specific defects (individual defects that belong to a defect type)
- Instances (code examples)
- Articles (various info)
- Templates
- Show all categories
- Show all pages
Index by Languages
Contents |
[edit] Fault Description
In a UPC program, upc_barrier should be called before exit to prevent an issue with some threads exitting before others finish using the data. For example, if thread 0 prints out the output at the end while other threads exit, a race condition might happen.
[edit] Statistics (Frequency)
[edit] Other Findings and Contexts
In MPI, MPI_Finalize usually prevents this problem.
|
Pages referring to this entry: Missing Barrier |
