mpirun -np 4 interFoam -parallel
--> FOAM FATAL ERROR:
Trying to use the dummy Pstream library.
This dummy library cannot be used in parallel mode
From function UPstream::init(int& argc, char**& argv)
in file UPstream.C at line 37.
FOAM exiting
可能是因为从别的文件夹 copy 过来,因为路径出了问题。
需要重新编译 openmpi,如果还不行的话,需要重新编译 OpenFOAM