<div dir="ltr"><div><div>Hi John,<br><br></div>I'll be at SC14 and I'd be interested in seeing your demo. Are the details of when and where ready yet?<br><br></div>Regards,<br>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 16, 2014 at 10:43 AM, Biddiscombe, John A. <span dir="ltr"><<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Andy, Dan<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank you both for clarifying this. I might give the catalyst->server->client version a go, but it seems like it might be too much trouble ...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I expect I’ll just use the solution we developed here at CSCS a couple of years ago where we just connect  the simulation to the pvservers and then connect
 the client to them. That way I won’t need to copy the data between processes again (there is already a copy because the simulation is writing to a shared memory buffer and the pvservers would read from that - not the same as the H5FDdsm stuff we developed,
 but very similar, and I can simply piggy back our live viz on top of that).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">We wanted to do a live demo of GPU rendering on 1024 or so nodes at SC14 so it may be that using something I’m already familiar with will save me time as were
 getting close to Nov ...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">On that note : It ought to be trivial to whip up a catalyst “view” which captures the images from the internal renderwindow created by catalyst and have them
 displayed in the GUI so that the user can see the ‘live’ viz. Not sure how you’d pass the interactions back to handle mouse etc, but if the client can write to the camera objects via proxies then it should be possible ....  might try this myself if I have
 a moment spare.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">thanks again<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">JB<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Dan Lipsa [mailto:<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>]
<br>
<b>Sent:</b> 16 October 2014 16:32<br>
<b>To:</b> Biddiscombe, John A.<br>
<b>Cc:</b> Andy Bauer; <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a></span></p><div><div class="h5"><br>
<b>Subject:</b> Re: [Paraview] Catalyst question<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi John,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I had imagined that I’d run a simulation on N ranks, have catalyst bound to them and be able to do
 vis on those N ranks. But in fact, when I connect to a live simulation, I have to “extract” results from them and then render them back on the client.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is this the case or did I miss something?</span><u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Just to confirm Andy's answer, you can do the rendering on a separate ParaView server (pvserver), which can be the same as the server you run the simulation on. Catalyst will send extracts to this server which will render them. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Only images will be send back to the client.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">We show that use case at the end of our article.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.kitware.com/blog/home/post/722" target="_blank">http://www.kitware.com/blog/home/post/722</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Dan<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The parallel image generation appears to work as advertised, but the images go off to disk and not
 to the renderwindow. Is there a way on configuring it so that I can see the actual rendering taking place in the renderview? I wanted to display the contents of a custom render plugin using cuda based rendering on many GPUs and be able to interact with it,
 but I am obviously missing something in my setup.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">thanks</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">JB</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Andy
 Bauer [mailto:<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>]
<br>
<b>Sent:</b> 26 August 2014 15:34<br>
<b>To:</b> Biddiscombe, John A.<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Catalyst question</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi John,<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
This live capability is now available and recently has been cleaned up quite a bit. There are still a couple more small changes that are waiting a code review process before they go into the master branch. The user's guide needs an update for a bunch of new
 information (live, catalyst editions, zero-copy arrays) that's important for Catalyst. We're also doing some preliminary testing with a newly developed ADIOS writer for better IO performance as well.
<u></u><u></u></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Getting back to the live viz stuff, when you create a Catalyst Python script and export it using the wizard you'll have the option to enable live viz (it's the same wizard page as the
 screenshot output specification). Then, while your simulation is running use the Catalyst->Connect option to connect. There are two tests (pv.CatalystLiveSetBreakpoint and pvcs.CatalystLiveSetBreakpoint) that demonstrate the newly implemented live functionality
 which now includes the option to set a breakpoint in the simulation.<u></u><u></u></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">If you get a chance to try it out, let me know what you think.<br>
<br>
Andy<u></u><u></u></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Tue, Aug 26, 2014 at 3:40 AM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Dear Catalyst people<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I dragged out an old simulation demo I created some time ago and got it working with paraview/catalyst from git master branch - my plan was to test a live visualization of the simulation
 with the paraview GUI connected to the simulation. I had thought this capability was now possible, but I have not been following development closely and it looks like I was mistaken.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Is it possible to visualize the simulation live - rather than just generate images (which works fine). (I had a quick skim through the user manual, but didn’t see this feature mentioned).<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">JB<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"" lang="EN-US">--
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"" lang="EN-US">John Biddiscombe,                        email:biddisco @.at.@
<a href="http://cscs.ch" target="_blank">cscs.ch</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"" lang="EN-US"><a href="http://www.cscs.ch/" target="_blank"><span style="color:windowtext">http://www.cscs.ch/</span></a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"" lang="EN-US">CSCS, Swiss National Supercomputing Centre  | Tel: 
<a href="tel:%2B41%20%2891%29%20610.82.07" target="_blank">+41 (91) 610.82.07</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"" lang="IT-CH">Via Trevano 131, 6900 Lugano, Switzerland   | Fax: 
<a href="tel:%2B41%20%2891%29%20610.82.82" target="_blank">+41 (91) 610.82.82</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="IT-CH"> </span><u></u><u></u></p>
</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://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</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://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>