I’m intending to integrate Catalyst-based analysis into the CFD code I use so I figured I would for now build and use a feature-rich Catalyst until I have figured out what parts of Catalyst I actually need in production.
Following this guide, here’s what I did:
- downloaded Catalyst-v5.5.2-Base-Enable-Python-Essentials-Extras-Rendering-Base.tar.gz
- extracted the tarball to a temporary directory (
<source_dir>
) - inside my empty build directory I executed
<source_dir>/cmake.sh <source_dir>
make
I received no error messages and I was able to compile and run the example in ParaView_5.5.2/Examples/Catalyst/Fortran90FullExample/
(after figuring out how to).
When executing the example, the following messages are printed out, but at the same time, slice_10.pvtp
is created so I’m happy it’s working:
Error: Cannot import vtkPVServerManagerDefault
Error: Cannot import vtkPVAnimation
Here’s my concern: When trying to compile my code equipped with the coprocessor stuff, cmake fails, complaining:
CMake Error at /soft/Catalyst-v5.5.2-Base-Enable-Python-Essentials-Extras-Rendering-Base/VTK/VTKConfig.cmake:114 (include):
include could not find load file:
/tmp/Catalyst-v5.5.2-Base-Enable-Python-Essentials-Extras-Rendering-Base/VTK/CMake/vtkModuleAPI.cmake
Call Stack (most recent call first):
/soft/Catalyst-v5.5.2-Base-Enable-Python-Essentials-Extras-Rendering-Base/ParaViewConfig.cmake:66 (include)
CMakeLists.txt:7 (find_package)
CMake Error at /soft/Catalyst-v5.5.2-Base-Enable-Python-Essentials-Extras-Rendering-Base/VTK/VTKConfig.cmake:130 (vtk_module_config):
Unknown CMake command "vtk_module_config".
Call Stack (most recent call first):
/soft/Catalyst-v5.5.2-Base-Enable-Python-Essentials-Extras-Rendering-Base/ParaViewConfig.cmake:66 (include)
CMakeLists.txt:7 (find_package)
So, apparently, VTK/VTKConfig.cmake
needs files from the source directory, which I did not keep.
Is this intended to be that way or did I do anything wrong?
If the former is the case, the build instructions should say that one needs to keep the source directory.