Patent ID: 8667502
Filing Date: 2014-03-04
Classification: G06F

Abstract:
1. A method of performing a local barrier operation with a plurality of parallel tasks executing on a compute node of a parallel computer, the method comprising: for each task: retrieving a present value of a counter; calculating, in dependence upon the present value of the counter and a total number of tasks performing the local barrier operation, a base value of the counter, the base value representing the counter's value prior to any task joining the local barrier; calculating, in dependence upon the base value and the total number of tasks performing the local barrier operation, a target value of the counter, the target value representing the counter's value when all tasks have joined the local barrier; joining the local barrier, including atomically incrementing the value of the counter; and repetitively, until the present value of the counter is no less than target value of the counter: retrieving the present value of the counter and determining whether the present value equals the target value.