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

python: default valid to True in complete calls #538

Closed adammoody closed 1 year ago

adammoody commented 1 year ago

Many apps don't bother to track whether they have read or written files correctly. Instead they detect an error and immediately abort at the I/O call. Such apps often then just pass True in their calls to scr.complete_restart(valid) and scr.complete_output(valid).

To simplify, this makes the valid parameter optional with a default value of True.