-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abort model cleanly in ifsinterface and standalone on errors #661
base: main
Are you sure you want to change the base?
Conversation
…f trying in clean end in case of namelist errors in oce_mesh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent changes. This should make missing namelists etc. easier to catch. I have just a few small changes requested.
! TODO logic below is also convoluted really not really for standalone | ||
#else ! | ||
! TODO logic below is convoluted, COMM that is passed should be used for MPI_ABORT | ||
! changes are easy but need to be tested with coupled configurations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that mean changes are were easy to make or would be easy?
@@ -244,7 +244,7 @@ SUBROUTINE read_mesh(partit, mesh) | |||
write (unit=error_unit, fmt='(3A)') & | |||
'### error: can not open file ', file_name, & | |||
', error: ' // trim(errmsg) | |||
call MPI_Abort(MPI_COMM_FESOM, 1, ierror) | |||
!call MPI_Abort(MPI_COMM_FESOM, 1, ierror) # dont call abort here yet called bellow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep or remove fully
Some of old features lost in my branches that didn't make it into main, part 1.
TODO in another PR: