hermes-3 icon indicating copy to clipboard operation
hermes-3 copied to clipboard

Enhanced provenance tracking?

Open johnomotani opened this issue 1 year ago • 3 comments
trafficstars

I added some extra outputs to STORM that track the git diff, CMake cache, loaded modules (on systems with modules), and state of BOUT-configs/STORM-configs (if used). Shouldn't be much work to copy over to Hermes-3.

The system was based on a Python script https://github.com/boutproject/STORM/blob/master/build_tools/save_git_version.py that generated a storm_version.hxx header file with constexpr values that could be added to the dump files https://github.com/boutproject/STORM/blob/b85c514cb582f8ce152f5fb2828aff2132279cf7/storm3d/storm.cxx#L40-L47 CMake would use that Python script as part of the build process https://github.com/boutproject/STORM/blob/b85c514cb582f8ce152f5fb2828aff2132279cf7/CMakeLists.txt#L17-L38

johnomotani avatar Nov 04 '24 14:11 johnomotani