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

Improve stdouterr_redirected file naming for multiprocessing cases #2431

Open
akremin opened this issue Jan 17, 2025 · 0 comments
Open

Improve stdouterr_redirected file naming for multiprocessing cases #2431

akremin opened this issue Jan 17, 2025 · 0 comments
Labels

Comments

@akremin
Copy link
Member

akremin commented Jan 17, 2025

desispec.parallel.stdouterr_redirected currently writes to f"{basename}-rank{rank}", which is the desired behavior for MPI applications. For multiprocessing application @weaverba137 pointed out that it is a bit misleading to save all of the processes to a single file labeled "rank-0". Consider a different naming convention if the communicator isn't provided to the function, instead of defaulting to rank=0 and the same labeling scheme.

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

No branches or pull requests

1 participant