kokkos / kokkos-resilience

Resilience Extensions for Kokkos
Other
5 stars 2 forks source link

add CMake presets #28

Closed nmm0 closed 2 years ago

nmm0 commented 2 years ago

Closes #26

nmm0 commented 2 years ago

The intention behind this PR is to provide a set of configurations that can be used as a basis for users' own presets. In a user's CMakeUserPresets.json they can inherit from some of the existing configurations such as kr_debug and kr_auto_checkpoint_veloc (note that you can inherit from multiple presets) and then just define the paths to the dependencies (e.g. Kokkos, MPI, or VeloC)