并行计算报错
-
案例是openfoam12下的hotRadiationHomeFvDOM,划分并行区域decomposePar没问题。但是输入并行命令mpirun -np 4 foamRun -parallel以后有以下报错。求求求求解决办法!!!!!来个好心人吧!!!
--> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 108. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 108. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #2 Foam::UPstream::init(int&, char**&, bool) --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 108. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #3 Foam::argList::argList(int&, char**&, bool, bool, bool) --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 108. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #4 at ??:? #1 Foam::error::abort() at ??:?