[Paraview] Distributed source for image data

Atanas Atanasov atanasoa at in.tum.de
Sun Feb 26 10:12:33 EST 2012


On 02/26/2012 05:59 PM, Pat Marion wrote:
> I think that the example I linked to does work in parallel, each 
> process produces a different extent of the grid.  Did you have to do 
> something differently to make it work?
the missing part was only the getting the UPDATE_EXTENT and setting it 
as an extent for the current piece and it works.
Regards,
Atanas
>
> Pat
>
> On Sun, Feb 26, 2012 at 8:37 AM, Atanas Atanasov <atanasoa at in.tum.de 
> <mailto:atanasoa at in.tum.de>> wrote:
>
>     On 02/26/2012 04:16 PM, David E DeMarle wrote:
>>
>>     Take a look at the writing parallel readers page on the wiki. It
>>     explains what sources and readers need to do to support parallelism.
>>
>     Thank you! Yes ,I found it some hours ago. Now it works correctly.
>     Regards,
>     A.Atanasov
>
>>      On Feb 26, 2012 5:51 AM, "Atanas Atanasov" <atanasoa at in.tum.de
>>     <mailto:atanasoa at in.tum.de>> wrote:
>>
>>         Hi,
>>         producing the grid is not the problem. I want to produce it
>>         in such way that the data is distributed among process-ranks.
>>         For example if i run paraview with four processes and we want
>>         to have a grid with 8x8, each process holds a small piece of
>>         the grid(4x4).
>>         Regards,
>>         Atanas Atanasov
>>         On 02/25/2012 09:12 PM, Pat Marion wrote:
>>>         Hi,
>>>
>>>         Perhaps this python programmable source example will be helpful:
>>>
>>>         http://www.paraview.org/Wiki/ParaView/Simple_ParaView_3_Python_Filters#Producing_Image_Data_.28Source.29
>>>
>>>         Pat
>>>
>>>         On Sat, Feb 25, 2012 at 8:39 AM, Atanas Atanasov
>>>         <atanasoa at in.tum.de <mailto:atanasoa at in.tum.de>> wrote:
>>>
>>>             Hello.
>>>             i want to create a source plugin for the vtkImageData,
>>>             which generates a distributed grid. The plugin now holds
>>>             variables for entering the global offset, size and
>>>             dimension. How should i set the extents on the different
>>>             processes? Should i set the piece_id for the different
>>>             pieces? At the end the data should be able to be
>>>             processed by the distributed filters of paraview. Thank
>>>             you for your help!
>>>             Regards,
>>>             A.Atanasov
>>>             _______________________________________________
>>>             Powered by www.kitware.com <http://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 <http://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
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120226/74acefa0/attachment.htm>


More information about the ParaView mailing list