<div dir="ltr"><div><div>Hi,<br><br></div>There have been a lot of rendering improvements between 4.4 and 5.2 so you'll definitely want to use 5.2 for the best performance. Also, 5.2 has a lot of Catalyst and Live improvements. You shouldn't need to output images or Cinema data bases in order to get the Live functionality.<br><br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 3, 2017 at 3:38 AM, 张驭洲 <span dir="ltr"><<a href="mailto:yzhzhang@ipe.ac.cn" target="_blank">yzhzhang@ipe.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Hi Andy,<br><br>Thanks for your reply! Now I can run the CxxFullExample, but I've encountered some more problems about it.<br><br>1.The CxxFullExample has a 70x60x44 unstructured grid, and it runs relatively quickly. A truncated sample output of Timer Log is as follows:<br><br><div align="left">RenderView::Update, 0.161069 seconds<br>PVTrivialProducer::<wbr>GatherInformation, 0.051133 seconds<br>vtkSMDataDeliveryManager: Deliver Geome, 0.336371 seconds<br> FullRes Data Migration, 0.336246 seconds<br>Still Render, 0.034509 seconds<br>RenderView::Update, 0.149692 seconds<br>PVTrivialProducer::<wbr>GatherInformation, 0.051577 seconds<br>vtkSMDataDeliveryManager: Deliver Geome, 0.322268 seconds<br> FullRes Data Migration, 0.322144 seconds<br>Still Render, 0.033618 seconds<br>RenderView::Update, 0.156578 seconds<br>PVTrivialProducer::<wbr>GatherInformation, 0.051578 seconds<br>vtkSMDataDeliveryManager: Deliver Geome, 0.342933 seconds<br> FullRes Data Migration, 0.342809 seconds<br>Still Render, 0.033976 seconds<br><br>However, after I modified the grid to a 700x60x44 one and nothing else were modified, it became fairly slow when running. Also, a truncated sample output of Timer Log:<br><br>RenderView::Update, 1.48987 seconds<br>PVTrivialProducer::<wbr>GatherInformation, 0.493497 seconds<br>vtkSMRepresentationProxy::<wbr>GetRepresente, 2.44198 seconds<br>vtkSMDataDeliveryManager: Deliver Geome, 0.480933 seconds<br> FullRes Data Migration, 0.480786 seconds<br>Still Render, 0.116726 seconds<br> OpenGL Dev Render, 0.020361 seconds<br>RenderView::Update, 1.51507 seconds<br>PVTrivialProducer::<wbr>GatherInformation, 0.493821 seconds<br>vtkSMRepresentationProxy::<wbr>GetRepresente, 2.47383 seconds<br>vtkSMDataDeliveryManager: Deliver Geome, 0.481844 seconds<br> FullRes Data Migration, 0.481686 seconds<br>Still Render, 0.116896 seconds<br> OpenGL Dev Render, 0.020697 seconds<br>RenderView::Update, 1.50415 seconds<br>PVTrivialProducer::<wbr>GatherInformation, 0.491896 seconds<br>vtkSMRepresentationProxy::<wbr>GetRepresente, 2.44277 seconds<br>vtkSMDataDeliveryManager: Deliver Geome, 0.474105 seconds<br> FullRes Data Migration, 0.473959 seconds<br>Still Render, 0.114223 seconds<br> OpenGL Dev Render, 0.020254 seconds<br><br>Comparing the two outputs, I find that the time spent in some processes became about 10 times longer, as the dataset became 10 times larger, but some other processes didn't take 10 times longer time. The biggest difference is vtkSMRepresentationProxy::<wbr>GetRepresente, which takes more than 2.4s per frame in the bigger dataset example while in the smaller dataset example it takes less than 0.01s per frame. I don't know what the program does in the vtkSMRepresentationProxy::<wbr>GetRepresente method. Actually I only know about Still Render. Could you please give me a brief introduction to these items? And, as Catalyst is designed for in situ visualization of very large dataset, is there any method to make the example run faster?<br><br>2.When I create Catelyst Python scripts in the ParaView GUI, I have to enable all of the <i>Live Visualization, Output to Cinema </i>and <i>Output rendering components i.e. views </i>options to get live visualization of the simulation in the PV GUI, but under this setting, it generates lots of pictures, which I don't need. If I don't enable either of <i>Output to Cinema </i>or <i>Output rendering components i.e. views, </i>I could not get the live visualization, and of course no picture is generated. But what's the function of the <i>Live Visualization </i>option? <br><br>All of the above are situations in the PV 4.4.0 in the client-server mode. As for PV 5.2, I have some problems in using it in the client-server mode. Hope you can help me. Thank you again!<br><br>-Zhang<br></div><blockquote name="replyContent" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0">-----原始邮件-----<br>
<b>发件人:</b> "Andy Bauer" <<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>><br>
<b>发送时间:</b> 2017年1月2日 星期一<br>
<b>收件人:</b> "张驭洲" <<a href="mailto:yzhzhang@ipe.ac.cn" target="_blank">yzhzhang@ipe.ac.cn</a>><br>
<b>抄送:</b> "<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>
<b>主题:</b> Re: [Paraview] How to start the Catalyst example: CxxFullExample<br><br><div dir="ltr"><div><div><div>Hi,<br><br></div>The Catalyst examples have been moved to the ParaView source repo. I'd recommend using the newest version of ParaView as well as Catalyst since there have been a lot of improvements since PV 4.4. <br><br></div>For the CxxFullExample, if you've built it with Catalyst enabled you can run it as you've done as well as pass in Catalyst Python scripts to use through command line arguments.<br><br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 30, 2016 at 10:08 PM, 张驭洲 <span dir="ltr"><<a href="mailto:yzhzhang@ipe.ac.cn" target="_blank">yzhzhang@ipe.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>Hello everyone,<br><br>I'm learning the ParaView Catalyst by starting at the CxxFullExample, which is one of the Catalyst examples from <a href="https://github.com/Kitware/ParaViewCatalystExampleCode-MOVED-" target="_blank">https://github.com/Kitware/Par<wbr>aViewCatalystExampleCode-MOVED<wbr>-</a>. I have compiled and built it and got the CxxFullExample executable. It is said that it's a full example of a simulation code interfacing with Catalyst, but I don't know how to execute it. I typed "./CxxFullExample" in the command line under the build directory of the example and nothing happened. I read the Chapter 2 of the Catalyst User's Guide and found what's mainly discussed is about creating ParaView Catalyst scripts in ParaView. It is said that to create ParaView Catalyst scripts in ParaView, I must have a representative dataset, and the Appendix 7.1.2 of the guide has a script that can be used to create the dataset. I managed to get lots of files named "filename_x_x.vtu" and "filename_x.pvtu"(x is a number) by typing "./CxxFullExample ./pvpython python.py"(python.py i
s the script from the appendix 7.1.2 of the user's guide) in the command line under the bin directory of ParaView 4.4.0. Then I followed the section 2.2 of the user's guide with one of the file I generated above, only to get another script. Actually, what I want is a condition shown at <a href="http://www.kitware.com/blog/home/post/722" target="_blank">www.kitware.com/blog/home/post<wbr>/722</a>, but after read the section 2.3 of the user's guide, I'm still unable to implement it. How should I organize the Catalyst enabled simulation and ParaView? Can it work in the client-server mode? Can I get it to work without much knowledge of Python? Maybe I'm on the wrong way of learning Catalyst, if so, you can ignore my questions and just tell me the right way. Thanks a lot!<br><br>-Zhang<br> <br><span></span><br><br><br><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/opensou<wbr>rce/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/ParaV<wbr>iew</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/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote><br><span></span><br><br><br></blockquote></div><br></div>