Problems building plugin against ParaView SDK
On Cooley at ALCF, I used the Scripts/sites/ANL-COOLEY-Build.sh
script (updated for v5.8.0
here) to generate a ParaView tarball. When I try to build a plugin (in this case the NEK5000 reader plugin) against the extracted tarball, I supply the CMake variable:
ParaView_DIR:PATH=/soft/visualization/paraview/v5.8.0.0_gcc-7.1.0_mvapich2-2.1/lib/cmake/paraview-5.8
That is the install path to the unpacked tarball, specifically the location of the paraview-config.cmake
file. Then running configure on the plugin requires me to provide a bunch of locations to paraview's dependencies, for example:
ospray
openimagedenoise
embree
vtk
tbb
And maybe more that I just didn't get to yet. Within the unpacked tarball I can't seem to find the <package>-config.cmake
files the plugin configure is asking for, so it doesn't seem possible to simply supply those variables (e.g. OpenImageDenoise_DIR
, ospray_DIR
, ...). Instead am I supposed to know what variables are required for each paraview dependency and supply the headers, libraries, etc. individually?
Is there a better way to build paraview with the superbuild such that we can build plugins against it? Is that documented somewhere? Is this a bug or just user error?
I've loaded cmake-3.14.0
in my environment to configure/build both paraview and the plugin in this case.