readme.txt

来自「《并行算法实践》附带的mpi源程序」· 文本 代码 · 共 22 行

TXT
22
字号
1. compile:
mpicc single.c -o single -lm

2. run:
mpirun -np 4 single

3. result:
Input of file "dataIn.txt"
3       3
1.000000        3.000000        4.000000
3.000000        1.000000        2.000000
4.000000        2.000000        1.000000

the envalue of the matrix is 7.074389
the envalue of the matrix is -3.187124
the envalue of the matrix is -0.891775

Iteration num = 4
Whole running time    = 0.000000 s
Distribute data time  = 0.000000 s
Parallel compute time = 0.000000 s

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?