[Paraview] running parallel pvservers
Jeff Becker
jeffrey.c.becker at nasa.gov
Thu Jul 23 17:43:20 EDT 2015
In the e-mail thread quoted below, it says:
>>>/ Note also that there is a "feature" in the python programmable filter
/>>>/ that comes into play with structured data. That feature says that
/>>>/ structured data is not split at all by default. If you want structured
/>>>/ data to actually be parallel you need to put this code in your python
/>>>/ programmable filter.
/>>>/
/>>>/ from paraview import util
/>>>/
/>>>/ self.GetExecutive().SetExtentTranslator(self.GetExecutive().GetOutputInformation(0),
/>>>/ vtk.vtkExtentTranslator())/
Is this still the case, and if so, how does this translate to VTK 6? Thanks.
-jeff
On 07/23/2015 11:18 AM, David E DeMarle wrote:
> Excellent.
>
> No advice yet. Anyone have a worked out example ready? If so, post it
> to the wiki please.
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Thu, Jul 23, 2015 at 2:14 PM, Jeff Becker
> <jeffrey.c.becker at nasa.gov <mailto:jeffrey.c.becker at nasa.gov>> wrote:
>
> Hi David,
>
> On 07/23/2015 10:57 AM, David E DeMarle wrote:
>> pyhon shell runs on the client side.
>>
>> try doing that within the python programmable filter, which runs
>> on the server side.
>
> Yes that works. Thanks. Now I will try to use that and follow
>
> http://www.paraview.org/pipermail/paraview/2011-August/022421.html
>
> to get my existing Image Data producing Python Programmable Source
> to distribute the data across the servers. Any additional advice?
> Thanks again.
>
> -jeff
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <tel:518-881-4909>
>>
>> On Thu, Jul 23, 2015 at 1:53 PM, Jeff Becker
>> <jeffrey.c.becker at nasa.gov <mailto:jeffrey.c.becker at nasa.gov>> wrote:
>>
>> Hi. I do "mpirun -np 4 pvserver --client-host=xxx
>> --use-offscreen-rendering", and connect a ParaView client
>> viewer. I can see 4 nodes in the memory inspector, but when I
>> start a python shell in ParaView, and do:
>>
>> from mpi4py import MPI
>> print MPI.COMM_WORLD.Get_size()
>>
>> I get the answer 1. Shouldn't it be 4? Thanks.
>>
>> -jeff
>>
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at:
>> http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150723/40213735/attachment.html>
More information about the ParaView
mailing list