ESCOMP / MOSART

Model for Scale Adaptive River Transport, Mosart, part of the Community Earth System Model
http://www.cesm.ucar.edu/
Other
8 stars 27 forks source link

"if (ierr /= PIO_NOERR)" will not be invoked unless PIO_BCAST_ERROR is explicitly set #93

Closed slevis-lmwg closed 1 month ago

slevis-lmwg commented 1 month ago

Unless PIO_BCAST_ERROR is explicitly set the pio error will be handled in the pio library and the code will not return to this location with an error.

_Originally posted by @jedwards4b in https://github.com/ESCOMP/MOSART/pull/76#discussion_r1438918283_

slevis-lmwg commented 1 month ago

Another relevant comment: https://github.com/ESCOMP/MOSART/pull/76#discussion_r1438918395

mvertens commented 1 month ago

This was indeed a problem in the refactored code and I have fixed it.