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

NetCDF + MPI #254

Open
johnomotani opened this issue Sep 16, 2024 · 0 comments
Open

NetCDF + MPI #254

johnomotani opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@johnomotani
Copy link
Collaborator

The version of the NetCDF library provided by Julia's package manager now links to MPI. In the short term this causes a problem (if you want to enable NetCDF output), because we would have to use the Julia-package-manager-provided MPI. Linking two different MPI installations causes crashes at best, and weird intermittent faults at worst. Even if we used the Julia-provided MPI, NCDatasets.jl doesn't currently support parallel I/O anyway.

NCDatasets.jl is currently working on MPI support (Alexander-Barth/NCDatasets.jl#122), which should fix both these problems. As well as enabling parallel I/O, the feature being discussed in that issue would allow linking a system-provided NetCDF library, so we could point it to a version compatible with our MPI.

Why not just drop NetCDF support? (1) it's already there, but (2) NetCDF has some nice features (like labelling the dimensions of arrays) which mean that it inter-operates better with xarray (for example). So it might be useful to have this feature, once NCDatasets.jl supports MPI.

@johnomotani johnomotani added the bug Something isn't working label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant