-
Notifications
You must be signed in to change notification settings - Fork 111
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
develop fails to compile with gfortran10 due to missing -fallow-argument-mismatch compile flag #463
Comments
Are you using GCC 10? It looks like the thing where you have to add |
Global cycle and a few of the other utilities have
But not chgres_cube |
Ah ha! That's it of course. I will add the flag to our CMake build. And how are we going to resolve this so we don't need the flag? |
Instead of |
When I change it to use mpi_f08 (which is recommended) it fails like this:
|
Hmm, I thought |
Could be MPI variant specific. What's happening is that there's an implicit interface and it picks up |
Surely one can call two different overloads of the same function... |
That's what confuses me. Using And because the routine has no interface the compiler will infer that the function takes whatever you pass to it, but when it sees it called in two different contexts it throws the error. |
I have opened a new issue to figure out how to compile without this flag. Now the flag is turned on for gfortran10, |
For some reason the develop branch is not compiling for me today.
What am I doing wrong? Do I need a more recent version of one of my libraries?
The text was updated successfully, but these errors were encountered: