1. A method for enhancing barrier collective synchronization on a computer system, comprising: providing a computer system including a data storage device, the computer system including a program stored in the data storage device and steps of the program being executed by a processor, the computer system including a multiplicity of processors; providing a plurality of communicators for storing state information for a barrier algorithm; each communicator designating a master core; allocating a counter for each of a plurality of threads; configuring a table with a number of entries equal to a maximum number of threads; setting a table entry with an ID associated with a communicator when a process thread initiates a collective; and determining the allocated counter by searching entries in the table.