We show how to exploit graph sparsity in the \FW algorithm for the all-pairs shortest path (\APSP) problem. \FW is an attractive choice for \APSP on high-performing systems due to its structural similarity to solving dense linear systems and matrix multiplication. However, if sparsity of the input graph is not properly exploited, \FW will perform unnecessary asymptotic work and thus may not be a suitable choice for many input graphs. To overcome this limitation, the key idea in our approach is to use the known algebraic relationship between \FW and Gaussian elimination, and thereby import several algorithmic techniques from sparse Cholesky factorization, namely, fill-in reducing ordering, symbolic analysis, supernodal traversal, and elimination tree parallelism. When combined, these techniques reduce computation, improve locality, and enhance parallelism. We implement these ideas in an efficient shared memory parallel prototype that is orders of magnitude faster than a baseline \FW that does not exploit sparsity. Our experiments suggest that \FW algorithm can be competitive with Dijkstra’s algorithm (the algorithmic core of Johnson’s algorithm) for several classes sparse graphs.
Tue 25 FebDisplayed time zone: Tijuana, Baja California change
14:00 - 15:15 | Graph (Mediterranean Ballroom)Main Conference Chair(s): Jiajia Li Pacific Northwest National Laboratory | ||
14:00 25mTalk | Practical Parallel Hypergraph Algorithms Main Conference Julian Shun MIT | ||
14:25 25mTalk | A Supernodal All-Pairs Shortest Path Algorithm Main Conference piyush kumar sao Oak Ridge National Lab, Ramki Kannan Oak Ridge National Laboratory, Prasun Gera Georgia Institute of Technology, Rich Vuduc Georgia Institute of Technology | ||
14:50 25mTalk | Increasing the Parallelism of Graph Coloring via Shortcutting Main Conference Ghadeer Alabandi Texas State University, Evan Powers Texas State University, Martin Burtscher Texas State University |