Hi Andrey,<br><br>Once you have run through the steps to generate a coprocessing python script, described here:<br><br><a href="http://www.paraview.org/Wiki/CoProcessing#Running_the_CoProcessing_Script_Generator">http://www.paraview.org/Wiki/CoProcessing#Running_the_CoProcessing_Script_Generator</a><br>
<br>If you look at the top of the generated script, it will have these options:<br><br>host = "localhost"<br>port = 22222<br><br>set_use_network(True)<br>set_do_reduce_data(True)<br>set_do_writing(False)<br>set_use_psets(False)<br>
set_log_messages(False)<br>set_procs_per_partition(32)<br>set_final_partition_size(1)<br><br>So you just need to edit the two lines with host and port. You can ignore the other options, they are set by default to do the standard live-data use case. When you generate the coprocessing script, you will add writers to the end of your pipeline(s). A writer represents the end of the pipeline, the sink. Instead of data flowing into the writer, it will be re-directed over the network to the Live Data Source on the pvserver.<br>
<br>If the number of coprocessor nodes is greater than the number of pvserver nodes, then the coprocessor will have to aggregate data to a subset its nodes that perform the network sends. The aggregation code currently expects vtkPolyData and won't work with anything else.<br>
<br>Pat<br><br>
<br><div class="gmail_quote">On Sat, Jan 22, 2011 at 5:44 AM, Andrey Lomtev <span dir="ltr"><<a href="mailto:andreylomtev@gmail.com" target="_blank">andreylomtev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><div><div></div><div>
On 12.01.2011 22:24, pat marion wrote:
<blockquote type="cite">Hi Andrey,<br>
<br>
When I wrote those slides, the code for the Live Data Source had
not yet received approval for public release. The code is now
available but has yet to be merged with the paraview main
release. You'll have to compile paraview yourself in order to use
the Live Data Source. The code can be found in the live-data
branch of the git repository git://<a href="http://github.com/patmarion/ParaView.git" target="_blank">github.com/patmarion/ParaView.git</a><br>
<br>
Pat<br>
<br>
<div class="gmail_quote">On Wed, Jan 12, 2011 at 1:07 PM, Andrey
Lomtev <span dir="ltr"><<a href="mailto:andreylomtev@gmail.com" target="_blank">andreylomtev@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello everyone,<br>
<br>
I'm going to use CoProcessing library. I'm moving step by step
as described in SC10_tutorial. I don't understand slide 99. I
can't create Live Data Source. It isn't presented in my PV
version (3.8.1). How can I add it?<br>
<br>
Thanks,<br>
Andrey.<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>
</blockquote>
</div>
<br>
</blockquote></div></div>
Hi Pat,<br>
Thank you for previous answer. I have managed to add Live Data
Source in PV. I have a question: how can I assign host:port to make
Coprocessor connect with pvserver?<br>
Andrey.<br>
</div>
</blockquote></div><br>