Skip to content

Missing C declaration for MPI_REAL2 and implementation for MPI_COMPLEX4 #2653

Closed
@omor1

Description

@omor1

ompi/include/mpi.h.in is missing a declaration for MPI_REAL2. The datatype exists (ompi_mpi_real2), but the macro is missing.
It should be as simple as adding the following:

#if OMPI_HAVE_FORTRAN_REAL2
#define MPI_REAL2 OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_real2)
#endif

A related issue is the missing MPI_COMPLEX4 type. This isn't as trivial as the above, but should follow the same patterns as for the other complex types. Of course, as per the MPI standard, it is optional; but since MPI_REAL2 is clearly supported, I don't think there's a reason for not supporting MPI_COMPLEX4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions