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

Type mismatch error when compiling LNFL #10

Closed
kslong opened this issue Nov 30, 2022 · 3 comments
Closed

Type mismatch error when compiling LNFL #10

kslong opened this issue Nov 30, 2022 · 3 comments
Assignees

Comments

@kslong
Copy link

kslong commented Nov 30, 2022

I have so far been unble to compile LNFL (and LBRTM) on my mac monterey and on ubuntu because of type mismatch problems. I am trying to complie with gfortran version 12.3 on my mac and with version 11.3 on ubuntu. The problem is almost certainly associated with the facty that type mismatch issues are now errors as opposed to warnings as indicated here

today.txt

@kslong
Copy link
Author

kslong commented Nov 30, 2022

Note that I can convert the errors to warnings, using the switch indicated in the link above, but then I still end up with a problem, or the form

Error: Actual argument contains too few elements for dummy argument 'molcpl' (38/47) at (1)
Error: Actual argument contains too few elements for dummy argument 'molcpl' (38/47) at (1)

Note that this all refers to the public release

HEAD detached at v3.2, but the same errors seem to occur at 5782e36

@pernak18 pernak18 self-assigned this Dec 1, 2022
@pernak18
Copy link
Member

pernak18 commented Dec 1, 2022

thanks @kslong

have you tried the solution in #2 (comment) and #4? basically, LNFL needs to be upgraded to be compatible with newer versions of gfortran(if memory serves correctly, > 4.7), but there is a workaround using the -std=legacy keyword into the compiler that has worked for others in the community

@kslong
Copy link
Author

kslong commented Dec 1, 2022 via email

@pernak18 pernak18 closed this as completed Dec 2, 2022
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

2 participants