Skip to content

Improve crash reporting #13

@blimlim

Description

@blimlim

ice_exit calls mpi_abort without providing an errorcode argument:

cice4/mpi/ice_exit.F90

Lines 73 to 78 in 889aae8

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions