<div dir="ltr"><div><div><div><div>Hi Tim,<br><br></div>Is the PV directory you're pointing to a build directory or an install directory? If it's an install directory you'll need to enable PARAVIEW_INSTALL_DEVELOPMENT_FILES. Other than that, my suggestion would be to try linking one of the Catalyst examples from <a href="https://github.com/Kitware/ParaViewCatalystExampleCode">https://github.com/Kitware/ParaViewCatalystExampleCode</a> and see how that works for you. Another thing you could try is using a newer version of CMake from <a href="https://cmake.org/download/">https://cmake.org/download/</a>. For the Linux x86_64 tarball, you can just untar the executables from that and use directly.<br><br></div>Let us know if none of those ideas don't work for you.<br><br></div>Best,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 9, 2016 at 3:58 PM, Gallagher, Timothy P <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello again,</p>
<p><br>
</p>
<p>I'm (finally) trying to get Catalyst to successfully link to our application code on Excalibur (Cray, ARL HPC). I was able to build paraview and all of the dependencies thanks to help I've gotten on the list here in the past. However, when I try to link
my code to it (and this is a code that works fine with Catalyst on other platforms), I get:</p>
<p><br>
</p>
<p></p>
<div> CMake Error at /p/home/tgallagh/pv-test/4.4.0_osmesa/lib/cmake/paraview-4.4/vtkModuleAPI.cmake:120 (message):<br>
Requested modules not available:<br>
<br>
vtkPVPythonCatalyst<br>
Call Stack (most recent call first):<br>
/p/home/tgallagh/pv-test/4.4.0_osmesa/lib/cmake/paraview-4.4/VTKConfig.cmake:80 (vtk_module_config)<br>
/p/home/tgallagh/pv-test/4.4.0_osmesa/lib/cmake/paraview-4.4/ParaViewConfig.cmake:49 (include)<br>
CMakeLists.txt:218 (find_package)<br>
<br>
The section in my CMakeLists that looks for paraview is:<br>
<br>
<div>option(LESLIE_USE_COPROCESSING "Turn on CoProcessing with Paraview" OFF)<br>
if(LESLIE_USE_COPROCESSING)<br>
find_package(ParaView REQUIRED vtkPVPythonCatalyst<br>
HINTS $ENV{PARAVIEW_CP_ROOT})<br>
include(${PARAVIEW_USE_FILE})<br>
include_directories(${PROJECT_SOURCE_DIR}/utils)<br>
add_definitions(-DPARAVIEW_COPROCESSING)<br>
endif()<br>
mark_as_advanced(LESLIE_USE_COPROCESSING)<br>
</div>
<br>
</div>
and it doesn't seem to work. On other machines, I never needed to set the PARAVIEW_CP_ROOT variable, it always just found it. When I build my code, I point the paraview directory (where it finds the paraviewConfig.cmake file) to:
<p></p>
<p><br>
</p>
<p><span>/p/home/tgallagh/pv-test/4.4.0_osmesa/lib/cmake/paraview-4.4</span></p>
<p><br>
</p>
<p>and it seems to find it okay. <br>
</p>
<p><br>
</p>
<p>Lastly, the vtkPVPythonCatalyst.so library is in the lib/paraview-4.4/site-packages/vtk directory and there is <a href="http://libvtkPVPythonCatalyst-pv4.4.so" target="_blank">libvtkPVPythonCatalyst-pv4.4.so</a>* and <a href="http://libvtkPVPythonCatalystPython27D-pv4.4.so" target="_blank">libvtkPVPythonCatalystPython27D-pv4.4.so</a>* in lib/paraview-4.4/<br>
</p>
<p><br>
</p>
<p>I'm at a loss to understand why it is reporting the module is missing -- did I miss something somewhere?
<br>
</p>
<p><br>
</p>
<p>Thanks as always,</p>
<p><br>
</p>
<p>Tim<br>
</p>
</div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>