[vtk-developers] In Parallel, how to check if data is distributed across nodes.

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Nov 17 10:03:37 EST 2016


A filter can't, without explicitly communicating among ranks to know
the number of cells/points on each rank.

On Thu, Nov 17, 2016 at 4:37 AM, Mathieu Westphal
<mathieu.westphal at kitware.com> wrote:
> Hi All
>
> Trying again here with this question.
>
> How can a filter check if an input data is distributed accross nodes in
> Parallel ?
> I tried to check for CAN_HANDLE_PIECE_REQUEST in my filter
> RequestInformation, but without success (with ParaView).
>
> Regards,
>
> Mathieu Westphal
>
> On Thu, Sep 1, 2016 at 9:59 AM, Mathieu Westphal
> <mathieu.westphal at kitware.com> wrote:
>>
>> Hello
>>
>> I would like to know if there is way to to check if the input of the
>> filter is distributed accross nodes
>>
>> In my case I have two filter, a typical pipeline looks like this
>>
>> - Input
>>   |- Filter 1
>>     |- Filter2
>>   |- Filter 2
>>
>> Input is not parallel aware, so its output will be replicated across
>> nodes, while filter 1 is, so Filter 1 output can be ditributed across nodes
>> in parallel.
>>
>> How could filter2 know if its input is distributed or not ?
>> I tried to check for CAN_HANDLE_PIECE_REQUEST but without success (with
>> ParaView).
>>
>> Thanks a lot
>>
>> Mathieu Westphal
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>


More information about the vtk-developers mailing list