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

Testing Framework - Discrepancies in way stderr automatically combining with stdout in threaded versus MPI run #1028

Open
feldergast opened this issue Jan 8, 2024 · 0 comments

Comments

@feldergast
Copy link
Contributor

In the testing framework call run_sst, stderr is automatically piped to stdout if no file is provided for stderr to be written. This works correctly for serial and threaded runs. However, in MPI runs, stderr is not automatically piped to stdout and stderr is lost if no file is specified for stderr to be written to. This is due to the way MPI handles stdout and stderr, which writes a file per rank for each of stdout and stderr. The framework then combines these individual files into a single file, but doesn't first combine stdout and stderr for the case where no stderr file is specified.

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

No branches or pull requests

2 participants