Skip to content

MPAS is hanging when it is reading RRTMG_SW_DATA #1431

@uturuncoglu

Description

@uturuncoglu

When MPAS is running under NUOPC cap and external communicator passed through mpas_init(), the model is hanging when reading RRTMG_SW_DATA file. I could able to attach the gdb to hanging process and collect backtrace that can be seen in the following log file.

bt-dec2323_233164.txt

It seems that the model is hanging in src/core_atmosphere/physics/mpas_atmphys_rrtmg_swinit.F source file line 206. I also put couple of print statement around the code and it looks like it is hanging when doing broadcast with DM_BCAST_REAL. So, there could be some issue about using MPI Communicator passed from the ESMF library.

I could able to run the model after setting following options in namelist.atmosphere since it does not read those files,

&physics
...
....
    config_radt_lw_scheme = 'off'
    config_radt_sw_scheme = 'off'
/

But, these options need to be activated to do scientific runs and underlying issue needs to be fixed in the future. My version of MPAS-Model is based on following commit from develop branch,

commit 03eef4810a6e27d0c9b9d5b44e71495d9a5a8a58 (origin/develop)
Merge: 1c3c6e4c c6288363
Author: Michael Duda <duda@ucar.edu>
Date:   Mon Mar 23 15:10:09 2026 -0600

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