Published July 10, 2021 | Journal article | Version v1 | https://doi.org/10.21105/joss.03068

Nyx: A Massively Parallel AMR Code for Computational Cosmology

Files

joss.03068.pdf

Files (52.8 MB)

Name Size Download all
md5:ae7531a67a3ee1948140cd78a2cb9047
52.7 MB Preview Download
md5:4063e50c41d00edaff1e7bfef2f4558e
138.8 kB Preview Download

Additional details

Dates

Issued
July 10, 2021

References

  1. Sexton, J., Lukic, Z., Almgren, A., Daley, C., Friesen, B., Myers, A., & Zhang, W. (2021). Nyx: A Massively Parallel AMR Code for Computational Cosmology (Version 21.07) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.5059767
  2. Strang, G. (1968). On the Construction and Comparison of Difference Schemes. SIAM Journal on Numerical Analysis, 5(3), 506–517. https://doi.org/10.1137/0705041
  3. Oñorbe, J., Davies, F. B., Lukić, Z., Hennawi, J. F., & Sorini, D. (2019). Inhomogeneous reionization models in cosmological hydrodynamical simulations. Monthly Notices of the Royal Astronomical Society, 486(3), 4075–4097. https://doi.org/10.1093/mnras/stz984
  4. Almgren, A. S., Bell, J. B., Lijewski, M. J., Lukić, Z., & Van Andel, E. (2013). Nyx: A MASSIVELY PARALLEL AMR CODE FOR COMPUTATIONAL COSMOLOGY. The Astrophysical Journal, 765(1), 39. https://doi.org/10.1088/0004-637x/765/1/39
  5. Fan, D., Nonaka, A., Almgren, A. S., Harpole, A., & Zingale, M. (2019). MAESTROeX: A Massively Parallel Low Mach Number Astrophysical Solver. The Astrophysical Journal, 887(2), 212. https://doi.org/10.3847/1538-4357/ab4f75
  6. Zhang, W., Almgren, A., Beckner, V., Bell, J., Blaschke, J., Chan, C., Day, M., Friesen, B., Gott, K., Graves, D., Katz, M., Myers, A., Nguyen, T., Nonaka, A., Rosso, M., Williams, S., & Zingale, M. (2019). AMReX: a framework for block-structured adaptive mesh refinement. Journal of Open Source Software, 4(37), 1370. https://doi.org/10.21105/joss.01370
  7. Zingale, M., Eiden, K., Cavecchi, Y., Harpole, A., Bell, J. B., Chang, M., Hawke, I., Katz, M. P., Malone, C. M., Nonaka, A. J., Willcox, D. E., & Zhang, W. (2019). Toward Resolved Simulations of Burning Fronts in Thermonuclear X-ray Bursts. Journal of Physics: Conference Series, 1225(1), 012005. https://doi.org/10.1088/1742-6596/1225/1/012005
  8. Almgren, A. S., Beckner, V. E., Bell, J. B., Day, M. S., Howell, L. H., Joggerst, C. C., Lijewski, M. J., Nonaka, A., Singer, M., & Zingale, M. (2010). CASTRO: A NEW COMPRESSIBLE ASTROPHYSICAL SOLVER. I. HYDRODYNAMICS AND SELF-GRAVITY. The Astrophysical Journal, 715(2), 1221–1238. https://doi.org/10.1088/0004-637x/715/2/1221
  9. Colella, P., & Woodward, P. R. (1984). The Piecewise Parabolic Method (PPM) for gas-dynamical simulations. Journal of Computational Physics, 54(1), 174–201. https://doi.org/10.1016/0021-9991(84)90143-8
  10. Colella, P. (1990). Multidimensional upwind methods for hyperbolic conservation laws. Journal of Computational Physics, 87(1), 171–200. https://doi.org/10.1016/0021-9991(90)90233-q
  11. Miniati, F., & Colella, P. (2007). Block structured adaptive mesh and time refinement for hybrid, hyperbolic+N-body systems. Journal of Computational Physics, 227(1), 400–430. https://doi.org/10.1016/j.jcp.2007.07.035
  12. Carter Edwards, H., Trott, C. R., & Sunderland, D. (2014). Kokkos: Enabling manycore performance portability through polymorphic memory access patterns. Journal of Parallel and Distributed Computing, 74(12), 3202–3216. https://doi.org/10.1016/j.jpdc.2014.07.003
  13. 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
  14. Bryan, G. L., Norman, M. L., O'Shea, B. W., Abel, T., Wise, J. H., Turk, M. J., Reynolds, D. R., Collins, D. C., Wang, P., Skillman, S. W., Smith, B., Harkness, R. P., Bordner, J., Kim, J.-. hoon ., Kuhlen, M., Xu, H., Goldbaum, N., Hummels, C., Kritsuk, A. G., … Collaboration, T. E. (2014). ENZO: AN ADAPTIVE MESH REFINEMENT CODE FOR ASTROPHYSICS. The Astrophysical Journal Supplement Series, 211(2), 19. https://doi.org/10.1088/0067-0049/211/2/19
  15. Fryxell, B., Olson, K., Ricker, P., Timmes, F. X., Zingale, M., Lamb, D. Q., MacNeice, P., Rosner, R., Truran, J. W., & Tufo, H. (2000). FLASH: An Adaptive Mesh Hydrodynamics Code for Modeling Astrophysical Thermonuclear Flashes. The Astrophysical Journal Supplement Series, 131(1), 273–334. https://doi.org/10.1086/317361
  16. Teyssier, R. (2002). Cosmological hydrodynamics with adaptive mesh refinement: A new high resolution code called RAMSES. Astronomy & Astrophysics, 385(1), 337–364. https://doi.org/10.1051/0004-6361:20011817
  17. Kravtsov, A. V., Klypin, A. A., & Khokhlov, A. M. (1997). Adaptive Refinement Tree: A New High‐Resolution N ‐Body Code for Cosmological Simulations. The Astrophysical Journal Supplement Series, 111(1), 73–94. https://doi.org/10.1086/313015
  18. Schaller, M., Gonnet, P., Chalk, A. B. G., & Draper, P. W. (2016). SWIFT: Using Task-Based Parallelism, Fully Asynchronous Communication, and Graph Partition-Based Domain Decomposition for Strong Scaling on more than 100,000 Cores. Proceedings of the Platform for Advanced Scientific Computing Conference, 1–10. https://doi.org/10.1145/2929908.2929916
  19. Weinberger, R., Springel, V., & Pakmor, R. (2020). The AREPO Public Code Release. The Astrophysical Journal Supplement Series, 248(2), 32. https://doi.org/10.3847/1538-4365/ab908c
  20. Wadsley, J. W., Keller, B. W., & Quinn, T. R. (2017). Gasoline2: a modern smoothed particle hydrodynamics code. Monthly Notices of the Royal Astronomical Society, 471(2), 2357–2369. https://doi.org/10.1093/mnras/stx1643
  21. Springel, V., Pakmor, R., Zier, O., & Reinecke, M. (2021). Simulating cosmic structure formation with the gadget-4 code. Monthly Notices of the Royal Astronomical Society, 506(2), 2871–2949. https://doi.org/10.1093/mnras/stab1855
  22. Hopkins, P. F. (2015). A new class of accurate, mesh-free hydrodynamic simulation methods. Monthly Notices of the Royal Astronomical Society, 450(1), 53–110. https://doi.org/10.1093/mnras/stv195
  23. Villasenor, B., Robertson, B., Madau, P., & Schneider, E. (2021). Effects of Photoionization and Photoheating on Lyα Forest Properties from Cholla Cosmological Simulations. The Astrophysical Journal, 912(2), 138. https://doi.org/10.3847/1538-4357/abed5a
  24. Astrophysical and cosmological phenomena involve a large variety of physical processes, and can encompass an enormous range of scales. To effectively investigate these phenomena computationally, applications must similarly support modeling these phenomena on enormous ranges of scales; furthermore, they must do so efficiently on high-performance computing platforms of ever-increasing parallelism and complexity. We describe Enzo-P, a Petascale redesign of the ENZO adaptive mesh refinement astrophysics and cosmology application, along with Cello, a reusable and scalable adaptive mesh refinement software framework, on which Enzo-P is based. Cello's scalability is enabled by the Charm++ Parallel Programming System, whose data-driven asynchronous execution model is ideal for taking advantage of the available but irregular parallelism in adaptive mesh refinement-based applications. We present scaling results on the NSF Blue Waters supercomputer, and outline our future plans to bring Enzo-P to the Exascale Era by targeting highly-heterogeneous accelerator-based platforms., Bordner, James and Norman, Michael L., Astrophysics,Index Terms-Adaptive mesh refinement,Octrees,Petascale computing, oct, Computational Cosmology and Astrophysics on Adaptive Meshes using Charm++, http://arxiv.org/abs/1810.01319, 2018, 10
  25. Norman, M. L., Smith, B. D., & Bordner, J. (2018). Simulating the Cosmic Dawn With Enzo. Frontiers in Astronomy and Space Sciences, 5. https://doi.org/10.3389/fspas.2018.00034

