Skip to content

Commit

Permalink
Make MPI_F08_status in C match the layout of type(MPI_Status) in Fortran
Browse files Browse the repository at this point in the history
  • Loading branch information
dalcinl authored and jeffhammond committed Feb 25, 2024
1 parent 2aa76cf commit 58b875c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ enum {
};

typedef struct {
MPI_Fint mpi_val[MPI_F_STATUS_SIZE];
MPI_Fint MPI_SOURCE;
MPI_Fint MPI_TAG;
MPI_Fint MPI_ERROR;
MPI_Fint MPI_internal[5];
} MPI_F08_status;

// Error classes
Expand Down

0 comments on commit 58b875c

Please sign in to comment.