Class network routing is implemented in a network such as a computer
network comprising a plurality of parallel compute processors at nodes
thereof. Class network routing allows a compute processor to broadcast a
message to a range (one or more) of other compute processors in the
computer network, such as processors in a column or a row. Normally this
type of operation requires a separate message to be sent to each
processor. With class network routing pursuant to the invention, a single
message is sufficient, which generally reduces the total number of
messages in the network as well as the latency to do a broadcast. Class
network routing is also applied to dense matrix inversion algorithms on
distributed memory parallel supercomputers with hardware class function
(multicast) capability. This is achieved by exploiting the fact that the
communication patterns of dense matrix inversion can be served by
hardware class functions, which results in faster execution times.