[Paper Review] Nuclear shell-model code for massive parallel computation, "KSHELL"
KSHELL is a new nuclear shell-model code designed for massive parallel computation using OpenMP-MPI hybrid parallelization. It employs on-the-fly Hamiltonian matrix generation and Thick-Restart Lanczos method in the M-scheme, achieving high parallel efficiency and scaling to 8192 cores on the FX10 supercomputer, with a 1.09×10⁹-dimensional eigenvalue problem solved in 145 seconds.
A new code for nuclear shell-model calculations, "KSHELL", is developed. It aims at carrying out both massively parallel computation and single-node computation in the same manner. We solve the Schrödinger's equation in the $M$-scheme shell-model model space, utilizing Thick-Restart Lanczos method. During the Lanczos iteration, the whole Hamiltonian matrix elements are generated "on-the-fly" in every matrix-vector multiplication. The vectors of the Lanczos method are distributed and stored on memory of each parallel node. We report that the newly developed code has high parallel efficiency on FX10 supercomputer and a PC with multi-cores.
Motivation & Objective
- To develop a publicly available, scalable shell-model code capable of both single-node and massively parallel computations.
- To overcome memory limitations in large-scale M-scheme shell-model calculations through distributed storage of Lanczos vectors across MPI nodes.
- To enable efficient computation of highly excited non-yrast states via recursive angular momentum projection in the Lanczos method.
- To support arbitrary truncation schemes by partitioning the M-scheme basis into sectors based on occupation numbers and Mz values.
- To provide accurate spectroscopic observables such as E2, M1, E1 transition strengths and electromagnetic moments without additional post-processing.
Proposed method
- Uses the M-scheme formalism with bit representation for efficient manipulation of many-body configurations.
- Performs matrix-vector multiplication with on-the-fly generation of Hamiltonian matrix elements during Lanczos iterations.
- Applies the Thick-Restart Lanczos method to reduce reorthogonalization overhead and improve convergence.
- Splits the M-scheme basis into 'partitions' (or 'sectors') based on proton and neutron occupation numbers and Mz quantum numbers for load balancing.
- Distributes Lanczos vectors across MPI nodes in units of partitions, enabling storage of up to ~100 vectors in memory for faster reorthogonalization.
- Implements recursive Lanczos-based projection to obtain good total-angular-momentum states, especially useful for non-yrast configurations.
Experimental results
Research questions
- RQ1Can a shell-model code be designed to efficiently scale from a single PC to thousands of cores with minimal architectural changes?
- RQ2How can memory bottlenecks in large-scale M-scheme shell-model calculations be mitigated through distributed storage of Lanczos vectors?
- RQ3What is the performance scaling of a shell-model code using on-the-fly matrix generation and hybrid OpenMP-MPI parallelization on modern supercomputers?
- RQ4To what extent can recursive Lanczos projection improve the accuracy and efficiency of non-yrast state calculations?
- RQ5Can the code handle M-scheme dimensions exceeding 10¹⁰ while maintaining high computational efficiency on both supercomputers and standard PCs?
Key findings
- KSHELL achieves strong scaling up to 8192 cores on the FX10 supercomputer, solving a 1.087×10⁹-dimensional eigenvalue problem in 145 seconds.
- The code demonstrates near-perfect strong scaling on a PC with OpenMP threads, though hyper-threading provides negligible performance gain.
- Memory usage is drastically reduced by distributing Lanczos vectors across MPI nodes in partition units, enabling storage of up to ~100 vectors in main memory.
- The on-the-fly generation of Hamiltonian matrix elements avoids pre-computation and reduces memory footprint, especially beneficial for large-scale calculations.
- The code computes electromagnetic transition strengths (E2, M1, E1) and moments directly within the Lanczos iteration without additional post-processing.
- KSHELL supports calculations with M-scheme dimensions up to O(10¹⁰), with the potential to scale further, and is publicly available with a dialogue-type Python interface.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.