<div dir="ltr"><div><div>Thank you, Seb,<br>it seems like I am getting it to work. There are still some difficulties because of my limited javascript experience, but with some quick&dirty workarounds I do have the Catalyst output displayed from ParaViewWeb. As you said, nothing else was required than wrapping the C functions in python.<br><br></div>Thanks<br></div>Sven<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-20 18:59 GMT+02:00 Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sven,<div><br></div><div>I am not aware on any specific developer documentation for Catalyst on the ParaView side (but I haven't worked on that subject for years), although Utkarsh or Andy might know. </div><div><br></div><div>Usually looking at the code and redoing it in the Python world is what is required, but as I said, I'm not sure of what it means since I don't know that code anymore. ;-)</div><div><br></div><div>For the timeframe, I can't tell (meaning I don't know), but we can still try to help you or implement the missing piece via support contract if that make sense on your end.</div><div><br></div><div>Thanks,</div><div><br></div><div>Seb</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 10:46 AM, Sven Kramer <span dir="ltr"><<a href="mailto:svenkramer40@gmail.com" target="_blank">svenkramer40@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>Hello Seb,<br></div>glad to read your answer. So the problem is not only that I was unable to find the relevant information.<br><br></div>You say, you have not (yet) written the required code. Does "not (yet)" mean that it is on the agenda maybe within the next half year? Then I could find a workaround and look forward to the next Paraview updates.<br><br></div>Otherwise I would try to work on the implementation for connecting Paraviewweb to Catalyst output. Is there any developer documentation of Catalysts "specific socket connection"? Or some general Catalyst developer information? Those would be great to get started.<br></div>My first attempt would be to "wrap" the functionality of Qt/ApplicationComponents/pqCatalystConnectReaction.cxx into pvserver and make it available to the web client. Or are the necessary steps much more involved?<br><br></div>Thank you<span><font color="#888888"><br></font></span></div><span><font color="#888888">Sven</font></span><div><div><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-20 15:42 GMT+02:00 Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sven,<div><br></div><div>Live catalyst connection require a specific socket connection to the in-situ process with some special handling.</div><div>We did not (yet) wrote the Python code to perform that specific action for ParaViewWeb so it could be triggered by the web client or configured via an argument at launch time.</div><div>I don't see any reason why this couldn't work, but as for now, I also don't know an easy step to do it without spending time doing it myself.</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, May 19, 2016 at 1:52 PM, Sven Kramer <span dir="ltr"><<a href="mailto:svenkramer40@gmail.com" target="_blank">svenkramer40@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div>Hello,<br></div>I am looking for the recommended steps how to display an in-situ (live) Catalyst simulation through ParaViewWeb.<br><br>After some efforts I am able to run ParaViewWeb successfully and I can view a Catalyst-enabled simulation in paraview.<br><br>I hope, it is also possible to show the live Catalyst output via ParaViewWeb, but I cannot imagine how to achieve this. I tried starting a pvserver as mentioned at the end of <a href="https://blog.kitware.com/introduction-to-paraview-catalyst-live/" target="_blank">https://blog.kitware.com/introduction-to-paraview-catalyst-live/</a> and giving "--ds-host localhost --ds-port 11111" options to pv_web_visualizer.py, but it doesn't help. I can't share anything to be displayed on the web.<br><br>Below you find the (not too detailed) steps I took to have a working solution for either Catalyst-enabled simulations or a working web visualizer:<br><br>Test connection from Catalyst simulation to paraview:<br>1) Build and execute paraview from ParaView-v5.0.1-source.tar.gz (from <a href="http://www.paraview.org/download/" target="_blank">http://www.paraview.org/download/</a>)<br>2) Choose Catalyst->Connect in paraview<br>3) Run CFullExample from <a href="https://github.com/Kitware/ParaViewCatalystExampleCode" target="_blank">https://github.com/Kitware/ParaViewCatalystExampleCode</a><br>4) Pipeline from CFullExample is shown in paraview.<br>Success!<br><br>Test ParaViewWeb:<br>1) Download ParaViewData-5.0.0.tar.gz from <a href="http://www.paraview.org/download/" target="_blank">http://www.paraview.org/download/</a>, extract in /data<br>2) Run $ParaView_DIR/bin/pvpython $ParaView_DIR/lib/site-packages/paraview/web/pv_web_visualizer.py --content $ParaView_DIR/www  --data-dir /data --port 8080<br>3) Open the Visualizer App <a href="http://localhost:8080/apps/Visualizer/" target="_blank">http://localhost:8080/apps/Visualizer/</a><br>Success!<br><br></div>But how do I get Catalyst into the web visualizer? Is there any example how to combine them? Anybody who can suggest the required steps?<br><br></div>Regards,<br></div>Sven<br><div><div><div><br></div></div></div></div>
<br></div></div>_______________________________________________<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/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/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=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/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>