I’m having trouble building ParaView 5.11-RC1 with ParaView-Catalyst enabled. I am getting:
CMake Warning at VTK/CMake/vtkModule.cmake:4573 (find_package):
By not providing "Findcatalyst.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "catalyst",
but CMake did not find one.
Could not find a package configuration file provided by "catalyst"
(requested version 2.0) with any of the following names:
catalystConfig.cmake
catalyst-config.cmake
Add the installation prefix of "catalyst" to CMAKE_PREFIX_PATH or set
"catalyst_DIR" to a directory containing one of the above files. If
"catalyst" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
VTK/IO/CatalystConduit/CMakeLists.txt:7 (vtk_module_find_package)
CMake Error at VTK/CMake/vtkModule.cmake:4579 (message):
Could not find the catalyst external dependency.
Call Stack (most recent call first):
VTK/IO/CatalystConduit/CMakeLists.txt:7 (vtk_module_find_package)
I have read the release notes but do not understand whether I am supposed to provide Catalyst or whether ParaView-Catalyst is still provided in ParaView.
catalyst has moved outside of ParaView. You’ll need to build it and point ParaView to it. Please see the script paraview/VTK/.gitlab/ci/docker/fedora34/install_catalyst.sh for an example how to do that.
The release notes state this, but I agree it could be clearer.
Thanks for your answer. I was confused whether external dependency to VTK meant it was neither in VTK nor ParaView or whether it was external to VTK but in ParaView.
Which branch/tag of Catalyst do you recommend? ParaView/release or v2.0.0-rc2?
I am indeed able to build ParaView when my environment provides a built Catalyst. However, my simulation code is no longer able to pick up the ParaView-Catalyst implementation at run time. I get:
failed to open library: <CATATLYST_ROOT>/lib64/catalyst/libcatalyst-paraview.so: cannot open shared object file: No such file or directory
Thank you for your help, it is working now. I had not set that variable. Indeed, it is not necessary for the LD_LIBRARY_PATH to point to libcatalyst-paraview.so.