diff --git a/include/experimental_unimpi.h b/include/experimental_unimpi.h index 3f20cc9..04af11f 100644 --- a/include/experimental_unimpi.h +++ b/include/experimental_unimpi.h @@ -14,6 +14,9 @@ extern "C" #define MPI_MAX_INFO_KEY 2056 #define MPI_MAX_INFO_VAL 2056 +#define MPI_Get_address(location, address) \ + (*(address) = (MPI_Aint)((char*)(location)), MPI_SUCCESS) + typedef void MPI_Comm_errhandler_function(MPI_Comm*, int*, ...); int MPI_Comm_create_errhandler( MPI_Comm_errhandler_function* comm_errhandler_fn,