IMPLEMENTING JACOBI ALGORITHM VERSUS GAUSS-SEIDEL ALGORITHM IN SOLVING A DISCRETIZED PROBLEM

  • Sebastian Sbîrnă
  • , Liana Simona Sbîrnă

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

10 Downloads (Orbit)

Abstract

As it is well known that performance of algorithms generally relies both on the hardware that they are run on and on the way that they are implemented and executed the present paper aims to show that the executions’ wall-clock time might be affected by parallelizing the code, although this could sometimes become a hard task. Within this work, based on Poisson partial differential equation, we shall present different aspects of a comparison between implementing Jacobi algorithm in solving a discretized problem and implementing Gauss-Seidel algorithm in solving the same. On one hand, the results obtained by implementing the Jacobi algorithm benefited very much from the parallelization, so the first case has shown both good performance and scalability when introducing supplementary threads; as its structure always needed to exhibit a complete data copy computed in its former iterations, it became easier for us to have the code parallelly executed, because there was an insignificant risk of data races’ hitting. On the other hand, the results obtained by implementing the Gauss-Seidel algorithm managed to solve the discretized problem, although its performance was not as good as the one of the Jacobi algorithm, so the second case has shown a good execution performance in varying sizes of sequentially executed data, taking into account that, as far as parallelizing was concerned, the performance was unreliable and random.
Original languageEnglish
Title of host publicationProceedings of the The 10th International Conference on Advanced Materials and Systems (ICAMS 2024)
PublisherSciendo
Publication date2024
Pages238-244
DOIs
Publication statusPublished - 2024
EventThe 10th International Conference on Advanced Materials and Systems - Bucharest, Romania
Duration: 30 Oct 202431 Oct 2024

Conference

ConferenceThe 10th International Conference on Advanced Materials and Systems
Country/TerritoryRomania
CityBucharest
Period30/10/202431/10/2024

Keywords

  • Gauss-Seidel algorithm
  • Jacobi algorithm
  • Poisson partial differential equation

Fingerprint

Dive into the research topics of 'IMPLEMENTING JACOBI ALGORITHM VERSUS GAUSS-SEIDEL ALGORITHM IN SOLVING A DISCRETIZED PROBLEM'. Together they form a unique fingerprint.

Cite this