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

Open input files with read-only rather than readwrite to prevent lock storms #60

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

ioanhadade
Copy link
Contributor

When run in coupled mode, we open wam_grid_tables and other binary files as readwrite even though we only read from them. This can cause lock storms as in some places we do this operation with all tasks and also prevents sharing of inputs since we need to set rw permissions for groups or others. If run in standalone mode, where some of these files are written to, the open semantics does not change.

Copy link
Contributor

@awnawab awnawab left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this fix, looks good to go 👌

@awnawab awnawab merged commit 2e150ba into ecmwf-ifs:develop-1.3 Jan 21, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants