1. A method of embedding a global barrier and global interrupt network in a parallel computer system organized as a torus network, said computer system including a multitude of nodes, each of the nodes having a plurality of receivers and a plurality of senders, the method comprising: taking inputs from a set of the receivers; dividing the inputs from the receivers into a plurality of classes; combining the inputs of each of the classes to obtain a result; and sending said result to a set of the senders.