@@ -144,10 +144,6 @@ class CBaseMPIWrapper {
144144 winMinRankErrorInUse = true ;
145145 }
146146
147- static inline void Buffer_attach (void * buffer, int size) { MPI_Buffer_attach (buffer, size); }
148-
149- static inline void Buffer_detach (void * buffer, int * size) { MPI_Buffer_detach (buffer, size); }
150-
151147 static inline void Comm_rank (Comm comm, int * rank) { MPI_Comm_rank (comm, rank); }
152148
153149 static inline void Comm_size (Comm comm, int * size) { MPI_Comm_size (comm, size); }
@@ -176,6 +172,8 @@ class CBaseMPIWrapper {
176172
177173 static inline void Wait (Request* request, Status* status) { MPI_Wait (request, status); }
178174
175+ static inline int Request_free (Request *request) { return MPI_Request_free (request); }
176+
179177 static inline void Testall (int count, Request* array_of_requests, int * flag, Status* array_of_statuses) {
180178 MPI_Testall (count, array_of_requests, flag, array_of_statuses);
181179 }
@@ -198,10 +196,6 @@ class CBaseMPIWrapper {
198196 MPI_Bcast (buf, count, datatype, root, comm);
199197 }
200198
201- static inline void Bsend (const void * buf, int count, Datatype datatype, int dest, int tag, Comm comm) {
202- MPI_Bsend (buf, count, datatype, dest, tag, comm);
203- }
204-
205199 static inline void Reduce (const void * sendbuf, void * recvbuf, int count, Datatype datatype, Op op, int root,
206200 Comm comm) {
207201 MPI_Reduce (sendbuf, recvbuf, count, datatype, op, root, comm);
@@ -351,10 +345,6 @@ class CMediMPIWrapper : public CBaseMPIWrapper {
351345 }
352346 }
353347
354- static inline void Buffer_attach (void * buffer, int size) { AMPI_Buffer_attach (buffer, size); }
355-
356- static inline void Buffer_detach (void * buffer, int * size) { AMPI_Buffer_detach (buffer, size); }
357-
358348 static inline void Comm_rank (Comm comm, int * rank) { AMPI_Comm_rank (convertComm (comm), rank); }
359349
360350 static inline void Comm_size (Comm comm, int * size) { AMPI_Comm_size (convertComm (comm), size); }
@@ -385,6 +375,8 @@ class CMediMPIWrapper : public CBaseMPIWrapper {
385375
386376 static inline void Wait (SU2_MPI::Request* request, Status* status) { AMPI_Wait (request, status); }
387377
378+ static inline int Request_free (Request *request) { return AMPI_Request_free (request); }
379+
388380 static inline void Testall (int count, Request* array_of_requests, int * flag, Status* array_of_statuses) {
389381 AMPI_Testall (count, array_of_requests, flag, array_of_statuses);
390382 }
@@ -409,10 +401,6 @@ class CMediMPIWrapper : public CBaseMPIWrapper {
409401 AMPI_Bcast (buf, count, convertDatatype (datatype), root, convertComm (comm));
410402 }
411403
412- static inline void Bsend (const void * buf, int count, Datatype datatype, int dest, int tag, Comm comm) {
413- AMPI_Bsend (buf, count, convertDatatype (datatype), dest, tag, convertComm (comm));
414- }
415-
416404 static inline void Reduce (const void * sendbuf, void * recvbuf, int count, Datatype datatype, Op op, int root,
417405 Comm comm) {
418406 AMPI_Reduce (sendbuf, recvbuf, count, convertDatatype (datatype), convertOp (op), root, convertComm (comm));
@@ -574,10 +562,6 @@ class CBaseMPIWrapper {
574562
575563 static inline void Init_thread (int * argc, char *** argv, int required, int * provided) { *provided = required; }
576564
577- static inline void Buffer_attach (void * buffer, int size) {}
578-
579- static inline void Buffer_detach (void * buffer, int * size) {}
580-
581565 static inline void Barrier (Comm comm) {}
582566
583567 static inline void Abort (Comm comm, int error) { exit (EXIT_FAILURE); }
@@ -595,6 +579,8 @@ class CBaseMPIWrapper {
595579
596580 static inline void Wait (Request* request, Status* status) {}
597581
582+ static inline int Request_free (Request *request) { return 0 ; }
583+
598584 static inline void Waitall (int nrequests, Request* request, Status* status) {}
599585
600586 static inline void Waitany (int nrequests, Request* request, int * index, Status* status) {}
@@ -605,8 +591,6 @@ class CBaseMPIWrapper {
605591
606592 static inline void Bcast (void * buf, int count, Datatype datatype, int root, Comm comm) {}
607593
608- static inline void Bsend (const void * buf, int count, Datatype datatype, int dest, int tag, Comm comm) {}
609-
610594 static inline void Reduce (const void * sendbuf, void * recvbuf, int count, Datatype datatype, Op op, int root,
611595 Comm comm) {
612596 CopyData (sendbuf, recvbuf, count, datatype);
0 commit comments