⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 并行高斯消去法解线性方程组几阶的都可以的
💻 TXT
字号:
1. compile:
mpicc gauss.c -o gauss

2. run:
mpirun -np 4 gauss

3. result:
Input of file "dataIn.txt"
4       5
1.000000        4.000000        -2.000000       3.000000        6.000000
2.000000        2.000000        0.000000        4.000000        2.000000
3.000000        0.000000        -1.000000       2.000000        1.000000
1.000000        2.000000        2.000000        -3.000000       8.000000

Output of solution
x[0]=1.000000
x[1]=2.000000
x[2]=0.000000
x[3]=-1.000000

Whole running time    = 0.011314 seconds
Distribute data time  = 0.002518 seconds
Parallel compute time = 0.008796 seconds

⌨️ 快捷键说明

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