[Paraview] using pvbatch to write pvti/vti file sets
Vanmoer, Mark W
mvanmoer at illinois.edu
Wed Jul 1 10:06:02 EDT 2015
Hi Andy,
D'oh! sorry, pvbatch does work as expected.
Mark
________________________________
From: Andy Bauer [andy.bauer at kitware.com]
Sent: Tuesday, June 30, 2015 8:22 PM
To: Vanmoer, Mark W
Cc: paraview at paraview.org
Subject: Re: [Paraview] using pvbatch to write pvti/vti file sets
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<mailto: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<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=lLjWQse1m7sIE-wZm9lCGeCv45WZDxzY072HGbCi4Mg&m=FYRr2IRSLUsU98QEhG1ScsWGNG85f-iklhRsXaWue-k&s=9fediAVmL563U6KShySm176URh1DM70ETlyJhG8u7AM&e=>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=lLjWQse1m7sIE-wZm9lCGeCv45WZDxzY072HGbCi4Mg&m=FYRr2IRSLUsU98QEhG1ScsWGNG85f-iklhRsXaWue-k&s=Wj5hjGAR74CfOQUDW0sw88EMHMgFNZ_zek_tUhu6Gz4&e=>
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=lLjWQse1m7sIE-wZm9lCGeCv45WZDxzY072HGbCi4Mg&m=FYRr2IRSLUsU98QEhG1ScsWGNG85f-iklhRsXaWue-k&s=FJbIuTSIIxRiTve_tWtxdGDmx7WllU6S2qWQwqxJZo8&e=>
Search the list archives at: http://markmail.org/search/?q=ParaView<https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=lLjWQse1m7sIE-wZm9lCGeCv45WZDxzY072HGbCi4Mg&m=FYRr2IRSLUsU98QEhG1ScsWGNG85f-iklhRsXaWue-k&s=CqMwVmWlDzCrB7VRgV7ofoZRLZHY6rTyAM0AuudwUxQ&e=>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview<https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_paraview&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=lLjWQse1m7sIE-wZm9lCGeCv45WZDxzY072HGbCi4Mg&m=FYRr2IRSLUsU98QEhG1ScsWGNG85f-iklhRsXaWue-k&s=HOk0AAYBmDzFL50zt2aO4uUhQmkSaL3IRTByEtTKWCk&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150701/8a35403f/attachment.html>
More information about the ParaView
mailing list