FATAL ERROR - parallel processing
Hi everybody,
I tried to run a case on 16 processors using buoyantPimpleFoam solver. I decomposed the domain according to the user's guide. And then run the case using the command: <path>$ mpirun -np 16 buoyantPimpleFoam -parallel but I got the following error: --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 79. FOAM aborting I have already used Foam in parallel, and am pretty sure that I've done everything correctly. Anybody has an idea what this error means?! Please help! I may lose my job!! |
hi, i know it was a long post. Just to share in case others are facing it. I solved it by recheck and changing the number of domains in decomposeParDict to that of the np. I am not sure if your case has the same careless mistake :p
because line 79 shows this: Code:
if (numprocs <= 1) Please correct me if I am wrong. Thanks :) |
All times are GMT -4. The time now is 19:38. |