Compilation Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)).
dkolom opened this issue · comments
Seems that we have the same issue with the new version of gfortran
https://www.mail-archive.com/users@lists.open-mpi.org/msg34361.html
This is what I got:
GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
LIB/PARAMS/module_ini_files_parser_mpi.f90:599:25:
599 | call MPI_BCAST( matrixlines, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, mpicode )
| 1
......
651 | call MPI_BCAST( matrix, matrixlines*matrixcols, MPI_DOUBLE_PRECISION, 0, MPI_COMM_WORLD, mpicode )
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)).
LIB/PARAMS/module_ini_files_parser_mpi.f90:228:24:
228 | call MPI_BCAST( params_real, 1, MPI_DOUBLE_PRECISION, 0, WABBIT_COMM, mpicode )
| 1
......
651 | call MPI_BCAST( matrix, matrixlines*matrixcols, MPI_DOUBLE_PRECISION, 0, MPI_COMM_WORLD, mpicode )
| 2
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
make: *** [LIB/fortran.mk:250: OBJ/module_ini_files_parser_mpi.o] Error 1