runTimePostProcessing functionality is not available in precompiled packages of v1912 and v2006.
The same way as v1912 gave me no error during compilation. However, runTimePostProcessing feature can not effective. The problem is the place where the compiled library is stored, I think.
cd $WM_THIRD_PARTY_DIR makeParaView
You can build ParaView 5.6.3, including with the ability to use Python and MPI. Options are same as explained here at OpenFOAM WiKi.
It may be easy if you use a script like this example provided in a ThirdParty directory.
Check the VTK version with the following command.
If the version is 8.2.0, create a link with the name of VTK-8.2.0.
ln -s ParaView-v5.6.3/VTK/ VTK-8.2.0
Now, compile the VTK.
You can build VTK with mpi and other options. It may be easy if you use a script like this example provided in a ThirdParty directory.
Then, prepare for the OF compilation.
wmRefresh cd $WM_PROJECT_DIR export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/linux64Gcc/ParaView-5.6.3 export VTK_DIR=$WM_THIRD_PARTY_DIR/platforms/linux64Gcc/VTK-8.2.0
Finally, compile OpenFOAM-v2006.
foam ./Allwmake -j -s -l
You can check the functionality with tutorials/incompressible/simpleFoam/windAroundBuildings.
You will get the error message like this
librunTimePostProcessing.so: cannot open shared object file: No such file or directory
OpenFOAM compilation create files like
librunTimePostProcessing.so in the directory
librunTimePostProcessing.so file be in the parent directory
If I copy the following three files into
$WM_PROJECT_DIR/platforms/linux64GccDPInt32Opt/lib, runTimePostProcessing function works perfectly.