摘要:
/*MPI进程间点对点非阻塞通信*/ #include "mpi.h" /*MPI头函数,提供了MPI函数和数据类型定义*/ #include <stdio.h> int main(int argc, char** argv) { int rank; //进程标识 int size; //进程总数 阅读全文
posted @ 2020-10-20 14:46
economies
阅读(294)
评论(0)
推荐(0)
摘要:
阻塞式点对点通信 #include <stdio.h> #include "mpi.h" #define n 1024 int main(int argc,char *argv[]){ int myrank,nprocs,i; double a[n],b[n]; MPI_Status status; 阅读全文
posted @ 2020-10-20 14:26
economies
阅读(215)
评论(0)
推荐(0)

浙公网安备 33010602011771号