[Paraview] using pvbatch to write pvti/vti file sets

Andy Bauer andy.bauer at kitware.com
Tue Jun 30 21:22:18 EDT 2015


Hi Mark,

Is that a typo or are you really using pvpython? You said "aprun -n 32
pvpython myscript.py". Otherwise I don't see anything that shouldn't work.

Best,
Andy

On Tue, Jun 30, 2015 at 6:22 PM, Vanmoer, Mark W <mvanmoer at illinois.edu>
wrote:

> Hi ParaView,
>
> When using the client GUI, Save Data will write out a pvti/vti data set
> with a vti for each processor. When trying this with pvbatch I'm only
> getting a single vti. I'm calling the pvbatch with
>
> aprun -n 32 pvpython myscript.py
>
> which I think should generate 1 pvti and 32 vtis. This is using ParaView
> 4.1.0.
>
> myscript.py is a hack, I'm reading a pvti that's split into 8192 vtis and
> trying to re-write out fewer, say 32 or 64. This is part of troubleshooting
> what I think might be a lustre issue.
>
> # myscript.py
> try: paraview.simple
> except: from paraview.simple import *
> servermanager.Connect()
> reader = XMLPartitionedImageDataReader(FileName=['test-input.pvti'])
> writer = XMLPImageDataWriter()
> writer.Input = reader
> writer.CompressorType = 'ZLib'
> writer.FileName = 'test-output.pvti'
> writer.UpdatePipeline()
>
> Is what I want to do possible? If not, is there a recommended way to merge
> vtis?
> Mark
> _______________________________________________
> 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
>
> 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/20150630/e5fb563e/attachment.html>


More information about the ParaView mailing list