int MPI_Keyval_create(MPI_Copy_function
* copy_fn, MPI_Delete_function * delete_fn, int * keyval, void * extra_state) 创建一个新的属性关键词,即将废弃的特性, 建议用MPI_Comm_create_keyval代替 int MPI_Keyval_free(int * keyval) 释放一个属性关键词 int MPI_Op_create(MPI_Uop function, int commute, MPI_Op * op) 创建一个用户定义的通信函数句柄 int MPI_Op_free(MPI_Op * op) 释放一个用户定义的通信函数句柄 int MPI_Pack(void * inbuf, int incount, MPI_Datatype datetype, void * outbuf, int outcount, int * position, MPI_Comm comm) 将数据打包, 放到一个连续的缓冲区中 int MPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm, int * size) 返回需要打包的数据类型的大小 int MPI_Pcontrol(const int level) 控制剖视 int MPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status * status) 阻塞消息测试 int MPI_Recv(void * buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status * status) 标准接收 int MPI_Recv_init(void * buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request * request) 创建接收句柄 int MPI_Reduce(void * sendbuf, void * recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) 将所进程的值归约到root进程, 得到一个结果 int MPI_Reduce_scatter(void * sendbuf, void * recvbuf, int * recvcounts, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) 将结果归约后再发送出去 int MPI_Request_free(MPI_Request * request) 释放通信申请对象 int MPI_Rsend(void * buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) 就绪发送 int MPI_Rsend_init(void * buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request * request) 创建就绪发送句柄 |
||