<div dir="ltr"><div><div><div><div><div><div>Hi Bishwajit,<br><br></div>The filter "ImageResampling" is not available in version 4.0.1. It was introduced in 4.2.0. So you will have to get a newer version of ParaView. You can find ParaView binaries for Linux here: <a href="http://www.paraview.org/download/">http://www.paraview.org/download/</a>.<br><br>Since 5.1, "ImageResampling" is deprecated and "ResampleToImage" is its replacement. Please refer to this page for more info about the new filter: <a href="https://blog.kitware.com/dataset-resampling-filters/">https://blog.kitware.com/dataset-resampling-filters/</a><br><br></div>You can find the driver ParaView is using for rendering in the Help>About menu.<br><br></div>The binaries provided in the website mentioned above have support for mesa for rendering using CPU using the --mesa-llvm flag. Please refer to the page for more info: <a href="https://blog.kitware.com/paraview-5-0-0-available-for-download/">https://blog.kitware.com/paraview-5-0-0-available-for-download/</a><br><br></div>Hope this helps.<br><br></div>Thanks<br></div>Sujin<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 7, 2017 at 11:48 PM, Bishwajit Dutta <span dir="ltr"><<a href="mailto:bdutta@vt.edu" target="_blank">bdutta@vt.edu</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 class="gmail_default" style="font-size:small">Hi All,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I am new to paraview and need help on the below. Thanks for answering them.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">a)</div><div class="gmail_default" style="font-size:small">I am running paraview 4.0.1 installed in ubuntu with python 2.7.6 and one of the scripts (cmdline #pvpython script_name.py) is crashing at call :</div><div class="gmail_default" style="font-size:small"><div class="gmail_default">sampler = paraview.simple.<wbr>ImageResampling(Input=reader)</div><div><br></div></div><div class="gmail_default" style="font-size:small">------------------log message-----------------------<wbr>-</div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><paraview.servermanager.<wbr>XMLImageDataReader object at 0xae40a4f0></div><div class="gmail_default">Traceback (most recent call last):</div><div class="gmail_default"> File "png-setup.py", line 34, in <module></div><div class="gmail_default"> sampler = paraview.simple.<wbr>ImageResampling(Input=reader)</div><div class="gmail_default">AttributeError: 'module' object has no attribute 'ImageResampling'</div><div class="gmail_default">------------------------------<wbr>------------------------------<br></div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I even tried with the latest paraview but it also crashes.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">b) My system has NVIDIA GPU, how do I know if paraview is using GPU acceleration</div><div class="gmail_default" style="font-size:small">or its using CPU for rendering?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">c) Is there any pvpython commandline option to use CPU acceleration or paraview has to be compiled separately for that.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">BR,</div><div class="gmail_default" style="font-size:small">Bishwajit</div><div class="gmail_default" style="font-size:small"><br></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>