Fix elem2D_nodes pointer association after bugfix #789
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Caution, AI at work, please check carefully ;-) @dsidoren
The recent bugfix in
oce_mesh.F90correctly reduced theelem2D_nodesallocation size frommyDim_elem2D+eDim_elem2D+eXDim_elem2DtomyDim_elem2D. However, the pointer association inassociate_mesh_ass.hwas not updated to match, causing 'Target of rank remapping is too small' errors. See:/work/bb1469/a270092/runtime/awiesm3-v3.4/test_tco95_07/run_19900101-19900101/log/test_tco95_07_awiesm3_compute_20093047.logThis commit updates the pointer association to match the corrected array allocation size.
The error occurred only in Debug compile mode. Which is why it went undetected.