v0.16.3
Loading...
Searching...
No Matches
prepare.cmake
Go to the documentation of this file.
1# Remove this tutorial's generated checkpoints before each producer run.
2if(NOT IS_DIRECTORY "${RUN_DIR}")
3 message(FATAL_ERROR "Missing fun-3 run directory: ${RUN_DIR}")
4endif()
5file(GLOB checkpoints "${RUN_DIR}/0[1-6]_*.h5m")
6if(checkpoints)
7 file(REMOVE ${checkpoints})
8endif()