mpi_array
代码说明:
这个程序演示了一个简单的数据分解。主任务首先初始化数组,然后分配相等的部分该数组的其他任务。后的其他任务接收其阵列的一部分,它们执行加法运算,以每个数组元素。(This program demonstrates a simple data decomposition. The master task first initializes an array and then distributes an equal portion that array to the other tasks. After the other tasks receive their portion of the array, they perform an addition operation to each array element.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!