📜  mpi split communicator - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:40.260000             🧑  作者: Mango

代码示例1
int MPI_Comm_split(
  MPI_Comm comm,
  int color, // int representing the group, one different for each group
  int key,   // int representing the rank of the current proc in the new group
  MPI_Comm *newcomm // output param
);