Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/author_elsweijer.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I place my contributions to libsc under the FreeBSD license. Sandro Elsweijer <sandro.elsweijer@dlr.de>
10 changes: 10 additions & 0 deletions src/sc_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,16 @@ sc_MPI_Isend (void *buf, int count, sc_MPI_Datatype datatype, int dest,
return sc_MPI_SUCCESS;
}

int
sc_MPI_Sendrecv (const void *sendbuf, int sendcount, sc_MPI_Datatype sendtype,
int dest, int sendtag,
void *recvbuf, int recvcount, sc_MPI_Datatype recvtype,
int source, int recvtag, sc_MPI_Comm comm, sc_MPI_Status * status)
{
SC_ABORT ("non-MPI MPI_Sendrecv is not implemented");
return sc_MPI_SUCCESS;
}

int
sc_MPI_Probe (int source, int tag, sc_MPI_Comm comm, sc_MPI_Status *status)
{
Expand Down
4 changes: 4 additions & 0 deletions src/sc_mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ sc_MPI_IO_Errorcode_t;
#define sc_MPI_Irecv MPI_Irecv
#define sc_MPI_Send MPI_Send
#define sc_MPI_Isend MPI_Isend
#define sc_MPI_Sendrecv MPI_Sendrecv
#define sc_MPI_Probe MPI_Probe
#define sc_MPI_Iprobe MPI_Iprobe
#define sc_MPI_Get_count MPI_Get_count
Expand Down Expand Up @@ -673,6 +674,9 @@ int sc_MPI_Send (void *, int, sc_MPI_Datatype, int, int,
sc_MPI_Comm);
int sc_MPI_Isend (void *, int, sc_MPI_Datatype, int, int,
sc_MPI_Comm, sc_MPI_Request *);
int sc_MPI_Sendrecv (const void *, int, sc_MPI_Datatype, int,
int, void *, int, sc_MPI_Datatype, int,
int, sc_MPI_Comm, sc_MPI_Status *);
int sc_MPI_Probe (int, int, sc_MPI_Comm, sc_MPI_Status *);
int sc_MPI_Iprobe (int, int, sc_MPI_Comm, int *,
sc_MPI_Status *);
Expand Down
Loading