Optimizing Sparse Matrix-Multiple Vectors Multiplication for Nuclear Configuration Interaction Calculations
Authors:
- Hasan Metin AktulgaHAHasan Metin Aktulga
- Aydin BulucABAydin Buluc
- Samuel WilliamsSWSamuel Williams
- Chao YangCYChao Yang
- 1 May 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15302075,p. 1213-1222
Abstract
Obtaining highly accurate predictions on the properties of light atomic nuclei using the configuration interaction (CI) approach requires computing a few extremal Eigen pairs of the many-body nuclear Hamiltonian matrix. In the Many-body Fermion Dynamics for nuclei (MFDn) code, a block Eigen solver is used for this purpose. Due to the large size of the sparse matrices involved, a significant fraction of the time spent on the Eigen value computations is associated with the multiplication of a sparse matrix (and the transpose of that matrix) with multiple vectors (SpMM and SpMM_T). Existing implementations of SpMM and SpMM_T significantly underperform expectations. Thus, in this paper, we present and analyze optimized implementations of SpMM and SpMM_T. We base our implementation on the compressed sparse blocks (CSB) matrix format and target systems with multi-core architectures. We develop a performance model that allows us to understand and estimate the performance characteristics of our SpMM kernel implementations, and demonstrate the efficiency of our implementation on a series of real-world matrices extracted from MFDn. In particular, we obtain 3-4 speedup on the requisite operations over good implementations based on the commonly used compressed sparse row (CSR) matrix format. The improvements in the SpMM kernel suggest we may attain roughly a 40% speed up in the overall execution time of the block Eigen solver used in MFDn.Keywords
This publication has 14 references indexed in Scilit:
- Topology-Aware Mappings for Large-Scale Eigenvalue Problems2012
- Parallel Spectral Clustering in Distributed SystemsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2010
- RooflineCommunications of the ACM, 2009
- Optimization of sparse matrix-vector multiplication on emerging multicore platforms2007
- A tutorial on spectral clusteringStatistics and Computing, 2007
- When cache blocking of sparse matrix vector multiply works and whyApplicable Algebra in Engineering, Communication and Computing, 2007
- OSKI: A library of automatically tuned sparse matrix kernelsJournal of Physics: Conference Series, 2005
- Toward the Optimal Preconditioned Eigensolver: Locally Optimal Block Preconditioned Conjugate Gradient MethodSIAM Journal on Scientific Computing, 2001
- Indexing by latent semantic analysisJournal of the American Society for Information Science, 1990
- Evaluating associativity in CPU cachesIEEE Transactions on Computers, 1989