<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
{font-family:"\@Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Andy,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">A quick related question to confirm with you: for the Catalyst live mode to work, is pvserver process needed in between for the PV client to communicate with
Catalyst enabled simulation? In other words, do I need to run two jobs on HPC, one is Catalyst enabled simulation, the other is pvserver, in order for the client to connect to the Catalyst enabled simulation via sockets? From your message below, it seems pvserver
is not needed and I can directly connect a PV client to the Catalyst enabled simulation via sockets, is that right? It’d be great if that is indeed the case since it will simplify the workflow greatly. For one thing, users don’t have to worry about socket
communication between two running jobs on HPC.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hong<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> paraview-bounces@paraview.org [mailto:paraview-bounces@paraview.org]
<b>On Behalf Of </b>Andy Bauer<br>
<b>Sent:</b> Monday, October 21, 2013 2:04 PM<br>
<b>To:</b> Junyi Han<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] Please help to understand the live mode of Catalyst<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">The Catalyst live mode is still beta functionality. The client does connect to the Catalyst enabled simulation directly. You have to keep in mind that there's a pipeline on the server and a separate pipeline
on the client. Essentially the pipeline on the client uses the requested filter output from the server and uses that as the source. The pipeline on the server branches of the 'catalyst:' server (instead of the eyeball it will have a circle with an intersecting
triangle on the left). You can click on that icon to download that data to your client. You should be able to add in other filters on the Catalyst server by selecting the desired filter to chain off of in the Pipeline Browser and then choosing the desired
filter in the menu. <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">If I remember correctly, the initial pipeline helps set up the environment on the Catalyst server to work with. For big simulations, you wouldn't want to download the full data set to the client anyway.
<o:p></o:p></p>
</div>
<p class="MsoNormal">Regards,<br>
Andy<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Oct 21, 2013 at 12:50 PM, Junyi Han <<a href="mailto:demonmerlin@gmail.com" target="_blank">demonmerlin@gmail.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Microsoft YaHei","sans-serif";color:#444444">Dear all,</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="line-height:15.75pt"><span style="font-size:11.5pt;font-family:"Microsoft YaHei","sans-serif";color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:15.75pt"><span style="font-size:11.5pt;font-family:"Microsoft YaHei","sans-serif";color:#444444">I'm new to Catalyst. I'm wondering how does the live mode work. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:15.75pt"><span style="font-size:11.5pt;font-family:"Microsoft YaHei","sans-serif";color:#444444">In my understanding, the simulation is modified to call Catalyst library which can get pre-processed information from a
python script file. The simulation also connects to paraview client directly. It means that there is no pvserver, instead, the simulation calls Catalyst library which based on paraview lib and VTK lib to process data like pvserver, is that correct? <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:15.75pt"><span style="font-size:11.5pt;font-family:"Microsoft YaHei","sans-serif";color:#444444">But in live mode, if I modify the paraview pipeline through the Paraview client, for example, add a filter, how to inform
the simulation that the pipeline has been changed? If the simulation can be noticed of the modified pipeline, why do we need to create a python script to describe the pipeline at the beginning?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:15.75pt"><span style="font-size:11.5pt;font-family:"Microsoft YaHei","sans-serif";color:#444444"><br>
<br>
Best wishes,<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="line-height:15.75pt"><span style="font-size:11.5pt;font-family:"Microsoft YaHei","sans-serif";color:#444444">Junyi Han<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>