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

Bugfix: CUDAEnsemble would always output both step/exit files. #730

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

Robadob
Copy link
Member

@Robadob Robadob commented Oct 29, 2021

Very minor bug. If a user requests step log files from a CUDAEnsemble, basically empty exit log files would always be created too. I presume the opposite is also true (or rather specifying an output dir gets you log files).

Closes #731

@Robadob Robadob force-pushed the bugfix_ensemble_alwaysexport branch from 7553b4b to 99d306c Compare October 29, 2021 12:42
@Robadob Robadob requested a review from ptheywood October 29, 2021 12:43
@Robadob Robadob added the bug label Oct 29, 2021
If output directory specified, even if no logging config.
@Robadob Robadob force-pushed the bugfix_ensemble_alwaysexport branch from 99d306c to 849c8dc Compare October 29, 2021 14:38
Copy link
Member

@ptheywood ptheywood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK but i'd prefer if the patch were actually tested.

The Logging tests should be ammended to check for disk output and clean up as appropriate, but i'll promote that to a separate issue.

@Robadob
Copy link
Member Author

Robadob commented Oct 29, 2021

I'm not in a rush for this one to be merged, so I might amend it later.

@ptheywood
Copy link
Member

The main reason I promoted it to an issue rather than asking for a fix sooner is that when we drop C++14 using std::filesystem is much more simple, rather than having to support std::filesystem, std::experimental::filesystem and the TR implementation for some MSVC's.

@Robadob Robadob requested a review from ptheywood November 12, 2021 12:36
@Robadob
Copy link
Member Author

Robadob commented Nov 12, 2021

Have added an extra commit which addresses #731, the new tests all pass locally (on Windows).

@ptheywood ptheywood merged commit ca7dad1 into master Nov 17, 2021
@ptheywood ptheywood deleted the bugfix_ensemble_alwaysexport branch November 17, 2021 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests: Ammend LoggingTests to check for disk output
2 participants