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

CUDAEnsemble log files always append #818

Closed
Robadob opened this issue Mar 16, 2022 · 1 comment · Fixed by #992
Closed

CUDAEnsemble log files always append #818

Robadob opened this issue Mar 16, 2022 · 1 comment · Fixed by #992
Assignees

Comments

@Robadob
Copy link
Member

Robadob commented Mar 16, 2022

Noticed by Kenneth, if you run an ensemble with logging twice in a row all the files will be appended, rather than truncated.

The fix for step logs, should be rather simple change the last parameter here to true, and step log files will always truncate when logged via CUDAEnsemble.

Exit log files are a bit more complicated, as they are intended to append. So it would be necessary to delete any exit log files at the expected locations before outputting any logs.

There's probably some discussion to be had, over whether it would make more sense to purge the entire output dir before logging, to remove any confusion if the two runs create different files.

@Robadob
Copy link
Member Author

Robadob commented Apr 6, 2022

Give user an option to control truncate or exception.

@Robadob Robadob self-assigned this Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant