Skip to content

Conversation

@J-Lentz
Copy link
Contributor

@J-Lentz J-Lentz commented Nov 3, 2025

Description
MPI-IO support in fms2_io has been refactored. open_collective_netcdf_file has been removed and merged into netcdf_file_open, to reduce the amount of duplicated code. The API for using collective reads has been changed to be consistent with parallel writes. Collective read unit tests have been updated to use the new API.

Fixes #1767 and #1753

How Has This Been Tested?
Builds on the AMD box, but the collective reads unit tests don't pass. I'm still investigating what the problem is.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

Jesse Lentz and others added 3 commits October 31, 2025 14:41
MPI-IO support in fms2_io has been refactored.
`open_collective_netcdf_file` has been removed and its functionality has
been merged into `netcdf_file_open`. Parallel reads and writes are now
enabled using the same interface and code pathways.
Use explicit names for the optional arguments of `netcdf_file_open`,
when it's called within `open_domain_file`.
In the netcdf_read_data_* subroutines, move the calls to
nf90_var_par_access so that they run later.
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.

Consolidate fms2io collective writes/reads implementation

1 participant