LLNL / scr

SCR caches checkpoint data in storage on the compute nodes of a Linux cluster to provide a fast, scalable checkpoint / restart capability for MPI codes.
http://computing.llnl.gov/projects/scalable-checkpoint-restart-for-mpi
Other
99 stars 36 forks source link

Change default system config file path to be within install directory #463

Closed adammoody closed 2 years ago

adammoody commented 2 years ago

When we were installing SCR for users, it made sense to use a system directory for the default config file.

https://github.com/LLNL/scr/blob/c74305ac1c7aa6dd662b80e8416d483d46ae17c5/cmake/SCR_OPTIONS.cmake#L51

Now that users tend to install SCR directly, it would be better to define the system config file path to be some location within the install directory, where a normal user could actually create such a file. This saves most users from having to set -DSCR_CONFIG_FILE at build time to do the same.

This will require some changes to cmake and to respective documentation.