Section:
New Results
On exploiting sparsity of multiple right-hand sides in sparse direct solvers
Participants :
Patrick Amestoy [INP-IRIT] , Jean-Yves L'Excellent, Gilles Moreau.
The cost of the solution phase in sparse direct methods
is sometimes critical. It can be larger than the one of the factorization in
applications where systems of linear equations with thousands of
right-hand sides (RHS) must be solved.
In this work, we focus on the case of multiple sparse
RHS with different nonzero structures in each column.
Given a factorization of a sparse matrix and the
system (or when focusing on the forward elimination),
the sparsity of can be exploited in two ways.
First, vertical sparsity is exploited
by pruning unnecessary nodes from the elimination tree, which represents the
dependencies between computations in a direct method.
Second, we explain how horizontal sparsity can be exploited by
working on a subset of RHS columns at each node of the tree.
A combinatorial
problem must then be solved in order to permute the columns of and minimize the number of operations.
We propose a new algorithm to build such a permutation, based on the tree and on the sparsity structure of .
We then propose an original approach to split the columns of into a minimal
number of blocks (to preserve flexibility in the implementation or maintain high arithmetic intensity, for example),
while reducing the number of operations down to a given threshold.
Both algorithms are motivated by geometric intuitions and designed using an algebraic approach, and they can be applied
to general systems of linear equations. We demonstrate the effectiveness of our algorithms on systems coming from real applications and
compare them to other standard approaches.
Finally, we give some perspectives and possible applications for this work.
This work is available as a research report [34] and has been submitted to a journal.