dftbplus / mpifx

Modern Fortran wrappers around MPI routines
BSD 2-Clause "Simplified" License
34 stars 13 forks source link

Fixes unrecoverable type mismatch #53

Closed aradi closed 1 year ago

aradi commented 1 year ago

The MPI-Windows module can not be compiled with recent MPICH (version 4.1) due to stricter argument type checking.

In order to prevent dirty tricks to convert int(MPI_ADDRESS_KIND) into type(c_ptr) via transfer() I had to use the Fortran 2008 MPI bindings instead (which are well defined). That means, mpifx would require working Fortran 2008 from the framework. (This is available both, in OpenMPI and in MPICH since several years by now, not sure about other MPI-frameworks, though...)

aradi commented 1 year ago

It seems to work with Intel oneAPI 2021, 2022 and 2024. :tada: