quokka-astro / quokka

Two-moment AMR radiation hydrodynamics (with self-gravity, particles, and chemistry) on CPUs/GPUs for astrophysics
https://quokka-astro.github.io/quokka/
MIT License
46 stars 12 forks source link

create Spack package for Quokka #744

Open BenWibking opened 2 months ago

BenWibking commented 2 months ago

Describe the proposal Create a Spack package for Quokka and create a PR to upstream it to the Spack repository.

This will enable users to install Quokka by doing, e.g.: spack install quokka and will automatically install all of the needed dependencies.

Describe alternatives you've considered Require users to manually install dependencies and compile Quokka.

Additional context For custom problems, users will still need to compile Quokka manually. However, it may still be useful in that scenario as a convenient, single-command-line way to automatically install of the dependencies needed by Quokka.

Spack documentation: https://spack.readthedocs.io/en/latest/packaging_guide.html#writing-a-package-recipe

BenWibking commented 1 month ago

Ideally, we could also do this, but Spack doesn't seem to support it: https://github.com/spack/spack/discussions/44446

BenWibking commented 1 month ago

Reproducible development environments (including dependencies) with Spack: https://spack-tutorial.readthedocs.io/en/latest/tutorial_developer_workflows.html