Automatically delete rendezvous files after a run #300
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
The purpose of this diff is to automatically delete rendezvous files after the benchmark is done running. This way, the user does not have to manually delete the files in order to run the benchmark again. This is only relevant when the user uses
FileStore
to rendezvous (not Redis or MPI).FileStore::set
takes in a key and generates a file based on the hash of this key. Added a new class variableFileStore::rdzvFilePaths
which will store these paths. After callingContext::connectFullMesh
, these paths will have been generated and we can callFileStore::getRdzvFilePaths
to get the paths to delete at the end of the run.Change Summary:
rdzvFilePaths_
toRunner
rdzvFilePaths
andgetRdzvFilePaths
toFileStore
Differential Revision: D27028023