[Paraview] Connect ParaViewWeb to Catalyst

Sven Kramer svenkramer40 at gmail.com
Fri May 20 12:46:30 EDT 2016


Hello Seb,
glad to read your answer. So the problem is not only that I was unable to
find the relevant information.

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.

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.
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?

Thank you
Sven

2016-05-20 15:42 GMT+02:00 Sebastien Jourdain <
sebastien.jourdain at kitware.com>:

> Hi Sven,
>
> Live catalyst connection require a specific socket connection to the
> in-situ process with some special handling.
> 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.
> 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.
>
> Seb
>
> On Thu, May 19, 2016 at 1:52 PM, Sven Kramer <svenkramer40 at gmail.com>
> wrote:
>
>> Hello,
>> I am looking for the recommended steps how to display an in-situ (live)
>> Catalyst simulation through ParaViewWeb.
>>
>> After some efforts I am able to run ParaViewWeb successfully and I can
>> view a Catalyst-enabled simulation in paraview.
>>
>> 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
>> https://blog.kitware.com/introduction-to-paraview-catalyst-live/ 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.
>>
>> 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:
>>
>> Test connection from Catalyst simulation to paraview:
>> 1) Build and execute paraview from ParaView-v5.0.1-source.tar.gz (from
>> http://www.paraview.org/download/)
>> 2) Choose Catalyst->Connect in paraview
>> 3) Run CFullExample from
>> https://github.com/Kitware/ParaViewCatalystExampleCode
>> 4) Pipeline from CFullExample is shown in paraview.
>> Success!
>>
>> Test ParaViewWeb:
>> 1) Download ParaViewData-5.0.0.tar.gz from
>> http://www.paraview.org/download/, extract in /data
>> 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
>> 3) Open the Visualizer App http://localhost:8080/apps/Visualizer/
>> Success!
>>
>> 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?
>>
>> Regards,
>> Sven
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160520/23d8bde5/attachment.html>


More information about the ParaView mailing list