music2

Multi-scale initial conditions for cosmological simulations, v2

https://github.com/cosmo-sims/music2

Science Score: 41.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
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.7%) to scientific vocabulary

Keywords

astrophysics cosmology galaxies
Last synced: 9 months ago · JSON representation ·

Repository

Multi-scale initial conditions for cosmological simulations, v2

Basic Info
  • Host: GitHub
  • Owner: cosmo-sims
  • License: gpl-3.0
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 2.29 MB
Statistics
  • Stars: 6
  • Watchers: 2
  • Forks: 1
  • Open Issues: 5
  • Releases: 1
Topics
astrophysics cosmology galaxies
Created about 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

CMake on multiple platforms

MUSIC v2 - multi-scale cosmological initial conditions

MUSIC is a computer program to generate nested grid initial conditions for high-resolution "zoom" cosmological simulations. A detailed description of some of the algorithms can be found in Hahn & Abel (2011), but version 2.0 is much improved and has a much lower memory footprint.

Be aware that v1 and v2 do not produce entirely consistent zooms, due to the changes in the way the noise hierarchy is composed. So do not upgrade if you need to exactly reproduce a zoom run generated with v1, there is currently no backwards compatibility mode.

To learn how to use MUSIC, please read the Wiki.

Current MUSIC key features include:

  • Supports output for RAMSES, ENZO, Arepo, Swift, Gadget-2/3, ART, Pkdgrav/Gasoline, NyX, and GAMER-2 via plugins. New codes can be added.
  • Support for first (1LPT) and second order (2LPT) Lagrangian perturbation theory.
  • Full integration of the PANPHASIA hierarchical Gaussian random fields
  • Pluggable transfer functions, currently CAMB, Eisenstein&Hu, BBKS, Warm Dark Matter variants. Distinct baryon+CDM fields.
  • Minimum bounding ellipsoid and convex hull shaped high-res regions supported with most codes, supports refinement mask generation for RAMSES.
  • Parallelized with OpenMP
  • Requires FFTW3, GSL (and HDF5 for output for some codes)

Building MUSIC

While we still supply the old Makefile, using CMake is now the preferred way of building. CMake use out-of-source build, i.e. you create a build directory, and then configure the code using CMake. Inside the music directory, do mkdir build cd build ccmake .. make -j to configure the code (you will se a menu), and then start a parallel compilation. If CMake has trouble finding your FFTW or HDF5 installation, you can add hints as follows FFTW3_ROOT=<path> HDF5_ROOT=<path> ccmake .. If you want to build on macOS, then it is strongly recommended to use GNU (or Intel) compilers instead of Apple's Clang. Install them e.g. via homebrew and then configure cmake to use them instead of the macOS default compiler via CC=gcc-13 CXX=g++-13 ccmake .. This is necessary since Apple's compilers haven't supported OpenMP for years.

Running

There is an example parameter file 'example.conf' in the main directory. Possible options are explained in it, it can be run as a simple argument, e.g. from within the build directory: ./MUSIC ../ics_example.conf

Disclaimer

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. By downloading and using MUSIC, you agree to the LICENSE, distributed with the source code in a text file of the same name.

Owner

  • Name: cosmo-sims
  • Login: cosmo-sims
  • Kind: organization

Citation (CITATION.bib)

@article{MUSIC,
    author = "Hahn, Oliver and Abel, Tom",
    title = "{Multi-scale initial conditions for cosmological simulations}",
    eprint = "1103.6031",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.CO",
    reportNumber = "SLAC-PUB-14463",
    doi = "10.1111/j.1365-2966.2011.18820.x",
    journal = "Mon. Not. Roy. Astron. Soc.",
    volume = "415",
    pages = "2101--2121",
    year = "2011"
}

@article{COSMICWEB,
    author = "Buehlmann, Michael and Winkler, Lukas and Hahn, Oliver and Helly, John C. and Jenkins, Adrian",
    title = "{cosmICweb: Cosmological Initial Conditions for Zoom-in Simulations in the Cloud}",
    eprint = "2406.02693",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.CO",
    month = "6",
    year = "2024"
}

GitHub Events

Total
  • Watch event: 8
  • Issue comment event: 2
  • Push event: 4
  • Pull request review event: 1
  • Pull request event: 5
  • Fork event: 3
  • Create event: 1
Last Year
  • Watch event: 8
  • Issue comment event: 2
  • Push event: 4
  • Pull request review event: 1
  • Pull request event: 5
  • Fork event: 3
  • Create event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • BenWibking (1)
Pull Request Authors
  • Findus23 (2)
  • YuriOku (2)
  • bidabrain (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/cmake-multi-platform.yml actions
  • actions/checkout v3 composite