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 "I produce piece 0 of 1" 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"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></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'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<<a href="mailto:bampingting@gmail.com">bampingting@gmail.com</a>> wrote:<br>
> I look more at how the distribute stream tracer work and learnt that it work<br>
> by setting: UPDATE_PIECE_NUMBER() to 0 and UPDATE_NUMBER_OF_PIECES to 1.<br>
> Apparently this cause data from process 0 to be transfer across network to<br>
> other process. I make a guess here, is that correct?<br>
><br>
><br>
><br>
> On Fri, Aug 7, 2009 at 12:45 PM, Bam Ting <<a href="mailto:bampingting@gmail.com">bampingting@gmail.com</a>> wrote:<br>
>><br>
>> Forgive my misconception before! I am baffelt by how this work!<br>
>><br>
>> I looked closer. I see plane source on my imput is empty! bounds 1 -1 ...<br>
>> on all process except 0... so that answer something! before this I suppose<br>
>> that the source must be duplicate on all process, because the class doc for<br>
>> vtkPStreamTracer say thaat this must be so. Now I will like to know how does<br>
>> filter such as distributed stream tracer work in this case (plane source is<br>
>> empty on all imput except 0)? Web doc day seed points must be the same<br>
>> across on all process? Can we explain how paraview works here?<br>
>><br>
>><br>
>><br>
>><br>
>> On Fri, Aug 7, 2009 at 11:22 AM, Bam Ting <<a href="mailto:bampingting@gmail.com">bampingting@gmail.com</a>> wrote:<br>
>>><br>
>>> Have some issue with a filter that operate on plane source when run with<br>
>>> more than a single process. Plane source on imput seem to be duplicated<br>
>>> identical on all processes (no problem), then my filter run and make a<br>
>>> shallow copy of the source and pass to output (problem start!). In the<br>
>>> spreadsheet view I see more points than I should in the output, + I add<br>
>>> point data I see more point data as well, I explore with spreadsheet view<br>
>>> show that unexpected point data all duplicate of expected.<br>
>>><br>
>>> My question, how paraview handle source duplicated on all process? How<br>
>>> paraview can know that the data is duplicate for plane source? How does it<br>
>>> render such duplicate data? I seek to add some point data to plane source<br>
>>> and provide on the output. What I need to do in the filter to avoid the<br>
>>> issue?<br>
>>><br>
>><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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>
><br>
</blockquote></div><br>