Skip to content

Thompson aerosols with RRTMG scheme stops during integration when OpenMP is used #1511

Description

@thomasuhoh

MPAS 8.4.2 stops when the Thompson aerosol-aware physics is used:

[THREAD 0000]ERROR:
[THREAD 0000]ERROR: ------------------------------ FATAL CALLED ------------------------------
[THREAD 0000]ERROR: AOD@550 must be positive. Negative value(s) found in auxinput
[THREAD 0000]CRITICAL ERROR: MPAS core_physics abort

The problem originates here:
https://github.com/MPAS-Dev/MPAS-Model/blob/master/src/core_atmosphere/physics/mpas_atmphys_driver_radiation_sw.F#L570-L583

The issue seems the calculation of the AOD in the "gt_aod" subroutine in case OpenMP is used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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