Abstract
This paper presents parallel partition algorithms for solving systems of linear algebraic equations with pentadiagonal and heptadiagonal coefficient matrices. Theorems for the sparsity pattern of the partitioned matrices are formulated and proven. It is proven that both the pentadiagonal and the heptadiagonal partition algorithms in general do not preserve the diagonal dominance. The pentadiagonal algorithm is implemented with the help of CUDA. A survey of its performance on one and two GPUs is made. Configuration programs for the maximum size of an SLAE that can be solved with the pentadiagonal partition algorithm and cuSPARSE pentadiagonal solver are written. The computational times from the pentadiagonal partition method are compared with those from the serial pentadiagonal method, the cuSPARSE pentadiagonal solver, and cuDSS. The results are analyzed and discussed.
Acknowledgements
References
[1] W. Briley, H. McDonald, Solution of the multidimensional compressible Navier–Stokes equations by a generalized implicit method, J. Comput. Phys. 24 (4) (1977) 372–397. doi:10.1016/0021-9991(77)90029-8.
[2] M. Van Daele, G. Berghe, H. De Meyer, Five-diagonal finite difference methods based on mixedtype interpolation for a certain fourth-order two-point boundary-value problem, Comput. Math.Appl. 24 (10) (1992) 55–76. doi:10.1016/0898-1221(92)90019-E.
[3] S. S. Nemani, L. E. Garey, An efficient method for second order boundary value problems with two point boundary conditions, Int. J. Comput. Math. 79 (9) (2002) 1001–1008. doi:10.1080/00207160212122.
[4] J. G. Kim, H. W. Park, Advanced simulation technique for modeling multiphase fluid flow in porous media, in: A. Lagan´a, M. L. Gavrilova, V. Kumar, Y. Mun, C. J. K. Tan, O. Gervasi (Eds.), Computational Science and Its Applications – ICCSA 2004, Springer Berlin Heidelberg, 2004, pp. 1–9. doi:10.1007/978-3-540-24709-8_1.
[5] A. Duran, M. S. Celebi, S. Piskin, M. Tuncel, Scalability of OpenFOAM for bio-medical flow simulations, J. Supercomput. 71 (3) (2015) 938–951. doi:10.1007/s11227-014-1344-1.
[6] M. Zamani, Approximation by a kind of B-spline method, Indian J. Sci. Technol. 4 (2) (2011) 147–150. doi:10.17485/ijst/2011/v4i2.12.
[7] H. H. Wang, A parallel method for tridiagonal equations, ACM Trans. Math. Softw. 7 (2) (1981) 170–183. doi:10.1145/355945.355947.
[8] T. M. Austin, M. Berndt, J. D. Moulton, A memory efficient parallel tridiagonal solver, Preprint LA-VR-03-4149 (2004).
[9] I. G. Ivanov, C. Walshaw, A parallel method for solving pentadiagonal systems of linear equations, Tech. rep. (1998).
[10] A. Ghosh, C. Mishra, A parallel cyclic reduction algorithm for pentadiagonal systems with application to a convection-dominated Heston PDE, SIAM J. Sci. Comput. 43 (2) (2021). doi:10.1137/20M1311053.
[11] NVIDIA, NVIDIA cuSPARSE Library, NVIDIA (2024). URL https://docs.nvidia.com/cuda/cusparse/
[12] Intel, Intel oneAPI Programming Guide (2024). URL https://www.intel.com/content/www/us/en/docs/oneapi/programming-guide/2024-2/overview.html
[13] Intel, Intel oneAPI Math Kernel Library (oneMKL) – Data Parallel C++ Developer Reference (2022).
[14] R. A. Horn, C. R. Johnson, Matrix Analysis, 2nd Edition, Cambridge University Press, 2012.
[15] G. Smith, Memory required for kernel launch, Tech. rep., NVIDIA Developer Forums (2015). URL https://forums.developer.nvidia.com/t/memory-required-for-kernel-launch/
39558/2
[16] G. Smith, What is the memory requirement for a cuda kernel execution?, Tech. rep. (2014). URL https://stackoverflow.com/a/22865553
[17] NVIDIA, NVIDIA cuSOLVER Library, NVIDIA (2026). URL https://docs.nvidia.com/cuda/cusolver/
[18] NVIDIA, NVIDIA CUDA C++ Programming Guide. Design Guide, PG-02829-001_v11.7, NVIDIA Corporation (2022).
URL https://docs.nvidia.com/cuda/cuda-c-programming-guide/
[19] A. A. Samarskii, E. S. Nikolaev, Metody Resheniya Setochnykh Uravnenii, M.: Nauka, 1978.
[20] NVIDIA, NVIDIA RTX A5000 datasheet, Tech. rep. (2021). URL https://nvdam.widen.net/s/wrqrqt75vh/nvidia-rtx-a5000-datasheet
[21] NVIDIA, Introducing NVIDIA RTX A5000 graphics card, Tech. rep. (2021). URL https://www.nvidia.com/en-us/design-visualization/rtx-a5000/
[22] NVIDIA, NVIDIA cuDSS Library, NVIDIA (2026). URL https://docs.nvidia.com/cuda/cudss/
[23] NVIDIA, Kernel Profiling Guide. User Manual (2023).
[24] NVIDIA, Nsight Compute Command Line Interface. User Manual (2022).
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.