35 #ifndef NEKTAR_LIB_UTILITIES_COMMMPI_H
36 #define NEKTAR_LIB_UTILITIES_COMMMPI_H
52 namespace LibUtilities
87 int dest,
void *recvbuf,
int recvcount,
90 int pSendProc,
int pRecvProc);
94 void *recvbuf,
int recvcount,
96 virtual void v_AlltoAllv(
void *sendbuf,
int sendcounts[],
int sensdispls[],
98 int recvcounts[],
int rdispls[],
virtual void v_SendRecvReplace(void *buf, int count, CommDataType dt, int pSendProc, int pRecvProc)
ReduceOperator
Type of operation to perform in AllReduce.
virtual void v_Recv(void *buf, int count, CommDataType dt, int source)
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
virtual void v_Finalise()
virtual void v_Send(void *buf, int count, CommDataType dt, int dest)
virtual void v_AllReduce(void *buf, int count, CommDataType dt, enum ReduceOperator pOp)
virtual void v_AlltoAllv(void *sendbuf, int sendcounts[], int sensdispls[], CommDataType sendtype, void *recvbuf, int recvcounts[], int rdispls[], CommDataType recvtype)
static CommSharedPtr create(int narg, char *arg[])
Creates an instance of this class.
virtual CommSharedPtr v_CommCreateIf(int flag)
boost::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
virtual void v_SplitComm(int pRows, int pColumns)
CommMpi(int narg, char *arg[])
virtual bool v_TreatAsRankZero(void)
boost::shared_ptr< CommMpi > CommMpiSharedPtr
Pointer to a Communicator object.
virtual void v_Scatter(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype, int root)
Base communications class.
static std::string className
Name of class.
#define dest(otri, vertexptr)
virtual void v_Exscan(Array< OneD, unsigned long long > &pData, const enum ReduceOperator pOp, Array< OneD, unsigned long long > &ans)
virtual void v_Bcast(void *buffer, int count, CommDataType dt, int root)
virtual void v_SendRecv(void *sendbuf, int sendcount, CommDataType sendtype, int dest, void *recvbuf, int recvcount, CommDataType recvtype, int source)
virtual void v_Gather(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype, int root)
virtual void v_AlltoAll(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype)