[Paraview] parallel run filter operate on plane source
Moreland, Kenneth
kmorel at sandia.gov
Mon Aug 10 10:37:50 EDT 2009
Bam,
If you are interested in how ParaView performs parallel processing, you should really start by reading the documentation first. You should look at Chapters 13 and 14 of The ParaView Guide (http://www.paraview.org/paraview/help/book.html) or at Chapter 3 of the SC08 tutorial (http://www.paraview.org/Wiki/SC08_ParaView_Tutorial).
Once you understand the high level concepts and are ready to experiment with parallel processing, don't use the plane source. It is a terrible example of parallel processing. Instead, try loading a file with "real" data that will actually be distributed amongst processes. Try the bluntfin.vts file in the ParaView test data (http://www.paraview.org/files/v3.6/ParaViewData3.6.zip).
-Ken
On 8/10/09 7:04 AM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:
You are almost correct. The keys don't cause the data to be transfered
from process 0, but it causes all processes to produce the full plane
data as if they were being run on a single processes. Trypically,
UPDATE_NUMBER_OF_PIECES corresponds to the number of processes, while
UPDATE_PIECE_NUMBER corresponds to the process index. By setting them
to 1 and 0 respectively, we are telling the source that we want the
entire dataset, not a piece of it.
Utkarsh
On Fri, Aug 7, 2009 at 4:47 PM, Bam Ting<bampingting at gmail.com> wrote:
> I look more at how the distribute stream tracer work and learnt that it work
> by setting: UPDATE_PIECE_NUMBER() to 0 and UPDATE_NUMBER_OF_PIECES to 1.
> Apparently this cause data from process 0 to be transfer across network to
> other process. I make a guess here, is that correct?
>
>
>
> On Fri, Aug 7, 2009 at 12:45 PM, Bam Ting <bampingting at gmail.com> wrote:
>>
>> Forgive my misconception before! I am baffelt by how this work!
>>
>> I looked closer. I see plane source on my imput is empty! bounds 1 -1 ...
>> on all process except 0... so that answer something! before this I suppose
>> that the source must be duplicate on all process, because the class doc for
>> vtkPStreamTracer say thaat this must be so. Now I will like to know how does
>> filter such as distributed stream tracer work in this case (plane source is
>> empty on all imput except 0)? Web doc day seed points must be the same
>> across on all process? Can we explain how paraview works here?
>>
>>
>>
>>
>> On Fri, Aug 7, 2009 at 11:22 AM, Bam Ting <bampingting at gmail.com> wrote:
>>>
>>> Have some issue with a filter that operate on plane source when run with
>>> more than a single process. Plane source on imput seem to be duplicated
>>> identical on all processes (no problem), then my filter run and make a
>>> shallow copy of the source and pass to output (problem start!). In the
>>> spreadsheet view I see more points than I should in the output, + I add
>>> point data I see more point data as well, I explore with spreadsheet view
>>> show that unexpected point data all duplicate of expected.
>>>
>>> My question, how paraview handle source duplicated on all process? How
>>> paraview can know that the data is duplicate for plane source? How does it
>>> render such duplicate data? I seek to add some point data to plane source
>>> and provide on the output. What I need to do in the filter to avoid the
>>> issue?
>>>
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090810/4738c2f1/attachment.htm>
More information about the ParaView
mailing list