运行的前提是已经编译好了 基本语句为: mpiexec -f machinefile -n ./a.out machinefile是文件路径,文件形式是: host1 host2:2 host3:4 host4:1