Skip to content

Memory corruption in GWD? #1106

@pchakraborty

Description

@pchakraborty

This is related to PR #1081

A memory corruption seems to be happening somewhere in GWD. The lats input (intent(in)) of gw_convect::gw_beres_init is getting corrupted whenever desc%k is allocated. The temporary solution is to move the allocation of desc%k after the code block that uses lats. This temporary solution seems to be working for the Intel compiler, may get different mileage with other compilers.

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