Citations

  1. Chaves-Montero, J., Font-Ribera, A., McDonald, P., Armengaud, E., Chebat, D., Garcia-Quintero, C., Karaçaylı, N. G., Ravoux, C., Satyavolu, S., Schöneberg, N., Walther, M., Aguilar, J., Ahlen, S., Bailey, S., Bianchi, D., Brooks, D., Claybaugh, T., Cuceu, A., de la Macorra, A., … Zou, H. (2026). Cosmological analysis of the DESI DR1 Ly α 1D power spectrum. Journal of Cosmology and Astroparticle Physics, 2026(06), 040. https://doi.org/10.1088/1475-7516/2026/06/040
  2. Karaçaylı, N. G., Ivanov, M. M., de Belsunce, R., Ravoux, C., Sexton, J. M., & Lukić, Z. (2026). Analytic compression of the effective field theory of the Lyman-alpha forest. Journal of Cosmology and Astroparticle Physics, 2026(10), 039. https://doi.org/10.1088/1475-7516/2026/10/039
  3. Walther, M., Schöneberg, N., Chabanier, S., Armengaud, E., Sexton, J., Yèche, C., Lesgourgues, J., Mosbech, M. R., Ravoux, C., Palanque-Delabrouille, N., & Lukić, Z. (2025). Emulating the Lyman-Alpha forest 1D power spectrum from cosmological simulations: new models and constraints from the eBOSS measurement. Journal of Cosmology and Astroparticle Physics, 2025(05), 099. https://doi.org/10.1088/1475-7516/2025/05/099
  4. Doughty, C. C., Hennawi, J. F., Oñorbe, J., Davies, F. B., & Lukić, Z. (2025). The impact of varying inhomogeneous reionization histories on metrics of Ly α opacity. Monthly Notices of the Royal Astronomical Society, 539(4), 3027–3045. https://doi.org/10.1093/mnras/staf616
  5. de Belsunce, R., Chen, S.-F., Ivanov, M. M., Ravoux, C., Chabanier, S., Sexton, J., & Lukić, Z. (2025). Precision measurements of EFT parameters and BAO peak shifts for the Lyman- α forest. Physical Review D, 111(6). https://doi.org/10.1103/physrevd.111.063524
  6. Gadirov, H., Roerdink, J. B. T. M., & Frey, S. (2025). FLINT: Learning-Based Flow Estimation and Temporal Interpolation for Scientific Ensemble Visualization. IEEE Transactions on Visualization and Computer Graphics, 31(10), 7970–7985. https://doi.org/10.1109/tvcg.2025.3561091
  7. Gadirov, H., Wu, Q., Bauer, D., Ma, K., Roerdink, J. B. T. M., & Frey, S. (2025). HyperFLINT: Hypernetwork‐based Flow Estimation and Temporal Interpolation for Scientific Ensemble Visualization. Computer Graphics Forum, 44(3). https://doi.org/10.1111/cgf.70134
  8. Cappello, F., Underwood, R., Alexeev, Y., Baker, A., Bozdağ, E., Burtscher, M., Chard, K., Di, S., Felker, K. G., O'Grady, P. C., Guo, H., Huang, Y., Jiang, P., Jin, S., Johansson, P., Li, S., Liang, X., Lindahl, E., Lindstrom, P., … Zhao, K. (2025). What to Support When You’re Compressing: The State of Practice Gaps and Opportunities for Scientific Data Compression. Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, 1966–1979. https://doi.org/10.1145/3712285.3759856
  9. Jacobus, C., de Belsunce, R., Chabanier, S., Harrington, P., Emberson, J. D., Lukić, Z., & Habib, S. (2025). A Gigaparsec-scale Hydrodynamic Volume Reconstructed with Deep Learning. The Astrophysical Journal, 993(2), 243. https://doi.org/10.3847/1538-4357/ae0720
  10. Abdul Karim, M. L., Armengaud, E., Mention, G., Chabanier, S., Ravoux, C., & Lukić, Z. (2024). Measurement of the small-scale 3D Lyman-α forest power spectrum. Journal of Cosmology and Astroparticle Physics, 2024(05), 088. https://doi.org/10.1088/1475-7516/2024/05/088
  11. Loffeld, J. J., Nonaka, A., Reynolds, D. R., Gardner, D. J., & Woodward, C. S. (2024). Performance of explicit and IMEX MRI multirate methods on complex reactive flow problems within modern parallel adaptive structured grid frameworks. The International Journal of High Performance Computing Applications, 38(4), 263–281. https://doi.org/10.1177/10943420241227914
  12. Balos, C. J., Day, M., Esclapez, L., Felden, A. M., Gardner, D. J., Hassanaly, M., Reynolds, D. R., Rood, J. S., Sexton, J. M., Wimer, N. T., & Woodward, C. S. (2024). SUNDIALS time integrators for exascale applications with many independent systems of ordinary differential equations. The International Journal of High Performance Computing Applications, 39(1), 123–146. https://doi.org/10.1177/10943420241280060
  13. Gong, Q., Chen, J., Whitney, B., Liang, X., Reshniak, V., Banerjee, T., Lee, J., Rangarajan, A., Wan, L., Vidal, N., Liu, Q., Gainaru, A., Podhorszki, N., Archibald, R., Ranka, S., & Klasky, S. (2023). MGARD: A multigrid framework for high-performance, error-controlled data compression and refactoring. SoftwareX, 24, Article 101590. https://doi.org/10.1016/j.softx.2023.101590
  14. Doughty, C. C., Hennawi, J. F., Davies, F. B., Lukić, Z., & Oñorbe, J. (2023). Convergence of small scale Ly α structure at high-z under different reionization scenarios. Monthly Notices of the Royal Astronomical Society, 525(3), 3790–3805. https://doi.org/10.1093/mnras/stad2549
  15. Jacobus, C., Harrington, P., & Lukić, Z. (2023). Reconstructing Lyα Fields from Low-resolution Hydrodynamical Simulations with Deep Learning. The Astrophysical Journal, 958(1), 21. https://doi.org/10.3847/1538-4357/acfcb5
  16. Chabanier, S., Emberson, J. D., Lukić, Z., Pulido, J., Habib, S., Rangel, E., Sexton, J., Frontiere, N., & Buehlmann, M. (2022). Modelling the Lyman-α forest with Eulerian and SPH hydrodynamical methods. Monthly Notices of the Royal Astronomical Society, 518(3), 3754–3776. https://doi.org/10.1093/mnras/stac3294
  17. Harrington, P., Mustafa, M., Dornfest, M., Horowitz, B., & Lukić, Z. (2022). Fast, High-fidelity Lyα Forests with Convolutional Neural Networks. The Astrophysical Journal, 929(2), 160. https://doi.org/10.3847/1538-4357/ac5faa