-
Notifications
You must be signed in to change notification settings - Fork 23
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
Can't compile from source on CentOS with gcc10 #109
Comments
@caseyfleeter I ran into this problem a while back on MacOS (see #32) and added the A better solution is to fix the non-standard Fortran code. |
That makes sense! I was just following the instructions from the file svSolver/BuildWithMake/README-build-linux.txt. This was the best practice when I first joined the lab, but may be outdated now... |
Hi, it took me a while to figure this out, would be fine if I open a PR to modify the build docs to add this flag option? Thanks! |
When compiling from source on CentOS 7 (Stanford's Sherlock cluster), gcc9 compilers must be used. This is okay for now, but in the future they may remove support for gcc9. There is an error using gcc10 compilers which seems to be due to a change in Fortran variable assignment error handling.
The change log for gcc10 (https://gcc.gnu.org/gcc-10/changes.html) in the Fortran section, third bullet, says: "Mismatches between actual and dummy argument lists in a single file are now rejected with an error. Use the new option -fallow-argument-mismatch to turn these errors into warnings; this option is implied with -std=legacy. -Wargument-mismatch has been removed."
It might be good to add the new option into the MakeFile so we can compile using gcc10 in the future. Thanks!
The text was updated successfully, but these errors were encountered: