E3S Web of Conferences (Jan 2024)

Choosing a library for the Python programming language for visualizing the operation of parallel algorithms

  • Sharov Sergii,
  • Sitsylitsyn Yurii,
  • Naumuk Oleksii,
  • Lubko Dmytro,
  • Kolmakova Vira

DOI
https://doi.org/10.1051/e3sconf/202450803002
Journal volume & issue
Vol. 508
p. 03002

Abstract

Read online

The research compares the capabilities of several libraries for the Python language, which allow creating a test application and visually demonstrate the operation of a parallel program in real time. It was found that the Python language is often used to develop parallel programs with internal and external libraries. To provide multithreading and parallelism, applications created in Python use external libraries, including mpi4py.futures, PETSc for Python, MPI for Python, d2o, Playdoh, PyOMP, and others. Visualization and animation of the operation of parallel programs will help to understand the principles of parallel computing. We compared test applications created with the use of Matplotlib, Seaborn, Plotly, Bokeh, Pygame, PyOpenGL libraries. According to the results of the observation, it was found that the Seaborn library is the best choice for developing a test application for animating the operation of a parallel program.

Keywords