Advice on building paraview (superbuild??) for OpenFOAM runTimePostProcessing

I know this was a year ago, but I ran into the same issue and solved it with the following for anyone else out there looking for an answer. Anyway, here is how I compiled ParaView with OpenFOAM’s make script. You could achieve pretty much the same thing using the superbuild and cmake. These are my notes from a year ago:

With OF2112 and PV5.10, need to manually enable ffmpeg in PV due to OF catalyst requiring it. Added these Cmake variables:

PARAVIEW_ENABLE_FFMPEG=ON VTK_MODULE_ENABLE_VTK_IOFFMPEG=YES

  • Also to avoid some python symbol errors in catalyst:

VTK_PYTHON_OPTIONAL_LINK=OFF

To do with OF make script:

./makeParaView -mesa -mpi -python3 -no-qt -DPARAVIEW_ENABLE_FFMPEG=ON -DVTK_MODULE_ENABLE_VTK_IOFFMPEG=YES -DVTK_PYTHON_OPTIONAL_LINK=OFF

This was based on the following thread:

I also had to add quotes to the variable in line 164 of the following file:
./ThirdParty-v2112/platforms/linuxARM64Gcc/ParaView-5.10.0/lib/cmake/paraview-5.10/paraview-config.cmake

Separately, I don’t think 5.11.0 is compatible with OpenFOAM’s catalyst plugin.