diff --git a/tutorials/introduction-to-groups-and-communicators/zh_cn.md b/tutorials/introduction-to-groups-and-communicators/zh_cn.md index 37155ee..6383959 100644 --- a/tutorials/introduction-to-groups-and-communicators/zh_cn.md +++ b/tutorials/introduction-to-groups-and-communicators/zh_cn.md @@ -10,7 +10,7 @@ redirect_from: '/introduction-to-groups-and-communicators/' 在以前的教程中,我们使用了通讯器 `MPI_COMM_WORLD`。 对于简单的程序,这已经足够了,因为我们的进程数量相对较少,并且通常要么一次要与其中之一对话,要么一次要与所有对话。 当程序规模开始变大时,这变得不那么实用了,我们可能只想一次与几个进程进行对话。 -在本次教程中,我们将展示如何创建新的通讯器,以便一次与原始线程组的子集进行沟通。 +在本次教程中,我们将展示如何创建新的通讯器,以便一次与原始进程组的子集进行沟通。 > **注意**- 本站点的所有代码都在 [GitHub]({{ site.github.repo }}) 上。本教程的代码在 [tutorials/introduction-to-groups-and-communicators/code]({{ site.github.code }}/tutorials/introduction-to-groups-and-communicators/code) 目录下。 diff --git a/tutorials/mpi-reduce-and-allreduce/zh_cn.md b/tutorials/mpi-reduce-and-allreduce/zh_cn.md index 1e2b9e3..c8f77e8 100644 --- a/tutorials/mpi-reduce-and-allreduce/zh_cn.md +++ b/tutorials/mpi-reduce-and-allreduce/zh_cn.md @@ -27,7 +27,7 @@ redirect_from: '/mpi-reduce-and-allreduce/' ## MPI_Reduce 与 `MPI_Gather` 类似,`MPI_Reduce` 在每个进程上获取一个输入元素数组,并将输出元素数组返回给根进程。 -输出元素包含减少的结果。 +输出元素包含归约的结果。 `MPI_Reduce` 的原型如下所示: ```cpp