Skip to content

Conversation

@tlunet
Copy link
Member

@tlunet tlunet commented May 16, 2025

There is a rare situation when the MPI_SETUP method (setup the subarray view for MPI_READ_ALL) is not called when using MPI : when the Rectilinear object is instantiated first, and the MPI communicator and local slices are given by setupMPI after. This requires to read the header again, or else it raises and error.

While this is not the recommended usage for Rectilinear (setupMPI should be called before instantiating any class), this modification allows it while not changing the overall behavior or performance of the class.

@tlunet
Copy link
Member Author

tlunet commented May 16, 2025

Firedrake tests failing as usual, but this can be merged when you wish

@pancetta pancetta merged commit c4ba726 into master May 17, 2025
176 of 178 checks passed
@tlunet tlunet deleted the fieldsIO branch August 21, 2025 06:19
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.

3 participants