In a massively parallel computing system having a plurality of nodes
configured in m multi-dimensions, each node including a computing device,
a method for routing packets towards their destination nodes is provided
which includes generating at least one of a 2m plurality of compact bit
vectors containing information derived from downstream nodes. A
multilevel arbitration process in which downstream information stored in
the compact vectors, such as link status information and fullness of
downstream buffers, is used to determine a preferred direction and
virtual channel for packet transmission. Preferred direction ranges are
encoded and virtual channels are selected by examining the plurality of
compact bit vectors. This dynamic routing method eliminates the necessity
of routing tables, thus enhancing scalability of the switch.