Closed cacraigucar closed 1 year ago
I will add the fix to PR #761. modified code:
use cam_instance , only: inst_suffix
...
filein = "atm_in" // trim(inst_suffix)
open( newunit=nu_nml, file=filein, status='old', iostat=nml_error )
if (nml_error /= 0) then
call endrun(subName': ERROR opening '//trim(filein)//errMsg(sourcefile, __LINE__))
end if
Looks good, thank you.
What happened?
According to @fischer-ncar the following two tests failed regression testing:
The fix according to @jedwards4b:
@brian-eaton suggested the following check:
While we're at it we should check the iostat return from the open command. That would have immediately pointed Chris to the culprit.
What are the steps to reproduce the bug?
Run the reported regression test
What CAM tag were you using?
cam6_3_106
What machine were you running CAM on?
CISL machine (e.g. cheyenne)
What compiler were you using?
Intel
Path to a case directory, if applicable
No response
Will you be addressing this bug yourself?
Any CAM SE can do this
Extra info
No response