Nyx
Nyx: A Massively Parallel AMR Code for Computational Cosmology - Published in JOSS (2021)
Science Score: 100.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 8 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org, zenodo.org -
✓Committers with academic emails
21 of 34 committers (61.8%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Keywords from Contributors
Repository
An adaptive mesh, N-body hydro cosmological simulation code
Basic Info
- Host: GitHub
- Owner: AMReX-Astro
- License: other
- Language: C++
- Default Branch: development
- Homepage: https://amrex-astro.github.io/Nyx/
- Size: 62.2 MB
Statistics
- Stars: 96
- Watchers: 20
- Forks: 37
- Open Issues: 6
- Releases: 9
Topics
Metadata Files
README.md

An adaptive mesh, massively-parallel, cosmological simulation code
About
Nyx code solves equations of compressible hydrodynamics on an adaptive grid hierarchy coupled with an N-body treatment of dark matter. The gas dynamics in Nyx uses a finite volume methodology on a set of 3-D Eulerian grids; dark matter is represented as discrete particles moving under the influence of gravity. Particles are evolved via a particle-mesh method, using Cloud-in-Cell deposition/interpolation scheme. Both baryonic and dark matter contribute to the gravitational field. In addition, Nyx includes physics needed to accurately model the intergalactic medium: in optically thin limit and assuming ionization equilibrium, the code calculates heating and cooling processes of the primordial-composition gas in an ionizing ultraviolet background radiation field. Additional physics capabilities are under development.
While Nyx can run on any Linux system in general, we particularly focus on supercomputer systems. Nyx is parallelized with MPI + X, where X can be OpenMP on multicore architectures and CUDA/HIP/DPC++ on hybrid CPU/GPU architectures. In the OpenMP regime, Nyx has been successfully run at parallel concurrency of up to 2,097,152 on NERSC's Cori-KNL. With Cuda implementation, it was run on up to 13,824 GPUs on OLCF's Summit.
More information on Nyx can be found at the main web page and the online documentation.
Standards and dependencies
To compile the code we require C++11 compliant compilers that support MPI-2 or higher implementation. If threads or accelerators are used, we require OpenMP 4.5 or higher, Cuda 9 or higher, or HIP-Clang. To use Nyx, you also need AMReX.
For example, to compile the Lyman alpha (LyA) executable on Summit: ```sh $ module load gcc/6.4.0 cuda/11.0.3
$ git clone https://github.com/AMReX-Codes/amrex.git $ git clone https://github.com/AMReX-astro/Nyx.git
$ cd Nyx/Exec/LyA $ make -j 12 USE_CUDA=TRUE ```
See the Getting Started section for more information.
Development model
Please see CONTRIBUTING.md for details on how to contribute to AMReX.
Outputs
Nyx outputs certain global diagnostics at each timestep and plot files at regular intervals, or at user-specified redshifts. Visualization packages VisIt, Paraview, yt, and Amrvis have built-in support for the AMReX file format used by Nyx.
In addition, Nyx interfaces with two post-processing suites, Reeber and Gimlet. Reeber uses topological methods to construct merge trees of scalar fields, which is in turn used to find halos. Gimlet computes a variety of quantities related to the Lyman-alpha forest science. These suites are fully MPI-parallel and can be run either in situ or in-transit, or with a combination of both (see Friesen et al. 2016).
License
Nyx Copyright (c) 2017, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
Details of the license can be found in license.txt file.
If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Innovation & Partnerships Office at IPO@lbl.gov.
Contact
For questions, comments, suggestions, contact Jean Sexton (JMSexton@lbl.gov) or Zarija Lukic (zarija@lbl.gov).
Owner
- Name: AMReX-Astro
- Login: AMReX-Astro
- Kind: organization
- Repositories: 16
- Profile: https://github.com/AMReX-Astro
The AMReX Astrophysics Suite: adaptive mesh refinement hydrodynamics codes for astrophysical flows.
JOSS Publication
Nyx: A Massively Parallel AMR Code for Computational Cosmology
Authors
Center for Computational Sciences and Engineering, Lawrence Berkeley National Laboratory
Computational Cosmology Center, Lawrence Berkeley National Laboratory
Center for Computational Sciences and Engineering, Lawrence Berkeley National Laboratory
National Energy Research Scientific Computing Center (NERSC), Berkeley, CA, USA
Tags
cosmology hydrodynamics dark matter N-bodyCitation (CITATION.md)
### Citation
If you use Nyx, we appreciate you citing the main code paper, [Almgren et al. (2013)](https://iopscience.iop.org/article/10.1088/0004-637X/765/1/39) [[PDF]](https://iopscience.iop.org/article/10.1088/0004-637X/765/1/39/pdf)
Citation in BibTeX:
```
@ARTICLE{Nyx,
author = {{Almgren}, A.~S. and {Bell}, J.~B. and {Lijewski}, M.~J. and {Luki{\'c}}, Z. and {Van Andel}, E.},
title = "{Nyx: A Massively Parallel AMR Code for Computational Cosmology}",
journal = {The Astrophysical Journal},
archivePrefix = "arXiv",
eprint = {1301.4498},
keywords = {gravitation, hydrodynamics, methods: numerical},
year = 2013,
month = mar,
volume = 765,
eid = {39},
pages = {39},
doi = {10.1088/0004-637X/765/1/39}
}
```
GitHub Events
Total
- Issues event: 1
- Watch event: 6
- Issue comment event: 1
- Push event: 1
- Pull request event: 11
- Fork event: 1
Last Year
- Issues event: 1
- Watch event: 6
- Issue comment event: 1
- Push event: 1
- Pull request event: 11
- Fork event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jean M. Sexton | j****n@l****v | 1,044 |
| Ann Almgren | a****n@l****v | 545 |
| Zarija Lukic | z****a@l****v | 118 |
| Brian Friesen | b****n@l****v | 107 |
| Weiqun Zhang | w****g@l****v | 66 |
| Andrew Myers | a****2@g****m | 65 |
| petermcLBL | P****e@l****v | 61 |
| vince | v****r@l****v | 48 |
| Wolfram Schmidt | w****t@u****e | 14 |
| mic84 | m****o@l****v | 12 |
| jbb | j****l@l****v | 11 |
| Dmitriy Morozov | d****y@m****g | 11 |
| David J. Gardner | g****8@l****v | 9 |
| Arnur Nigmetov | n****v@t****t | 7 |
| Michael Zingale | m****e@s****u | 7 |
| Hannah Ross | h****3@s****k | 7 |
| Nathan X. Marshak | n****k@s****u | 6 |
| Balos, Cody Joe | b****1@l****v | 5 |
| Gunther H. Weber | G****r@l****v | 5 |
| Yinghe Lu | y****u@l****v | 4 |
| Mahesh Natarajan | n****2@l****v | 4 |
| Mahesh Natarajan | n****2@l****v | 3 |
| Frederick Davies | d****s@p****u | 3 |
| Max Katz | m****z@g****m | 2 |
| Dan F-M | f****y@g****m | 2 |
| Mahesh Natarajan | n****2@l****v | 2 |
| Mahesh Natarajan | n****2@l****v | 2 |
| Cyrus Harrison | c****h@l****v | 1 |
| Jean Sexton | j****n@s****u | 1 |
| Mahesh Natarajan | n****2@l****v | 1 |
| and 4 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 27
- Total pull requests: 81
- Average time to close issues: 6 months
- Average time to close pull requests: 24 days
- Total issue authors: 13
- Total pull request authors: 21
- Average comments per issue: 2.11
- Average comments per pull request: 0.38
- Merged pull requests: 71
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 13
- Average time to close issues: 4 months
- Average time to close pull requests: about 2 months
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 2.0
- Average comments per pull request: 0.23
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- zingale (6)
- jmsexton03 (4)
- teuben (4)
- n8xm (3)
- WeiqunZhang (2)
- wangzhezhe (1)
- EricTittley (1)
- franlane94 (1)
- ctian282 (1)
- prashplus (1)
- guadabsb15 (1)
- c-white (1)
- disheng222 (1)
Pull Request Authors
- n8xm (16)
- bcfriesen (13)
- mic84 (11)
- atmyers (7)
- nataraj2 (6)
- WeiqunZhang (6)
- luminosa42 (5)
- wolfram-schmidt (3)
- jmsexton03 (2)
- mrzv (2)
- dfm (2)
- ghweber (2)
- zingale (1)
- gardner48 (1)
- burlen (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- JamesIves/github-pages-deploy-action 3.7.1 composite
- actions/cache v1 composite
- actions/checkout v2.3.1 composite
- actions/setup-python v2 composite
- actions/checkout v2 composite
- actions/upload-artifact v1 composite
- openjournals/openjournals-draft-action master composite
- actions/checkout v2 composite
- actions/checkout v2 composite
- Sphinx <2.0
- breathe <4.13
- ipython *
- more_itertools *
- nbsphinx *
- numpydoc *
- sphinx_rtd_theme *
- sphinxcontrib_bibtex *