microsoft / Microsoft-MPI

Microsoft MPI
MIT License
244 stars 74 forks source link

Fortran MPI module lacks MPI_TYPECLASS_... constants #28

Open albandil opened 4 years ago

albandil commented 4 years ago

The typeclass parameters are declared in mpi.h,

/* typeclasses */
#define MPI_TYPECLASS_REAL      1
#define MPI_TYPECLASS_INTEGER   2
#define MPI_TYPECLASS_COMPLEX   3

but are absent in the Fortran interface module mpi.f90, so code like this fails:

use mpi, only: MPI_TYPECLASS_INTEGER