A Comparative Evaluation of Parallel Programming Python Tools for Particle-in-Cell on Symmetric Multiprocessors

Oscar Blandino H, Esteban Meneses

Producción científica: Capítulo del libro/informe/acta de congresoContribución a la conferenciarevisión exhaustiva

1 Cita (Scopus)

Resumen

The Python programming language has established itself as a popular alternative for implementing scientific computing workflows. Its massive adoption across a wide spectrum of disciplines has created a strong community that develops tools for solving complex problems in science and engineering. In particular, there are several parallel programming libraries for Python codes that target multicore processors. We aim at comparing the performance and scalability of a subset of three popular libraries (Multiprocessing, PyMP, and Torcpy). We use the Particle-in-cell (PIC) method as a benchmark. This method is an attractive option for understanding physical phenomena, specially in plasma physics. A pre-existing PIC code implementation was modified to integrate Multiprocessing, PyMP, and Torcpy. The three tools were tested on a manycore and on a multicore processor by running different problem sizes. The results obtained consistently indicate that PyMP has the best performance, Multiprocessing showed a similar behavior but with longer execution times, and Torcpy did not properly scale when increasing the number of workers. Finally, a just-in-time (JIT) alternative was studied by using Numba, showing execution time reductions of up to 43%.

Idioma originalInglés
Título de la publicación alojadaHigh Performance Computing - 9th Latin American Conference, CARLA 2022, Revised Selected Papers
EditoresPhilippe Navaux, Carlos J. Barrios H., Carla Osthoff, Ginés Guerrero
EditorialSpringer Science and Business Media Deutschland GmbH
Páginas1-15
Número de páginas15
ISBN (versión impresa)9783031238208
DOI
EstadoPublicada - 2022
Evento9th Latin American High Performance Computing Conference, CARLA 2022 - Porto Alegre, Brasil
Duración: 26 sept 202230 sept 2022

Serie de la publicación

NombreCommunications in Computer and Information Science
Volumen1660 CCIS
ISSN (versión impresa)1865-0929
ISSN (versión digital)1865-0937

Conferencia

Conferencia9th Latin American High Performance Computing Conference, CARLA 2022
País/TerritorioBrasil
CiudadPorto Alegre
Período26/09/2230/09/22

Huella

Profundice en los temas de investigación de 'A Comparative Evaluation of Parallel Programming Python Tools for Particle-in-Cell on Symmetric Multiprocessors'. En conjunto forman una huella única.

Citar esto