Missing upc barrier before exit

From HPCBugBase

Jump to: navigation, search

HPCBugBase Menu

Submit feedback


Overview


Index


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 

Personal tools