Skip to content

destroy pool fails with seg fault for multi-block #788

Open
@mark-petersen

Description

@mark-petersen

If we run with two blocks per core in RK4, the destroy pool fails at the end of the first time step. Error is a seg fault, with traceback:

deallocate(f_cursor)

deallocate(dptr % r2 % array, stat=local_err)

call mpas_pool_destroy_pool(provisStatePool)

This was introduced in #578.

We can invoke this error in the shallow water core, for example, by setting config_number_of_blocks = 36 but running on 18 cores.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions