<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Helvetica;color: #000000;font-size: 10pt;">
Hi Andy,<br>
<br>
D'oh! sorry, pvbatch does work as expected.<br>
<br>
Mark<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF943524"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Andy Bauer [andy.bauer@kitware.com]<br>
<b>Sent:</b> Tuesday, June 30, 2015 8:22 PM<br>
<b>To:</b> Vanmoer, Mark W<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] using pvbatch to write pvti/vti file sets<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>Hi Mark,<br>
<br>
</div>
<div>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.<br>
<br>
</div>
<div>Best,<br>
</div>
<div>Andy<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 30, 2015 at 6:22 PM, Vanmoer, Mark W <span dir="ltr">
<<a href="mailto:mvanmoer@illinois.edu" target="_blank">mvanmoer@illinois.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hi ParaView,<br>
<br>
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<br>
<br>
aprun -n 32 pvpython myscript.py<br>
<br>
which I think should generate 1 pvti and 32 vtis. This is using ParaView 4.1.0.<br>
<br>
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.<br>
<br>
# myscript.py<br>
try: paraview.simple<br>
except: from paraview.simple import *<br>
servermanager.Connect()<br>
reader = XMLPartitionedImageDataReader(FileName=['test-input.pvti'])<br>
writer = XMLPImageDataWriter()<br>
writer.Input = reader<br>
writer.CompressorType = 'ZLib'<br>
writer.FileName = 'test-output.pvti'<br>
writer.UpdatePipeline()<br>
<br>
Is what I want to do possible? If not, is there a recommended way to merge vtis?<br>
Mark<br>
_______________________________________________<br>
Powered by <a href="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=" rel="noreferrer" target="_blank">
www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="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=" rel="noreferrer" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="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=" rel="noreferrer" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="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=" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="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=" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>