Bootstrap

linux运行openfoam并行会报错:attempt to run parallel on 1 processor

linux运行openfoam并行会报错:attempt to run parallel on 1 processor
在这里插入图片描述
步骤:
1.先在终端输入which mpirun,查看当前并行路径;
2.输入gedit ~/.bashrc,文本方式打开bashrc文件;
3.修改为export PATH=/usr/bin:$PATH;
4.source ~/.bashrc ,使修改起效;

;