Skip to content

Nbody cosmology proxy application based on Cabana

License

Notifications You must be signed in to change notification settings

streeve/HACCabana

 
 

Repository files navigation

HACCabana

is a miniapp for an N-body cosmology code, based on HACC and the CoPA Cabana Particle Toolkit. 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

About

Nbody cosmology proxy application based on Cabana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.0%
  • Other 2.0%