You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use gcc10 with MPI for compiling HPhi and receive the following error
165 | & call MPI_allREDUCE(MPI_IN_PLACE, prod, 1, &
| 1
......
194 | & call MPI_allREDUCE(MPI_IN_PLACE, maxarray, 1, &
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
please add the following option for cmake. -DCMAKE_Fortran_FLAGS_RELEASE=-fallow-argument-mismatch
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.
The text was updated successfully, but these errors were encountered:
Also starting with version 10, GCC defaults to using -fno-common. This results in a large amount of multiple definition errors during linking. Adding -fcommon to the C flags should fix this.
When you use gcc10 with MPI for compiling HPhi and receive the following error
please add the following option for cmake.
-DCMAKE_Fortran_FLAGS_RELEASE=-fallow-argument-mismatch
ref. https://gcc.gnu.org/gcc-10/changes.html
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.
The text was updated successfully, but these errors were encountered: