<div dir="ltr"><div><div>Hi Hong,<br><br>The Catalyst User's Guide corresponds to ParaView 4.0 and later. You're correct that for 3.98 you'll need to link to one of the CoProcessing libraries. If I recall correctly, you should use: <br>
<div dir="ltr" class="" style="text-align:left"><div class=""><pre class=""><span class="">TARGET_LINK_LIBRARIES</span><span class="">(</span>phastaIC.exe vtkCoProcessorImplementation<span class="">)</span></pre></div></div>
<h2> <span style="font-weight:normal"><span class="" id="Python_Scripts"><font>If that doesn't work, can you email me the list of CoProcessing libraries in your build tree?</font><br></span></span></h2></div>Regards,<br>
</div>Andy<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 28, 2013 at 11:53 AM, Hong Yi <span dir="ltr"><<a href="mailto:hongyi@renci.org" target="_blank">hongyi@renci.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">When building our simulation code linked to ParaView 3.98 (built with coprocessing enabled) with CMake, I got the error "cannot find -lvtkPVPythonCatalyst" in the final linking
stage. I followed Catalyst User Guide to add the following into CMakeLists.txt to handle coprocessing:<br>
<br>
------------------------------------------<br>
...<br>
find_package(ParaView 3.98 REQUIRED COMPONENTS vtkPVPythonCatalyst PhastaAdaptor)<br>
include("${PARAVIEW_USE_FILE}")<br>
add_definitions("-DUSE_CATALYST")<br>
...<br>
target_link_libraries(phastaIC.exe vtkPVPythonCatalyst PhastaAdaptor)<br>
...<br>
------------------------------------------<br>
<br>
I verified there is no vtkPVPythonCatalyst lib in the ParaView build, although there are a few coprocessing-related libs there in the ParaView build. Should I change vtkPVPythonCatalyst to some coprocessing-related component? If so, which component name should
I use? I need to use python for pipeline handling and link catalyst to fortran code.
<br>
<br>
Thanks for any tips you can provide!<span class="HOEnZb"><font color="#888888"><br>
<br>
Hong<br>
<br>
</font></span></div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>