Skip to content

Move output.csv file open to the the main function and limit to rank 0 #132

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

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

Conversation

jprorama
Copy link
Contributor

@jprorama jprorama commented Oct 3, 2024

This avoids opening the file in all ranks, causing file open contention between ranks. Contention increases with rank count and stripe count.

Proposed partial fix for #131 for base write benchmarks.

jprorama and others added 3 commits October 3, 2024 10:39
This avoids opening the file in all ranks, causing file open contention
between ranks.  Contention increases with rank count and stripe count.

Proposed partial fix for hpc-io#131 for base write benchmarks.
Copy link
Member

@jeanbez jeanbez left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! If we do move this, we need to make the same changes to all the other patterns that output a CSV.

@jeanbez jeanbez added enhancement New feature or request help wanted Extra attention is needed labels Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants