Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datetime #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Datetime #1

wants to merge 2 commits into from

Conversation

MatthAlex
Copy link

@MatthAlex MatthAlex commented Oct 16, 2019

Use of the intrinsic date to name and search for the output directory names leads to a crash whenever date changes on the hardware clock.

This issue was encountered during an HPC run. The code ran overnight, and crashed when it tried to probe the previous date directory. To circumvent this issue, a string containing the datetime during the start of the run is created. This static string a) names the output directory, b) does not change during the run. When the code probes for the previous results' directory, it will correctly find it regardless of the current date.

…lders, so they are statically set. Passed the value accordingly, to the corresponding routine.
@MatthAlex
Copy link
Author

Seems like putting `date` in the commits expanded on to the actual date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant