We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I have installed all prerequisites but get following error while compiling:
mpif90 -g -Wall -pedantic -fbounds-check -O0 -Wuninitialized -ffpe-trap=invalid,zero,overflow -fbacktrace -pg -c mod_output.f90 -I/usr/include -lfftw3 -llapack -lblas -o mod_output.o mod_output.f90:53:20: `` 53 | call mpi_reduce(n_xy, n_xy_all, n_bin_x * n_bin_y, MPI_INTEGER4, & | 1 ...... 91 | call mpi_reduce(sum_x, sum_x_all, n_bin_x, MPI_DOUBLE_PRECISION, & | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)). mod_output.f90:17:20:
17 | call mpi_reduce(n_x, n_x_all, n_bin_x, MPI_INTEGER4, MPI_SUM, 0, & | 1 ...... 91 | call mpi_reduce(sum_x, sum_x_all, n_bin_x, MPI_DOUBLE_PRECISION, & | 2 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)). make: *** [Makefile:122: mod_output.o] Error 1 ``
I tried the compiling for debug and for fast computation. Both result in the the same error.
my specs: OS: Ubuntu 22.04 GNU Fortran: 11.4.0 mpirun: 4.1.2
Thanks in advance!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have installed all prerequisites but get following error while compiling:
mpif90 -g -Wall -pedantic -fbounds-check -O0 -Wuninitialized -ffpe-trap=invalid,zero,overflow -fbacktrace -pg -c mod_output.f90 -I/usr/include -lfftw3 -llapack -lblas -o mod_output.o
mod_output.f90:53:20:
`` 53 | call mpi_reduce(n_xy, n_xy_all, n_bin_x * n_bin_y, MPI_INTEGER4, &
| 1
......
91 | call mpi_reduce(sum_x, sum_x_all, n_bin_x, MPI_DOUBLE_PRECISION, &
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)).
mod_output.f90:17:20:
17 | call mpi_reduce(n_x, n_x_all, n_bin_x, MPI_INTEGER4, MPI_SUM, 0, &
| 1
......
91 | call mpi_reduce(sum_x, sum_x_all, n_bin_x, MPI_DOUBLE_PRECISION, &
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)).
make: *** [Makefile:122: mod_output.o] Error 1
``
I tried the compiling for debug and for fast computation. Both result in the the same error.
my specs:
OS: Ubuntu 22.04
GNU Fortran: 11.4.0
mpirun: 4.1.2
Thanks in advance!
The text was updated successfully, but these errors were encountered: