IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v10y2022i14p2546-d868616.html
   My bibliography  Save this article

OMPEGAS: Optimized Relativistic Code for Multicore Architecture

Author

Listed:
  • Elena N. Akimova

    (Krasovskii Institute of Mathematics and Mechanics, Ural Branch of RAS, S. Kovalevskaya Street 16, 620108 Ekaterinburg, Russia
    Department of Information Technologies and Control Systems, Institute of Radioelectronics and Information Technology, Ural Federal University, Mira Street 19, 620002 Ekaterinburg, Russia)

  • Vladimir E. Misilov

    (Krasovskii Institute of Mathematics and Mechanics, Ural Branch of RAS, S. Kovalevskaya Street 16, 620108 Ekaterinburg, Russia
    Department of Information Technologies and Control Systems, Institute of Radioelectronics and Information Technology, Ural Federal University, Mira Street 19, 620002 Ekaterinburg, Russia)

  • Igor M. Kulikov

    (Institute of Computational Mathematics and Mathematical Geophysics SB RAS, 630090 Novosibirsk, Russia)

  • Igor G. Chernykh

    (Institute of Computational Mathematics and Mathematical Geophysics SB RAS, 630090 Novosibirsk, Russia)

Abstract

The paper presents a new hydrodynamical code, OMPEGAS, for the 3D simulation of astrophysical flows on shared memory architectures. It provides a numerical method for solving the three-dimensional equations of the gravitational hydrodynamics based on Godunov’s method for solving the Riemann problem and the piecewise parabolic approximation with a local stencil. It obtains a high order of accuracy and low dissipation of the solution. The code is implemented for multicore processors with vector instructions using the OpenMP technology, Intel SDLT library, and compiler auto-vectorization tools. The model problem of simulating a star explosion was used to study the developed code. The experiments show that the presented code reproduces the behavior of the explosion correctly. Experiments for the model problem with a grid size of 128 × 128 × 128 were performed on an 16-core Intel Core i9-12900K CPU to study the efficiency and performance of the developed code. By using the autovectorization, we achieved a 3.3-fold increase in speed in comparison with the non-vectorized program on the processor with AVX2 support. By using multithreading with OpenMP, we achieved an increase in speed of 2.6 times on a 16-core processor in comparison with the vectorized single-threaded program. The total increase in speed was up to ninefold.

Suggested Citation

  • Elena N. Akimova & Vladimir E. Misilov & Igor M. Kulikov & Igor G. Chernykh, 2022. "OMPEGAS: Optimized Relativistic Code for Multicore Architecture," Mathematics, MDPI, vol. 10(14), pages 1-12, July.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:14:p:2546-:d:868616
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/14/2546/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/14/2546/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. C. Pabst & R. Higgins & J. R. Goicoechea & D. Teyssier & O. Berne & E. Chambers & M. Wolfire & S. T. Suri & R. Guesten & J. Stutzki & U. U. Graf & C. Risacher & A. G. G. M. Tielens, 2019. "Disruption of the Orion molecular core 1 by wind from the massive star θ1 Orionis C," Nature, Nature, vol. 565(7741), pages 618-621, January.
    2. Ji-an Jiang & Mamoru Doi & Keiichi Maeda & Toshikazu Shigeyama & Ken’ichi Nomoto & Naoki Yasuda & Saurabh W. Jha & Masaomi Tanaka & Tomoki Morokuma & Nozomu Tominaga & Željko Ivezić & Pilar Ruiz-Lapue, 2017. "A hybrid type Ia supernova with an early flash triggered by helium-shell detonation," Nature, Nature, vol. 550(7674), pages 80-83, October.
    3. John C. Forbes & Mark R. Krumholz & Nathan J. Goldbaum & Avishai Dekel, 2016. "Suppression of star formation in dwarf galaxies by photoelectric grain heating feedback," Nature, Nature, vol. 535(7613), pages 523-525, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:10:y:2022:i:14:p:2546-:d:868616. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.