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

Parallel write with NF90_INDEPENDENT and NF90_UNLIMITED causes NaN in written file #440

Open
dongli opened this issue May 19, 2024 · 0 comments

Comments

@dongli
Copy link

dongli commented May 19, 2024

When parallel write variables with NF90_UNLIMITED dimension, the default access mode NF90_INDEPENDENT causes NaN in written file, but variables without NF90_UNLIMITED dimension are normal. When switched to NF90_COLLECTIVE, both cases are normal, but it is very slow when the data and the process number is very large (e.g., 7200 cores). The NetCDF version is netcdf-c 4.9.2 and netcdf-fortran 4.6.1. I tested in both Linux and macOS with the same behavior. The compiler is gfortran 12.3.0 and openmpi 5.0.0.

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

No branches or pull requests

1 participant