ice_exit calls mpi_abort without providing an errorcode argument:
|
call flush_fileunit(nu_diag) |
|
|
|
write (ice_stderr,*) error_message |
|
call flush_fileunit(ice_stderr) |
|
|
|
call MPI_ABORT(MPI_COMM_WORLD, ierr) |
This then uses the default value of 0, in turn causing payu to view the simulation as being successful. The following is an example where this has happened: https://forum.access-hive.org.au/t/restart-problem-atmosphere/4239
Several changes were made to the error reporting in CICE5 in the main branch and for CM2. It would be great to port these changes over to CICE4.
ice_exitcallsmpi_abortwithout providing anerrorcodeargument:cice4/mpi/ice_exit.F90
Lines 73 to 78 in 889aae8
This then uses the default value of 0, in turn causing payu to view the simulation as being successful. The following is an example where this has happened: https://forum.access-hive.org.au/t/restart-problem-atmosphere/4239
Several changes were made to the error reporting in CICE5 in the main branch and for CM2. It would be great to port these changes over to CICE4.