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
MPI F77 interfaces (use mpi) cause issues with compilers in that two calls to the same MPI routine with different data types (e.g., MPI_bcast called with MPI_REAL8 and MPI_INTEGER). The second call will be flagged as an error for passing the "wrong" type of data (integers when reals were passed in the first call).
Newer (Fortran90 style) MPI interfaces exist and are available using modules such as mpi_f08.
There is an incompatibility in the type of an MPI communicator (F77 version is an integer, F90+ versions are a special type)
Metadata for the MPI communicator should use the modern type (MPI_Comm)
A switch to capgen could enable "use" of either mpi or mpi_f08 in caps.
For the mpi version, capgen will internally convert MPI_Comm to integer.
The text was updated successfully, but these errors were encountered:
use mpi
) cause issues with compilers in that two calls to the same MPI routine with different data types (e.g.,MPI_bcast
called withMPI_REAL8
andMPI_INTEGER
). The second call will be flagged as an error for passing the "wrong" type of data (integers when reals were passed in the first call).mpi_f08
.MPI_Comm
)mpi
ormpi_f08
in caps.mpi
version, capgen will internally convertMPI_Comm
tointeger
.The text was updated successfully, but these errors were encountered: