文件名称:mpi
介绍说明--下载内容均来自于网络,请自行研究使用
使用多线程编程,采取和mpi相结合的方式,实现了jacob迭代。分为四个线程执行。文件包含编译后的exe文件,使用MPICH运行即可。运行后显示出来的是截取的10*10的运行结果片段(如果显示1024*1024可能会导致内存消耗过大使得mpich崩溃)。可通过更改steps的数值来观察每次迭代的变化、。-Using multi-threaded programming, adoption and mpi combination to achieve the jacob iteration. Four threads. File contains the compiled exe file can be run using the MPICH. After the show is running interception 10* 10 segment operating results (if the display 1024* 1024 could lead to excessive memory consumption make mpich crash). Steps by changing the value to observe the changes in each iteration.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mpi\main.cpp
...\main.o
...\Makefile.win
...\MPI.dev
...\MPI.exe
mpi
...\main.o
...\Makefile.win
...\MPI.dev
...\MPI.exe
mpi