@@ -160,6 +160,10 @@ enum {
160
160
MPI_F_STATUS_SIZE = 8
161
161
};
162
162
163
+ typedef struct {
164
+ MPI_Fint mpi_val [MPI_F_STATUS_SIZE ];
165
+ } MPI_F08_status ;
166
+
163
167
// Error classes
164
168
enum {
165
169
MPI_SUCCESS = 0 ,
@@ -543,6 +547,8 @@ typedef void (MPI_T_event_dropped_cb_function)(MPI_Count count, MPI_T_event_regi
543
547
/* MPI global variables */
544
548
extern MPI_Fint * MPI_F_STATUS_IGNORE ;
545
549
extern MPI_Fint * MPI_F_STATUSES_IGNORE ;
550
+ extern MPI_F08_status * MPI_F08_STATUS_IGNORE ;
551
+ extern MPI_F08_status * MPI_F08_STATUSES_IGNORE ;
546
552
547
553
/* MPI functions */
548
554
int MPI_Abort (MPI_Comm comm , int errorcode );
@@ -1132,6 +1138,10 @@ double MPI_Wtime(void);
1132
1138
1133
1139
int MPI_Status_c2f (const MPI_Status * c_status , MPI_Fint * f_status );
1134
1140
int MPI_Status_f2c (const MPI_Fint * f_status , MPI_Status * c_status );
1141
+ int MPI_Status_c2f08 (const MPI_Status * c_status , MPI_F08_status * f08_status );
1142
+ int MPI_Status_f082c (const MPI_F08_status * f08_status , MPI_Status * c_status );
1143
+ int MPI_Status_f2f08 (const MPI_Fint * f_status , MPI_F08_status * f08_status );
1144
+ int MPI_Status_f082f (const MPI_F08_status * f08_status , MPI_Fint * f_status );
1135
1145
MPI_Fint MPI_Comm_c2f (MPI_Comm comm );
1136
1146
MPI_Comm MPI_Comm_f2c (MPI_Fint comm );
1137
1147
MPI_Fint MPI_Errhandler_c2f (MPI_Errhandler errhandler );
@@ -1796,6 +1806,10 @@ double PMPI_Wtime(void);
1796
1806
1797
1807
int PMPI_Status_c2f (const MPI_Status * c_status , MPI_Fint * f_status );
1798
1808
int PMPI_Status_f2c (const MPI_Fint * f_status , MPI_Status * c_status );
1809
+ int PMPI_Status_c2f08 (const MPI_Status * c_status , MPI_F08_status * f08_status );
1810
+ int PMPI_Status_f082c (const MPI_F08_status * f08_status , MPI_Status * c_status );
1811
+ int PMPI_Status_f2f08 (const MPI_Fint * f_status , MPI_F08_status * f08_status );
1812
+ int PMPI_Status_f082f (const MPI_F08_status * f08_status , MPI_Fint * f_status );
1799
1813
MPI_Fint PMPI_Comm_c2f (MPI_Comm comm );
1800
1814
MPI_Comm PMPI_Comm_f2c (MPI_Fint comm );
1801
1815
MPI_Fint PMPI_Errhandler_c2f (MPI_Errhandler errhandler );
0 commit comments