[Paraview] How to set the default executive to vtkCompositeDataPipeline?

David E DeMarle dave.demarle at kitware.com
Fri May 21 13:46:29 EDT 2010


That is uncharted territory. I've been meaning to try it, but haven't
gotten to that yet. Perhaps Huy Vo or Claudio Silva (cc'd) from the
University Of Utah will let us know if they have tried their new
executive under ParaView.

To start down that path, begin by changing vtkSMSourceProxy's
constructor to make that the default executive instead of the
composite executive. It should be upwards compatible with composite
data pipeline. If that much works, you will then have to enable
multithreading view the new executive to try to get some speedup out
of the thread level parallelism.

Enabling the push pipeline features of the executive will probably be
much more work because ParaView wasn't designed with that in mind.

Let us know how it goes!

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Fri, May 21, 2010 at 1:33 PM, Jenya Burstein <taijinian at gmail.com> wrote:
> David,
>
> Thank you for the reply.
>
> A follow up question: how would I go about changing an executive to try out
> the new streaming multi-threaded executive? There don't seem to be
> "executive" properties declared for the SM proxy objects.
>
> Jenya
>
> On Fri, May 21, 2010 at 10:10 AM, David E DeMarle <dave.demarle at kitware.com>
> wrote:
>>
>> ParaView's default Executive type is vttkCompositeDataPipeline, see
>> vtkSMSourceProxy for where that is done.
>>
>> Only two sourceproxies don't use that default, grep for the executive
>> tag in the XML configuration to see which ones.
>>
>> If you are looking for examples of how to make a reader/source that
>> produces composite data I recommend vtkDataObjectGenerator. That can
>> produce multiblock and amr data if you give it the right program
>> string.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 28 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-371-3971 x109
>>
>>
>>
>> On Fri, May 21, 2010 at 12:23 PM, Jenya Burstein <taijinian at gmail.com>
>> wrote:
>> > Hello,
>> >
>> > I would like to create a vtkCompositeDataSet-based source with Paraview
>> > API
>> > and set the default executive of vtkAlgorithm to the
>> > vtkCompositeDataPipeline.
>> >
>> >
>> > I couldn't find an SM proxy defined for the vtkCompositeDataSet class in
>> > the
>> > ServerManager resource XMLs and I don't see any proxies defined for
>> > executives either.
>> >
>> > Is there a way to to do that with the Paraview out of the box or do I
>> > need
>> > to create my own custom proxies?
>> >
>> > Any advise is much appreciated,
>> > Jenya
>> > _______________________________________________
>> > 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
>> >
>> >
>
>


More information about the ParaView mailing list