<div dir="ltr">I've attached the xdmf file and the generated python script for clarification.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 31, 2015 at 12:30 PM, Krishna Pai <span dir="ltr"><<a href="mailto:krishnapai09@gmail.com" target="_blank">krishnapai09@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Thanks for the reply, Menno. I tried doing that before, but I got a segmentation fault due to a missing filename, and I'm not sure where in the function call for CreateReader I would put a file name or what file name I should use. I ended up getting the following error message along with 2 slight variations on it, followed by the segmentation fault message:<br><br>ERROR: In /lustre/cmf/scratch/k/kpai/projects/ParaView-v4.3.1-source/VTK/IO/Xdmf2/vtkXdmfReader.cxx, line 189<br>vtkXdmfReader (0x48997f0): File name not set<br><br>ERROR: In /lustre/cmf/scratch/k/kpai/projects/ParaView-v4.3.1-source/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784<br>vtkPVCompositeDataPipeline (0x489fe20): Algorithm vtkFileSeriesReader(0x489de90) returned failure for request: vtkInformation (0x4891ab0)<br>  Debug: Off<br>  Modified Time: 165325<br>  Reference Count: 1<br>  Registered Events: (none)<br>  Request: REQUEST_DATA_OBJECT<br>  FORWARD_DIRECTION: 0<br>  ALGORITHM_AFTER_FORWARD: 1<br><br></div>Unless there's a bug in the plugin, I don't think this should be happening if I input the required information correctly. Here's what I did:<br><br></div>1. I opened the xdmf file in ParaView and added a ParallelImageDataWriter to it in the pipeline. In the File Name field of ParallelImageDataWriter, I entered output%t.pvti. I expect the output files to be in this form if I understand what ParallelImageDataWriter does correctly.<br><br></div>2. I exported state from the SpatioTemporal menu. As my xdmf file was the only file in the pipeline, I simply added it.<br><br></div>3. Next, as the xdmf file gets its data from binary files in a separate directory, I entered the file path to those files in the file location field (i.e. <path>/NeptuneData_2015-07-28/0000/f*.bin). I think this is where the plugin will get its data (this may be where the problem is).<br><br></div>4. Finally, I chose not to output images, entered a time compartment size of 4, and chose a location to save the generated python script.<br><br></div>Obviously, the generated script contained the fileinfo=<path> argument in the CreateReader call among other issues, and I just want to understand what's going wrong. As always, any help is appreciated.<br><br></div>Thanks,<br></div>Krishna Pai<br><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Jul 31, 2015 at 2:44 AM, Deij-van Rijswijk, Menno <span dir="ltr"><<a href="mailto:M.Deij@marin.nl" target="_blank">M.Deij@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div link="blue" vlink="purple" lang="EN-GB">
<p></p>
<p></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If I’m not mistaken, it should be called like this<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">xdmf_test_v01xdmf = STP.CreateReader(XDMFReader, '/lustre/cmf/scratch/k/kpai/projects/NeptuneData_2015-07-28/xdmf_test_v01.xdmf')<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">That is, without the keyword argument fileinfo='<path>'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best wishes,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Menno
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="NL"><u></u> <u></u></span></p>
</div>
<p></p>
<p>
</p><table style="WIDTH:475px;BORDER-COLLAPSE:collapse" cols="1" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="2"><font face="Arial" color="#7d7d7d" size="2"><img src="cid:image20810f.JPG@bd15c35e.4dac0214" height="19" width="60" border="0" align="absMiddle"><img src="cid:imageb1c161.JPG@a28c36d2.4ca583ea" height="26" width="410" border="0" align="bottom"></font></td>
</tr>
<tr>
<td style="HEIGHT:17px" colspan="2">
<p><font face="Arial"><font face="Arial" size="2"><font color="#7d7d7d">dr. ir. Menno A. Deij-van Rijswijk</font></font></font></p>
</td>
</tr>
<tr>
<td style="WIDTH:222px;HEIGHT:17px">
<p><span style="FONT-SIZE:10pt"><font face="Arial"><font color="#7d7d7d">Researcher / Software Engineer</font></font></span></p>
</td>
<td style="WIDTH:252px"><font face="Arial" size="2"><font color="#7d7d7d"></font></font></td>
</tr>
<tr>
<td><span style="FONT-SIZE:10pt"><font face="Arial" color="#7d7d7d">Maritime Simulation & Software Group</font></span></td>
<td><font face="Arial" size="2"></font></td>
</tr>
</tbody>
</table>
<p></p>
<p>
</p><table style="WIDTH:475px;BORDER-COLLAPSE:collapse" cols="3" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="WIDTH:217px">
<p><font face="Arial" color="#7d7d7d" size="2"></font> </p>
</td>
<td style="WIDTH:139px">
<p><font face="Arial" color="#7d7d7d" size="2"><strong>MARIN</strong></font></p>
</td>
<td style="WIDTH:117px">
<p><font face="Arial" color="#7d7d7d" size="2"></font> </p>
</td>
</tr>
<tr>
<td style="HEIGHT:17px"><font face="Arial" color="#7d7d7d" size="2"></font></td>
<td><font face="Arial" color="#7d7d7d" size="2">2, Haagsteeg</font></td>
<td><font face="Arial" color="#7d7d7d" size="2"></font></td>
</tr>
<tr>
<td style="HEIGHT:17px"><font face="Arial"><font face="Arial" size="2"><font color="#366092"><font color="#7d7d7d">E</font>
<a href="mailto:M.Deij@marin.nl" title="Click to send email to Deij-van Rijswijk, Menno" target="_blank">
M.Deij@marin.nl</a></font></font></font></td>
<td><font face="Arial" color="#7d7d7d" size="2">P.O. Box 28</font></td>
<td><font face="Arial" color="#7d7d7d" size="2">T <a href="tel:%2B31%20317%2049%2039%2011" value="+31317493911" target="_blank">+31 317 49 39 11</a></font></td>
</tr>
<tr>
<td style="HEIGHT:17px"><font face="Arial" size="2"><font color="#7d7d7d"></font></font></td>
<td><font face="Arial" color="#7d7d7d" size="2">6700 AA Wageningen</font></td>
<td><font face="Arial" size="2"><font color="#7d7d7d">F <a href="tel:%2B31%20317%2049%2032%2045" value="+31317493245" target="_blank">+31 317 49 32 45</a></font></font></td>
</tr>
<tr>
<td><font face="Arial" size="2"><font color="#7d7d7d">T  <a href="tel:%2B31%20317%2049%2035%2006" value="+31317493506" target="_blank">+31 317 49 35 06</a></font></font></td>
<td><font face="Arial" color="#7d7d7d" size="2">The Netherlands</font></td>
<td><font face="Arial" color="#7d7d7d" size="2">I  </font><a href="http://www.marin.nl" target="_blank"><font face="Arial" color="#366092" size="2">www.marin.nl</font></a></td>
</tr>
</tbody>
</table>
<p></p>
<p></p>
<div></div>
<p></p>
<p></p>
<p> </p>
<p><font face="Arial" color="#7d7d7d" size="2">MARIN news: </font><font style="font-family:Arial;font-size:10pt;color:#366092"><span style="font-family:Arial;font-size:10pt;color:#366092;text-decoration:underline"><a href="http://www.marin.nl/web/News/News-items/Cooperatief-zonneenergieproject-op-dak-MARIN.htm" title="" style="font-family:Arial;font-size:10pt;color:#366092;text-decoration:underline" target="_blank"><span style="font-family:Arial;font-size:10pt;color:#366092;text-decoration:underline">Coöperatief
 zonne-energieproject op dak MARIN</span></a></span><font style="font-family:Arial;font-size:10pt;color:#366092"><br>
</font></font></p>
<p><font face="Arial" color="#7d7d7d" size="2">This e-mail may be confidential, privileged and/or protected by copyright. If you are not the intended recipient, you should return it to the sender immediately and delete your copy from
 your system.</font></p>
<p> </p>
<p></p>
<p></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> ParaView [mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>]
<b>On Behalf Of </b>Krishna Pai<br>
<b>Sent:</b> donderdag 30 juli 2015 21:20<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> [Paraview] Using SpatioTemporalParallelism plugin in ParaView<u></u><u></u></span></p>
</div><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi all,<u></u><u></u></p>
</div>
<p class="MsoNormal">I've been working with spatio-temporal data stored in an xdmf file. I found that ParaView doesn't handle parallel processing of this file well, so I thought I would use the SpatioTemporalParallelism plugin to partition the data better.
 I chose the Parallel Image Data Writer to write to a .pvti before using the plugin to export state. Once the python script was generated, and I tried running it with pvbatch, I got the following error message:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Traceback (most recent call last):<br>
  File "./yoda.py", line 26, in <module><br>
    xdmf_test_v01xdmf = STP.CreateReader(XDMFReader, fileinfo='/lustre/cmf/scratch/k/kpai/projects/NeptuneData_2015-07-28/xdmf_test_v01.xdmf')<br>
TypeError: CreateReader() takes exactly 2 non-keyword arguments (1 given)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">The file path above is to the xdmf file on a remote machine.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm not sure what other arguments need to be given, considering the script was generated by ParaView (maybe I exported state incorrectly?). I would appreciate any help.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Krishna Pai<br clear="all">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div></div></div>
<u></u>
<p></p>
<u></u><u></u><u></u>
<p></p>
</div>

</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>          1   1                                          <br>          1   /                                          <br>          1 1                     1                    <br>          1 1      _    0   _   1 _       _      _<br>          1   \   1  1  1  (     1   7   1  7    _)<br>          1    !  1      1   )    1   1   1  1   {_} </div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">          1   1                                          <br>          1   /                                          <br>          1 1                     1                    <br>          1 1      _    0   _   1 _       _      _<br>          1   \   1  1  1  (     1   7   1  7    _)<br>          1    !  1      1   )    1   1   1  1   {_} </div>
</div>