You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is low priority, but MPI_Init needs to set the C pointers that store the address of the Fortran buffer sentinels for ignoring status so that tools can intercept the Fortran API with C code.
In theory, we need to interpose MPI_Init in the C library for scenarios when the user initializes MPI with C instead of Fortran.
Two global variables of type MPI_Fint*, MPI_F_STATUS_IGNORE and MPI_F_STATUSES_IGNORE are declared in mpi.h. They can be used to test, in C, whether f_status is the Fortran value of MPI_STATUS_IGNORE or MPI_STATUSES_IGNORE defined in the mpi module or (deprecated) mpif.h. These are global variables, not C constant expressions and cannot be used in places where C requires constant expressions. Their value is defined only between the calls to MPI_INIT and MPI_FINALIZE and should not be changed by user code.
This C routine converts a C MPI_Status into a Fortran mpi_f08 TYPE(MPI_Status). Two global variables of type MPI_F08_status*, MPI_F08_STATUS_IGNORE and MPI_F08_STATUSES_IGNORE are declared in mpi.h. They can be used to test, in C, whether f_status is the Fortran value of MPI_STATUS_IGNORE or MPI_STATUSES_IGNORE defined in the mpi_f08 module. These are global variables, not C constant expressions and cannot be used in places where C requires constant expressions. Their value is defined only between the calls to MPI_INIT and MPI_FINALIZE and should not be changed by user code.
The text was updated successfully, but these errors were encountered:
This is low priority, but
MPI_Init
needs to set the C pointers that store the address of the Fortran buffer sentinels for ignoring status so that tools can intercept the Fortran API with C code.In theory, we need to interpose
MPI_Init
in the C library for scenarios when the user initializes MPI with C instead of Fortran.The text was updated successfully, but these errors were encountered: