https://github.com/ECP-copa/HACCabana
N-body cosmology proxy application based on Cabana
https://github.com/ECP-copa/HACCabana
cabana cosmology hacc kokkos proxy-application
Last synced: 7 months ago
JSON representation
N-body cosmology proxy application based on Cabana
- Host: GitHub
- URL: https://github.com/ECP-copa/HACCabana
- Owner: ECP-copa
- License: bsd-3-clause
- Created: 2021-08-19T18:39:47.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-11T15:32:08.000Z (almost 2 years ago)
- Last Synced: 2024-07-29T19:07:49.430Z (about 1 year ago)
- Topics: cabana, cosmology, hacc, kokkos, proxy-application
- Language: C++
- Homepage:
- Size: 36.1 KB
- Stars: 5
- Watchers: 9
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HACCabana
is a miniapp for an N-body cosmology code, based on HACC and the CoPA [Cabana Particle Toolkit](https://github.com/ECP-copa/Cabana). The driver bootstraps a direct particle-particle short-range solver designed for GPUs. The solver follows the method used by HACC's P3M implementation for computing the short-range component of the gravitational force.## Build
The only required input to build is the Cabana install location. The default Kokkos device is used to run HACCabana.
```
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=$CABANA_INSTALL ..
make
```## Run
Using input and verification files (generated from HACC).``./build/driver_short-range -i ../PRE_rank0_particle_data.bin -v ../POST_rank0_particle_data.bin -t 0 -c ./256.indat.params``
or use synthetically generated data
``./build/driver_short-range -s -t 0 -c ./256.indat.params``
## Citing
If you use HACCabana in your work, please cite the [Zenodo release](https://doi.org/10.5281/zenodo.8411897).## License
HACCabana is distributed under an [open source 3-clause BSD license](LICENSE).