Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clima incompatible with gfortran-8 #4

Open
will-fawcett opened this issue Jul 23, 2018 · 0 comments
Open

Clima incompatible with gfortran-8 #4

will-fawcett opened this issue Jul 23, 2018 · 0 comments

Comments

@will-fawcett
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant