Skip to content

Clima incompatible with gfortran-8 #4

@will-fawcett

Description

@will-fawcett

When compiling Clima with the gfortran-8 (packaged with gcc-8) the following compilation error occours:

CLIMA/RRTM/rrtatm.f:878:38:

                         CALL CMPALT(2,PTMP,TTMP,
                                      1
Error: Actual argument contains too few elements for dummy argument 'pm' (2/3400) at (1)
CLIMA/RRTM/rrtatm.f:943:32:

which is repeated for all of the calls of CMPALT in rrtatm.f

This can be fixed by using the legacy flag in ClimaMake by adding the -std=legacy flag to FCFLAG

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