I see no logic for this in the plane source. So this is something that happen behind the scene in pipeline execute? I guess it works like this: If a source say by way of key &quot;I produce piece 0 of 1&quot; and he is run in parallel if he is really piece n not 0 of m piece then RequestData is not called on him? I this correct?<br>
<br>Thank you for the help! Appreciate much! <br><br><div class="gmail_quote">On Mon, Aug 10, 2009 at 6:04 AM, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You are almost correct. The keys don&#39;t cause the data to be transfered<br>
from process 0, but it causes all processes to produce the full plane<br>
data as if they were being run on a single processes. Trypically,<br>
UPDATE_NUMBER_OF_PIECES corresponds to the number of processes, while<br>
UPDATE_PIECE_NUMBER corresponds to the process index. By setting them<br>
to 1 and 0 respectively, we are telling the source that we want the<br>
entire dataset, not a piece of it.<br>
<br>
Utkarsh<br>
<div><div></div><div class="h5"><br>
On Fri, Aug 7, 2009 at 4:47 PM, Bam Ting&lt;<a href="mailto:bampingting@gmail.com">bampingting@gmail.com</a>&gt; wrote:<br>
&gt; I look more at how the distribute stream tracer work and learnt that it work<br>
&gt; by setting: UPDATE_PIECE_NUMBER() to 0 and UPDATE_NUMBER_OF_PIECES to 1.<br>
&gt; Apparently this cause data from process 0 to be transfer across network to<br>
&gt; other process. I make a guess here, is that correct?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Aug 7, 2009 at 12:45 PM, Bam Ting &lt;<a href="mailto:bampingting@gmail.com">bampingting@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Forgive my misconception before! I am baffelt by how this work!<br>
&gt;&gt;<br>
&gt;&gt; I looked closer. I see plane source on my imput is empty! bounds 1 -1 ...<br>
&gt;&gt; on all process except 0... so that answer something! before this I suppose<br>
&gt;&gt; that the source must be duplicate on all process, because the class doc for<br>
&gt;&gt; vtkPStreamTracer say thaat this must be so. Now I will like to know how does<br>
&gt;&gt; filter such as distributed stream tracer work in this case (plane source is<br>
&gt;&gt; empty on all imput except 0)? Web doc day seed points must be the same<br>
&gt;&gt; across on all process? Can we explain how paraview works here?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Aug 7, 2009 at 11:22 AM, Bam Ting &lt;<a href="mailto:bampingting@gmail.com">bampingting@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Have some issue with a filter that operate on plane source when run with<br>
&gt;&gt;&gt; more than a single process. Plane source on imput seem to be duplicated<br>
&gt;&gt;&gt; identical on all processes (no problem), then my filter run and make a<br>
&gt;&gt;&gt; shallow copy of the source and pass to output (problem start!). In the<br>
&gt;&gt;&gt; spreadsheet view I see more points than I should in the output, + I add<br>
&gt;&gt;&gt; point data I see more point data as well, I explore with spreadsheet view<br>
&gt;&gt;&gt; show that unexpected point data all duplicate of expected.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; My question, how paraview handle source duplicated on all process? How<br>
&gt;&gt;&gt; paraview can know that the data is duplicate for plane source? How does it<br>
&gt;&gt;&gt; render such duplicate data? I seek to add some point data to plane source<br>
&gt;&gt;&gt; and provide on the output. What I need to do in the filter to avoid the<br>
&gt;&gt;&gt; issue?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>