mpifx icon indicating copy to clipboard operation
mpifx copied to clipboard

Mismatching types in MPI_win wrappers (and resulting build problems with MPICH 4.x)

Open aradi opened this issue 2 years ago • 0 comments

Currently, MPIFX can not be built with MPICH 4.x.

Problem

The MPI-window wrappers use the old F90 mpi module (instead of mpi_f08) but type(c_ptr) as argument type for pointers, which is strictly only valid when using mpi_f08.

Possible solution

One would have to upgrade the entire library to use mpi_f08 all over.

Converting the pointer argument types to integer(mpi_address_kind) to be compatible with the f90 mpi module is not a real option, as subsequent c_f_pointer() would not work due to type-mismatch.

aradi avatar Jun 30 '23 14:06 aradi