[Wannier] MPI compilation issue on fedora

wenusaras wenusaras at uom.lk
Tue Apr 23 04:20:40 CEST 2024


Dear wannier90  users,

I tried to build wannier90 for parallel execution in a fedora system.
however I encounter with fallowing issue repetitively.

"
...
...
...
Error: Type mismatch between actual argument at (1) and actual argument 
at (2) (CHARACTER(*)/COMPLEX(8)).
../comms.F90:289:19:

   289 |     call MPI_bcast(array, size, MPI_logical, root_id, 
mpi_comm_world, error)
       |                   1
......
   332 |     call MPI_bcast(array, size, MPI_double_complex, root_id, 
mpi_comm_world, error)
       |                   2
Error: Type mismatch between actual argument at (1) and actual argument 
at (2) (LOGICAL(4)/COMPLEX(8)).
../comms.F90:268:19:

   268 |     call MPI_bcast(array, size, MPI_double_precision, root_id, 
mpi_comm_world, error)
       |                   1
......
   332 |     call MPI_bcast(array, size, MPI_double_complex, root_id, 
mpi_comm_world, error)
       |                   2
Error: Type mismatch between actual argument at (1) and actual argument 
at (2) (REAL(8)/COMPLEX(8)).
../comms.F90:247:19:
...
...
...
"

Any idea or a suggestion for build the code and mitigate this error is 
highly appreciated.

-- 
Thank You in advance
Wenusara Satheekshana


More information about the Wannier mailing list