A block-tridiagonal solver with two-level parallelization for finite element-spectral codes

Two-level parallelization is introduced to solve a massive block-tridiagonal matrix system. One-level is used for distributing blocks whose size is as large as the number of block rows due to the spectral basis, and the other level is used for parallelizing in the block row dimension. The purpose of...

Full description

Bibliographic Details
Main Authors: Lee, Jungpyo, Wright, John C
Other Authors: Massachusetts Institute of Technology. Plasma Science and Fusion Center
Format: Article
Published: Elsevier 2018
Online Access:http://hdl.handle.net/1721.1/113076
_version_ 1826202632592556032
author Lee, Jungpyo
Wright, John C
author2 Massachusetts Institute of Technology. Plasma Science and Fusion Center
author_facet Massachusetts Institute of Technology. Plasma Science and Fusion Center
Lee, Jungpyo
Wright, John C
author_sort Lee, Jungpyo
collection MIT
description Two-level parallelization is introduced to solve a massive block-tridiagonal matrix system. One-level is used for distributing blocks whose size is as large as the number of block rows due to the spectral basis, and the other level is used for parallelizing in the block row dimension. The purpose of the added parallelization dimension is to retard the saturation of the scaling due to communication overhead and inefficiencies in the single-level parallelization only distributing blocks. As a technique for parallelizing the tridiagonal matrix, the combined method of "Partitioned Thomas method" and "Cyclic Odd-Even Reduction" is implemented in an MPI-Fortran90 based finite element-spectral code (TORIC) that calculates the propagation of electromagnetic waves in a tokamak. The two-level parallel solver using thousands of processors shows more than 5 times improved computation speed with the optimized processor grid compared to the single-level parallel solver under the same conditions. Three-dimensional RF field reconstructions in a tokamak are shown as examples of the physics simulations that have been enabled by this algorithmic advance.
first_indexed 2024-09-23T12:12:05Z
format Article
id mit-1721.1/113076
institution Massachusetts Institute of Technology
last_indexed 2024-09-23T12:12:05Z
publishDate 2018
publisher Elsevier
record_format dspace
spelling mit-1721.1/1130762022-09-28T00:42:58Z A block-tridiagonal solver with two-level parallelization for finite element-spectral codes Lee, Jungpyo Wright, John C Massachusetts Institute of Technology. Plasma Science and Fusion Center Lee, Jungpyo Wright, John C Two-level parallelization is introduced to solve a massive block-tridiagonal matrix system. One-level is used for distributing blocks whose size is as large as the number of block rows due to the spectral basis, and the other level is used for parallelizing in the block row dimension. The purpose of the added parallelization dimension is to retard the saturation of the scaling due to communication overhead and inefficiencies in the single-level parallelization only distributing blocks. As a technique for parallelizing the tridiagonal matrix, the combined method of "Partitioned Thomas method" and "Cyclic Odd-Even Reduction" is implemented in an MPI-Fortran90 based finite element-spectral code (TORIC) that calculates the propagation of electromagnetic waves in a tokamak. The two-level parallel solver using thousands of processors shows more than 5 times improved computation speed with the optimized processor grid compared to the single-level parallel solver under the same conditions. Three-dimensional RF field reconstructions in a tokamak are shown as examples of the physics simulations that have been enabled by this algorithmic advance. United States. Department of Energy (Award DE-FC02-99ER54512) 2018-01-12T15:10:30Z 2018-01-12T15:10:30Z 2014-06 2014-04 2018-01-11T16:16:25Z Article http://purl.org/eprint/type/JournalArticle 0010-4655 http://hdl.handle.net/1721.1/113076 Lee, Jungpyo and Wright, John C. “A Block-Tridiagonal Solver with Two-Level Parallelization for Finite Element-Spectral Codes.” Computer Physics Communications 185, 10 (October 2014): 2598–2608 © 2014 Elsevier B.V. http://dx.doi.org/10.1016/j.cpc.2014.06.006 Computer Physics Communications Creative Commons Attribution-NonCommercial-NoDerivs License http://creativecommons.org/licenses/by-nc-nd/4.0/ application/pdf Elsevier MIT Plasma Science & Fusion Center
spellingShingle Lee, Jungpyo
Wright, John C
A block-tridiagonal solver with two-level parallelization for finite element-spectral codes
title A block-tridiagonal solver with two-level parallelization for finite element-spectral codes
title_full A block-tridiagonal solver with two-level parallelization for finite element-spectral codes
title_fullStr A block-tridiagonal solver with two-level parallelization for finite element-spectral codes
title_full_unstemmed A block-tridiagonal solver with two-level parallelization for finite element-spectral codes
title_short A block-tridiagonal solver with two-level parallelization for finite element-spectral codes
title_sort block tridiagonal solver with two level parallelization for finite element spectral codes
url http://hdl.handle.net/1721.1/113076
work_keys_str_mv AT leejungpyo ablocktridiagonalsolverwithtwolevelparallelizationforfiniteelementspectralcodes
AT wrightjohnc ablocktridiagonalsolverwithtwolevelparallelizationforfiniteelementspectralcodes
AT leejungpyo blocktridiagonalsolverwithtwolevelparallelizationforfiniteelementspectralcodes
AT wrightjohnc blocktridiagonalsolverwithtwolevelparallelizationforfiniteelementspectralcodes