-
Notifications
You must be signed in to change notification settings - Fork 371
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
Compile issue with GCC 10.1.0 #3954
Comments
I googled a bit, and it seems adding the Fortran flag |
Thanks Andrew! That does de-escalate that sort of error to a warning and let the build continue. (Though there are quite a few warnings that could be cleaned up). I then ran into another issue with Might need |
I still get an error at link time when using gcc 10.1 on Cori. Even if I build with intel, but use the |
Noting the link error here, which isn't very helpful. But as I noted above, I still get this error even if I use Intel compiler, but still have gcc/10.1.0 module loaded.
|
This is a problem with GNU 10, right? It should allow both instances of MPI_bcast by default without any special flags. |
This discussion suggests its an MPI problem: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91731 |
I created a branch To complete the build with gnu10, will need a change to I'm not sure if there is a PR for that change yet. Yes there is: #4364 I was hoping we could use this branch to test and fix any issues with gnu9/gnu10 before then deciding how to proceed. |
Add flags for GNU builds to allow using GNU v10 and higher versions Add -fallow-argument-mismatch for all GNU builds (including gnugpu). Only add -fallow-invalid-boz for 2 specific files for gnu/gnugpu builds. This PR adds Depends.gnugpu.cmake which is similar to Depends.gnu.cmake Fixes #3954 And is needed first for #4809 and #4818 [BFB]
Wanted to try newer GNU compiler, but hit an issue here:
This is on cori. I created simple tester:
The text was updated successfully, but these errors were encountered: