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

GCC8 breaks LNFL #2

Closed
jonathan-g opened this issue Apr 1, 2021 · 2 comments
Closed

GCC8 breaks LNFL #2

jonathan-g opened this issue Apr 1, 2021 · 2 comments

Comments

@jonathan-g
Copy link

Same issue as AER-RC/LBLRTM#9. I'm posting here as a cross-reference in case other people run into errors like

Error: Actual argument contains too few elements for dummy argument ‘molcpl’ (38/47) at (1)
../src/lnfl.f:566:29:

  566 |             CALL CPSTOR_100 (molcpl,npl)
      |                             1
Error: Actual argument contains too few elements for dummy argument ‘molcpl’ (38/47) at (1)
../src/lnfl.f:3817:18:

 3817 |          STR(I) = STR(I)/(VNU(I)*(1.0-EXP(-BETA0*VNU(I))))               LN15580
      |                  1

with gfortran under Ubuntu 20.04 and later.

Editing the makefile similarly to the recommendation in AER-RC/LBLRTM#9 solves the problem.

@pernak18
Copy link
Member

pernak18 commented Apr 2, 2021

thanks @jonathan-g ! we'll keep this in mind for the next release

@pernak18 pernak18 closed this as completed Apr 2, 2021
@aayushgambhir21
Copy link

I added "-std=legacy" like the LBLRTM#9 form suggested, but I still get the same error. I am trying to run the lnfl.f file, but I stil get the errors. Can you give me any tips or suggestions to get past this?

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

3 participants