Skip to content

The dummy Pstream library cannot be used in parallel mode

After installing openfoam 2112 on redhat 8.4 following issue #2418 (closed) , we get the following error when trying to run openfoam

--> FOAM FATAL ERROR: (openfoam-2112) The dummy Pstream library cannot be used in parallel mode From static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 50.FOAM exiting

This fix did not work for us: #1970 (closed)

Any suggestions on how to fix the error

Here is the command that gives the error mpirun -np 8 snappyHexMesh -overwrite -parallel

It seems to be related to running in parallel. The serial version works fine: snappyHexMesh -overwrite