<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Andy,<br>
<br>
That seems to work well, but just to double make sure, let me copy the list of relevant coprocessing libs for 3.98 for your perusal:<br>
----------------<br>
libvtkCoProcessorCS-pv3.98.a<br>
libvtkCoProcessorPython27D-pv3.98.a<br>
libvtkCoProcessorImplementation-pv3.98.a<br>
libvtkCoProcessorPython-pv3.98.a<br>
libvtkCoProcessor-pv3.98.a<br>
----------------<br>
<br>
On a related question, now I am getting error &quot;cannot find -lPhastaAdaptor&quot; although I have libPhastaAdaptor.a in the lib directory. It looks like it tries to link to shared library rather than the static library. I am using &quot;find_package(ParaView 3.98 REQUIRED
 COMPONENTS vtkCoProcessorImplementation<span class=""></span> PhastaAdaptor)&quot; followed by &quot;target_link_libraries(phastaIC.exe vtkCoProcessorImplementation PhastaAdaptor)&quot; in CMakeLists.txt file. What else should I do or correct to make the linker to link to
 libPhastaAdaptor.a (as it did for other coprocessing-related static libs) rather than link to shared lib via -lPhastaAdaptor?<br>
<br>
Thanks and best regards,<br>
Hong<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF283345"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Andy Bauer [andy.bauer@kitware.com]<br>
<b>Sent:</b> Wednesday, August 28, 2013 12:10 PM<br>
<b>To:</b> Hong Yi<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] cannot find -lvtkPVPythonCatalyst error when doing coprocessing<br>
</font><br>
</div>
<div></div>
<div>
<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">
&lt;<a href="mailto:hongyi@renci.org" target="_blank">hongyi@renci.org</a>&gt;</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 &quot;cannot find -lvtkPVPythonCatalyst&quot; 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(&quot;${PARAVIEW_USE_FILE}&quot;)<br>
add_definitions(&quot;-DUSE_CATALYST&quot;)<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>
</div>
</div>
</div>
</body>
</html>