Published October 8, 2026 | Journal article | Version v1 | https://doi.org/10.21105/joss.10631

Astaroth: A scientific computing framework for accelerating stencil computations.

  • 1. Aalto University, Finland
  • 2. University of Oulu, Finland
  • 3. University of Helsinki, Finland
  • 4. Academia Sinica Institute of Astronomy and Astrophysics, Taiwan

Files

astaroth-JOSS.zip

Files (39.0 MB)

Name Size Download all
md5:02df95fd70539debbece8739307d4cb3
38.7 MB Preview Download
md5:6359b152e9781d6886a98f023f20a8f5
257.5 kB Preview Download

Additional details

Dates

Issued
October 8, 2026

References

  1. Puro, T., Pekkilä, J., Väisälä, M. S., Lappi, O., Rheinhardt, M., Shang, H., & Korpi-Lagg, M. (2026). Astaroth: A scientific computing framework for accelerating stencil computations. [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.22812004
  2. Pekkilä, J., Lappi, O., Robertsén, F., & Korpi‐Lagg, M. J. (2025). Stencil Computations on AMD and Nvidia Graphics Processors: Performance and Tuning Strategies. Concurrency and Computation: Practice and Experience, 37(12-14). https://doi.org/10.1002/cpe.70129
  3. Väisälä, M. S., Pekkilä, J., Käpylä, M. J., Rheinhardt, M., Shang 尚, H. 賢 ., & Krasnopolsky, R. (2021). Interaction of Large- and Small-scale Dynamos in Isotropic Turbulent Flows from GPU-accelerated Simulations. The Astrophysical Journal, 907(2), 83. https://doi.org/10.3847/1538-4357/abceca
  4. Pekkilä, J., Väisälä, M. S., Käpylä, M. J., Rheinhardt, M., & Lappi, O. (2022). Scalable communication for high-order stencil computations using CUDA-aware MPI. Parallel Computing, 111, Article 102904. https://doi.org/10.1016/j.parco.2022.102904
  5. Väisälä, M. S., Shang, H., Galli, D., Lizano, S., & Krasnopolsky, R. (2023). Exploring the Formation of Resistive Pseudodisks with the GPU Code Astaroth. The Astrophysical Journal, 959(1), 32. https://doi.org/10.3847/1538-4357/acfb00
  6. Pekkilä, J., Väisälä, M. S., Käpylä, M. J., Käpylä, P. J., & Anjum, O. (2017). Methods for compressible fluid simulation on GPUs using high-order finite differences. Computer Physics Communications, 217, 11–22. https://doi.org/10.1016/j.cpc.2017.03.011
  7. Yokelson, D., Lappi, O., Ramesh, S., Väisälä, M. S., Huck, K., Puro, T., Norris, B., Korpi‐Lagg, M., Heljanko, K., & Malony, A. D. (2024). SOMA: Observability, monitoring, and in situ analytics for exascale applications. Concurrency and Computation: Practice and Experience, 36(19). https://doi.org/10.1002/cpe.8141
  8. Gent, F. A., Mac Low, M.-M., Korpi-Lagg, M. J., Puro, T., & Rheinhardt, M. (2026). Asymptotic Behaviour of Galactic Small-scale Dynamos at Modest Magnetic Prandtl Number. The Astrophysical Journal Letters, 1000(2), L40. https://doi.org/10.3847/2041-8213/ae4c41
  9. Puro, T., & Pohjonen, A. (2025). GPU acceleration of average gradient method for solving partial differential equations. Linköping Electronic Conference Proceedings, 211. https://doi.org/10.3384/ecp212.066
  10. Ladino, O., Coelho, B. S., Wyzykowski, A. B. V., & Soares, L. (2025). Acoustic Wave Modeling Using the Astaroth Framework. Empowering the Energy Shift: The Role of HPC in Sustainable Innovation, 1–3. https://doi.org/10.3997/2214-4609.2025643013
  11. Warnecke, J., Korpi-Lagg, M. J., Rheinhardt, M., Viviani, M., & Prabhu, A. (2025). Small-scale and large-scale dynamos in global convection simulations of solar-like stars. Astronomy & Astrophysics, 696, A93. https://doi.org/10.1051/0004-6361/202451085
  12. Roper Pol, A., Mandal, S., Brandenburg, A., Kahniashvili, T., & Kosowsky, A. (2020). Numerical simulations of gravitational waves from early-universe turbulence. Physical Review D, 102(8), Article 083512. https://doi.org/10.1103/physrevd.102.083512
  13. Ragan-Kelley, J., Barnes, C., Adams, A., Paris, S., Durand, F., & Amarasinghe, S. (2013). Halide: a language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines. Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation, 519–530. https://doi.org/10.1145/2491956.2462176
  14. Mullapudi, R. T., Vasista, V., & Bondhugula, U. (2015). PolyMage: Automatic Optimization for Image Processing Pipelines. Proceedings of the Twentieth International Conference on Architectural Support for Programming Languages and Operating Systems, 429–443. https://doi.org/10.1145/2694344.2694364
  15. Trott, C. R., Lebrun-Grandie, D., Arndt, D., Ciesko, J., Dang, V., Ellingwood, N., Gayatri, R., Harvey, E., Hollman, D. S., Ibanez, D., Liber, N., Madsen, J., Miles, J., Poliakoff, D., Powell, A., Rajamanickam, S., Simberg, M., Sunderland, D., Turcksin, B., & Wilke, J. (2022). Kokkos 3: Programming Model Extensions for the Exascale Era. IEEE Transactions on Parallel and Distributed Systems, 33(4), 805–817. https://doi.org/10.1109/tpds.2021.3097283
  16. The Astaroth developers. (2026). Astaroth documentation. https://toxpuro.github.io/astaroth
  17. Beckingsale, D. A., Scogland, T. R., Burmark, J., Hornung, R., Jones, H., Killian, W., Kunen, A. J., Pearce, O., Robinson, P., & Ryujin, B. S. (2019). RAJA: Portable Performance for Large-Scale Scientific Applications. 2019 IEEE/ACM International Workshop on Performance, Portability and Productivity in HPC (P3HPC), 71–81. https://doi.org/10.1109/p3hpc49587.2019.00012
  18. Puro, T. (2023). Programmatic and efficient GPU acceleration of CPU stencil codes [Master's thesis, University of Helsinki]. https://hdl.handle.net/10138/569388
  19. Heinemann, T., Dobler, W., Nordlund, Å., & Brandenburg, A. (2006). Radiative transfer in decomposed domains. Astronomy & Astrophysics, 448(2), 731–737. https://doi.org/10.1051/0004-6361:20053120
  20. Lappi, O. (2021). A task scheduler for Astaroth, the astrophysics simulation framework [Master's thesis, Aalto University]. https://urn.fi/URN:NBN:fi-fe2021050428868
  21. Pekkilä, J. (2026). Graphics processors in high-performance computing: Practice and experience in the simulation of astrophysical magnetohydrodynamics and turbulence [PhD thesis, Aalto University School of Science]. https://urn.fi/URN:ISBN:978-952-64-3160-4
  22. Christen, M., Schenk, O., & Burkhart, H. (2011). PATUS: A Code Generation and Autotuning Framework for Parallel Iterative Stencil Computations on Modern Microarchitectures. 2011 IEEE International Parallel & Distributed Processing Symposium, 676–687. https://doi.org/10.1109/ipdps.2011.70
  23. Lutz, T., Fensch, C., & Cole, M. (2013). PARTANS: An autotuning framework for stencil computation on multi-GPU systems. ACM Transactions on Architecture and Code Optimization, 9(4), 1–24. https://doi.org/10.1145/2400682.2400718
  24. Goodale, T., Allen, G., Lanfermann, G., Massó, J., Radke, T., Seidel, E., & Shalf, J. (2003). The Cactus Framework and Toolkit: Design and Applications. In Lecture Notes in Computer Science (pp. 197–227). Springer Berlin Heidelberg. https://doi.org/10.1007/3-540-36569-9_13
  25. Grete, P., Dolence, J. C., Miller, J. M., Brown, J., Ryan, B., Gaspar, A., Glines, F., Swaminarayan, S., Lippuner, J., Solomon, C. J., Shipman, G., Junghans, C., Holladay, D., Stone, J. M., & Roberts, L. F. (2022). Parthenon—a performance portable block-structured adaptive mesh refinement framework. The International Journal of High Performance Computing Applications, 37(5), 465–486. https://doi.org/10.1177/10943420221143775

1–25 of 35