<div dir="ltr">Hi Ian,<div>I have the following patch that fixes the EnSightReader for the files you sent to Utkarsh. Would you mind trying it out? If you have other files you can try it on, please do so.</div><div><br></div><div>You'll have to build ParaView from the repository:</div><div><br></div><div><a href="http://www.paraview.org/Wiki/ParaView:Build_And_Install">http://www.paraview.org/Wiki/ParaView:Build_And_Install</a><br></div><div><a href="http://www.paraview.org/Wiki/ParaView/Git" target="_blank">http://www.paraview.org/Wiki/ParaView/Git</a><br></div><div><br></div><div>And then apply this patch in ParaView/VTK</div><div><br></div><div>git apply --stat ensight.patch<br></div><div><br></div><div><br></div><div>Thanks,</div><div>Dan</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 14, 2014 at 10:39 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=utkarsh.ayachit@kitware.com&cc=&bcc=&su=&body=','_blank');return false;">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Ability to change filenames depends on specific reader<br>
implementations. I am not entire familiar with the internal<br>
implementation, but if you have a couple of sample datasets/script to<br>
reproduce the segfault, I can check if its a minor fix to the reader<br>
to enable this or if it just can't support it.<br>
<br>
Either case, you should be able to call Delete(reader) to delete old<br>
reader once you're done with it to avoid memory bloat.<br>
<span><font color="#888888"><br>
Utkarsh<br>
</font></span><div><div><br>
On Tue, Nov 11, 2014 at 8:39 AM, Ian Krukow <<a href="mailto:i.krukow@tu-braunschweig.de" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=i.krukow@tu-braunschweig.de&cc=&bcc=&su=&body=','_blank');return false;">i.krukow@tu-braunschweig.de</a>> wrote:<br>
> Hi all,<br>
><br>
> I want to apply the same pipeline to a series of Ensight data files in order<br>
> to save extractions in a different format. For the first file, this works<br>
> fine. For the second file, I thought I could change the input file by<br>
> changing the CaseFileName attribute:<br>
><br>
> reader.CaseFileName = nextfile<br>
><br>
> But when I run<br>
><br>
> reader.UpdatePipeline()<br>
><br>
> I get a segmentation fault. This depends neither on the file, nor on the<br>
> pipeline following.<br>
><br>
> I tried a workaround by building up a new pipeline for each file. It works,<br>
> and as I have only two files by now, it is ok to do that, but for more<br>
> files, memory usage would explode. Therefore, my question is: Is it possible<br>
> only to change the input file of the EnSightReader, while keeping the<br>
> pipeline?<br>
><br>
> Kind regards<br>
> Ian<br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div></div>