-
Notifications
You must be signed in to change notification settings - Fork 60
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
build errors on GCC 10 (gfortran) #73
Comments
Thanks for the observation and for the workaround! Just to repeat what is in your link: |
Same issue on gcc-11.3.0. Thanks for workaround. |
Hi All, Following on from the above, I'm trying to build ScaLAPACK 2.2.0 around gcc 11.2.0. I've run the following cmake command to include the Fortran flags which were causing the errors mentioned above to start with. This seems to do part of the job for me now, producing warnings as predicted.
However, upon running
I get the following errors and I'm not sure how to proceed.
I have modules loaded for openblas 0.3.28, openmpi 4.1.3, libxc 6.2.2 and fftw 3.3.10 all build around gcc 11.2.0 If this should be a new issue, please let me know. Thanks, |
GCC10 is the default on Ubuntu 22.04.
During the build step there are many compilation errors of the form:
See this link for the explanation and the fix.
https://gcc.gnu.org/gcc-10/porting_to.html
Until the code is fixed the workaround is to configure
cmake
with the following flag:-DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch"
which converts the error into a warning.e.g.
The text was updated successfully, but these errors were encountered: