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 for receiving data and a plurality of senders for sending data, the method comprising: providing each of the nodes with a class bit map each of a multitude of the nodes taking input bits from a set of the receivers of said each node; dividing the input bits from the receivers into a plurality of classes; combining the input bits of each of the classes in accordance with said class bit map to obtain a result bit set; and sending said result bit set to a set of the senders of said each node to embed a global barrier and global network in the torus network.