[Paraview] readers with the parallel server
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Jul 12 12:52:49 EDT 2011
Paul,
Yes, your reader still has to check what process it is and then do t he reading only on that process.
Utkarsh
Sent from my iPad
On Jun 27, 2011, at 6:13 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
> Hi,
>
> I've just noticed that some of my readers aren't working in parallel. These are readers that I didn't intend to have parallel reading capabilities but I did want just one process to read it in so the results that are returned are correct. I *thought* I could do this by adding the following to RequestInformation:
>
> vtkInformation* info = outputVector->GetInformationObject(0);
> info->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), 1);
> return 1;
>
> ...but it seems I was wrong!
>
> Is there a way to have a standard reader just reading in to one process or do I need to handle it all by checking the rank and number of processes?
>
> Thanks,
> Paul
> _______________________________________________
> 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