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
may I ask if there is already a patch to resolve the compiling openmpi problems encountered:
so if I compile with gfortran and openmpi I got the following warnings (see below), which if I compile without
-fallow-argument-mismatch even result in a failed compilation.
Any fix or idea how to get this right?
../comms.F90:1246:22:
1246 | call MPI_scatterv(rootglobalarray, counts, displs, MPI_double_complex, &
| 1
......
1344 | call MPI_scatterv(rootglobalarray, counts, displs, MPI_Integer, &
| 2
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/INTEGER(4)).
../comms.F90:1247:22:
1247 | array, localcount, MPI_double_complex, root_id, mpi_comm_world, error)
| 1
......
1345 | Array, localcount, MPI_Integer, root_id, mpi_comm_world, error)
| 2
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/INTEGER(4)).
../comms.F90:1088:21:
The text was updated successfully, but these errors were encountered:
This shouldn't be an actual problem - and you can include the flag you highlighted, and Wannier90 should build and pass the test suite in parallel. Although it is outside of the fortran standard - this type of f77 style calling of external libraries is very common.
However, it is "fixed" in the development version - for example by including the f90 interface. This builds with recent versions of gfortran without warnings, or needing the special flag.
However, I'd caution against using the development version at the moment as it has been undergoing a lot of changes. But it would be easy to take the changes from comms.F90 and put them in the 3.1 release.
Dear all,
may I ask if there is already a patch to resolve the compiling openmpi problems encountered:
so if I compile with gfortran and openmpi I got the following warnings (see below), which if I compile without
-fallow-argument-mismatch even result in a failed compilation.
Any fix or idea how to get this right?
../comms.F90:1246:22:
1246 | call MPI_scatterv(rootglobalarray, counts, displs, MPI_double_complex, &
| 1
......
1344 | call MPI_scatterv(rootglobalarray, counts, displs, MPI_Integer, &
| 2
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/INTEGER(4)).
../comms.F90:1247:22:
1247 | array, localcount, MPI_double_complex, root_id, mpi_comm_world, error)
| 1
......
1345 | Array, localcount, MPI_Integer, root_id, mpi_comm_world, error)
| 2
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/INTEGER(4)).
../comms.F90:1088:21:
The text was updated successfully, but these errors were encountered: