CAM icon indicating copy to clipboard operation
CAM copied to clipboard

Update handle_allocate_error to include errmsg

Open peverwhee opened this issue 6 months ago • 0 comments

What is the feature/what would you like to discuss?

Since the optional errmsg argument to allocate is "new" as of fortran 2003, it'd be nice to include it as an optional argument to handle_allocate_error (in cam_abortutils.F90) to be added to the overall error message.

We can parallel @jimmielin 's implementation in CAM-SIMA - https://github.com/ESCOMP/CAM-SIMA/pull/311

Is there anyone in particular you want to be part of this conversation?

No response

Will this change (regression test) answers?

No

Will you be implementing this enhancement yourself?

Any CAM SE can do this

peverwhee avatar Jun 09 '25 03:06 peverwhee