运行test.sh脚本时,出现如下报错信息。
以root用户运行MPI需要加上“--allow-run-as-root”。
在脚本中“mpirun”后面加上“--allow-run-as-root”。