kth.sePublications KTH
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A Parallel and Highly-Portable HPC Poisson Solver: Preconditioned Bi-CGSTAB with alpaka
KTH, School of Electrical Engineering and Computer Science (EECS), Computer Science, Computational Science and Technology (CST).ORCID iD: 0009-0009-4901-1716
KTH, School of Electrical Engineering and Computer Science (EECS), Computer Science, Computational Science and Technology (CST).ORCID iD: 0000-0002-6384-2630
Helmholtz-Zentrum Dresden-Rossendorf, Dresden, Germany.ORCID iD: 0000-0001-8965-1149
Helmholtz-Zentrum Dresden-Rossendorf, Dresden, Germany.ORCID iD: 0000-0003-1642-0459
Show others and affiliations
2025 (English)In: 2025 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), Institute of Electrical and Electronics Engineers (IEEE) , 2025, p. 473-483Conference paper, Published paper (Refereed)
Abstract [en]

This paper presents the design, implementation, and performance analysis of a parallel and GPU-accelerated Poisson solver based on the Preconditioned Bi-Conjugate Gradient Stabilized (Bi-CGSTAB) method. The implementation utilizes the MPI standard for distributed-memory parallelism, while on-node computation is handled using the alpaka framework: this ensures both shared-memory parallelism and inherent performance portability across different hardware architectures. We evaluate the solver’s performances on CPUs and GPUs (NVIDIA Hopper H100 and AMD MI250X), comparing different preconditioning strategies, including Block Jacobi and Chebyshev iteration, and analyzing the performances both at single and multi-node level. The execution efficiency is characterized with a strong scaling test and using the AMD Omnitrace profiling tool. Our results indicate that a communication-free preconditioner based on the Chebyshev iteration can speed up the solver by more than six times. The solver shows comparable performances across different GPU architectures, achieving a speed-up in computation up to 50 times compared to the CPU implementation. In addition, it shows a strong scaling efficiency greater than 90% up to 64 devices.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE) , 2025. p. 473-483
National Category
Computational Mathematics
Research subject
Applied and Computational Mathematics
Identifiers
URN: urn:nbn:se:kth:diva-368965DOI: 10.1109/IPDPSW66978.2025.00073ISI: 001566005900059Scopus ID: 2-s2.0-105015570366OAI: oai:DiVA.org:kth-368965DiVA, id: diva2:1991526
Conference
IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), Milan, 03-07 June, 2025
Note

Part of ISBN 9798331526436

QC 20250924

Available from: 2025-08-23 Created: 2025-08-23 Last updated: 2026-05-29Bibliographically approved
In thesis
1. Methods for Solving Large-scale Linear Systems in Scientific Computing: Preconditioners and Performance Portability
Open this publication in new window or tab >>Methods for Solving Large-scale Linear Systems in Scientific Computing: Preconditioners and Performance Portability
2025 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

Large-scale simulations play a crucial role in scientific discovery and industrial applications. Many of these simulations require solving large linear systems, which commonly arise in the modeling of fluids, electromagnetic fields,and other physical phenomena. Solving such systems is often computationally expensive and time-consuming, making it a critical component in simulation performance.

This thesis focuses on two types of linear systems that frequently arise in modeling and optimization: saddle-point problems and large-scale Poisson equations. Saddle-point problems naturally occur in coupled systems, such as fluid dynamics involving velocity and pressure, and can often be reformulated as optimization problems. Poisson’s equation, on the other hand, frequently acts as a performance bottleneck in large simulations.

A Jacobi preconditioned Conjugate Gradient and a constraint preconditioned GMRES are evaluated on optimization problems arising in radiotherapy treatment planning; the methods demonstrate good convergence properties. Several preconditioners that were evaluated consider domain decomposition on distributed systems where the quality of the preconditioner is weighted against the communication costs.

A novel Anderson accelerated matrix-splitting method is proposed that behaves similarly to inexact left-preconditioned GMRES. Matrix splitting techniques are especially suitable for saddle-point problems as there are many natural splittings for such systems.

Beyond algorithmic choices, performance is also influenced by modern computing architectures, which are increasingly heterogeneous. Efficient use of these systems often requires hardware-specific implementations, which can be costly to develop and maintain. To address this, various strategies introduce portability layers that abstract away hardware details while maintaining performance.

This thesis presents two approaches for solving large-scale Poisson equations using different portability models. Both methods demonstrate promising results in terms of performance and portability.

Abstract [sv]

Storskaliga simuleringar spelar en avgörande roll inom vetenskaplig forskning och industriella tillämpningar. Många av dessa simuleringar kräver lösning av stora linjära ekvationssystem, som ofta uppstår vid modellering av exempelvis vätskeflöden, elektromagnetiska fält och andra fysikaliska fenomen. Att lösa dessa systemär ofta både beräkningsmässigt krävande och tidsödande, och utgör därför en viktig flaskhals i simuleringarnas prestanda.

Denna avhandling fokuserar på två typer av linjära system som ofta uppstår inom modellering och optimering: sadelpunktsproblem och storskaliga Poisson-ekvationer. Sadelpunktsproblem förekommer naturligt i kopplade system, som inom strömningsmekanik där hastighet och tryck samverkar, och kan ofta omformuleras som optimeringsproblem. Poisson-ekvationen fungerar ofta som en prestandabegränsande faktor i stora simuleringar.

En ny metod för att lösa linjära system med matrisuppdelning föreslås,som beter sig likt inexakt vänster-preconditionerad GMRES med Anderson-acceleration. Matrisuppdelningär särskilt väl lämpad för sadelpunktsproblem. Specifikt utvärderas constraint-preconditionerad GMRES på ett optimeringsproblem som uppstår vid strålterapiplanering. Metoden visar god konvergens i jämförelse med traditionella direkta lösare.

Utöver algoritmval påverkas lösningstidenäven av moderna datorarkitekturer, som blir allt mer heterogena. För att effektivt kunna utföra simuleringar av dessa system krävs ofta hårdvaruspecifik implementation, vilket kan vara resurskrävande. För att förenkla detta har olika strategier utvecklats där portabilitetslager hanteraröversättningen till hårdvaruspecifik kod på ett effektivt sätt.

Avhandlingen presenterar två metoder för att lösa storskaliga Poissonekvationer med hjälp av två olika modeller för portabilitet. Båda metoderna visar goda resultat avseende både prestanda och portabilitet.

Place, publisher, year, edition, pages
Stockholm: KTH Royal Institute of Technology, 2025. p. xii, 91
Series
TRITA-EECS-AVL ; 2025:75
National Category
Computer Sciences Computational Mathematics
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-368974 (URN)978-91-8106-348-6 (ISBN)
Public defence
2025-09-25, https://kth-se.zoom.us/j/65542778560, Kollegiesalen, Brinellvägen 6, Stockholm, 10:00 (English)
Opponent
Supervisors
Note

QC 20250827

Available from: 2025-08-28 Created: 2025-08-25 Last updated: 2025-09-01Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Search in DiVA

By author/editor
Pennati, LucaAndersson, Måns I.Steiniger, KlausWidera, RenéMarkidis, Stefano
By organisation
Computational Science and Technology (CST)
Computational Mathematics

Search outside of DiVA

GoogleGoogle Scholar

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 190 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf