并行期末大作业
py生成矩阵指令
python3 script.py --n 16 --output output.txt
pyhon3 generator.py --n 256 --output ./test-case/256.txt
mpi 编译:
mpicc -g -o Gauss_mpi Gauss_mpi.c
mpi运行
mpirun -n [proccess] ./Gauss_mpi < [test file] > [res file]
mpirun -n 8 ./Gauss_mpi < ./test-case/256.txt > ./res/256_mpi_8.txt