Skip to content
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

Compilation Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)). #54

Open
dkolom opened this issue Feb 21, 2023 · 0 comments

Comments

@dkolom
Copy link
Contributor

dkolom commented Feb 21, 2023

Seems that we have the same issue with the new version of gfortran
https://www.mail-archive.com/[email protected]/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant