@@ -160,6 +160,10 @@ enum {
160160 MPI_F_STATUS_SIZE = 8
161161};
162162
163+ typedef struct {
164+ MPI_Fint mpi_val [MPI_F_STATUS_SIZE ];
165+ } MPI_F08_status ;
166+
163167// Error classes
164168enum {
165169 MPI_SUCCESS = 0 ,
@@ -543,6 +547,8 @@ typedef void (MPI_T_event_dropped_cb_function)(MPI_Count count, MPI_T_event_regi
543547/* MPI global variables */
544548extern MPI_Fint * MPI_F_STATUS_IGNORE ;
545549extern MPI_Fint * MPI_F_STATUSES_IGNORE ;
550+ extern MPI_F08_status * MPI_F08_STATUS_IGNORE ;
551+ extern MPI_F08_status * MPI_F08_STATUSES_IGNORE ;
546552
547553/* MPI functions */
548554int MPI_Abort (MPI_Comm comm , int errorcode );
@@ -1132,6 +1138,10 @@ double MPI_Wtime(void);
11321138
11331139int MPI_Status_c2f (const MPI_Status * c_status , MPI_Fint * f_status );
11341140int 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 );
11351145MPI_Fint MPI_Comm_c2f (MPI_Comm comm );
11361146MPI_Comm MPI_Comm_f2c (MPI_Fint comm );
11371147MPI_Fint MPI_Errhandler_c2f (MPI_Errhandler errhandler );
@@ -1796,6 +1806,10 @@ double PMPI_Wtime(void);
17961806
17971807int PMPI_Status_c2f (const MPI_Status * c_status , MPI_Fint * f_status );
17981808int 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 );
17991813MPI_Fint PMPI_Comm_c2f (MPI_Comm comm );
18001814MPI_Comm PMPI_Comm_f2c (MPI_Fint comm );
18011815MPI_Fint PMPI_Errhandler_c2f (MPI_Errhandler errhandler );
0 commit comments