<div dir="ltr"><div><div><div><div>Hi Adam,<br><br></div>In my opinion it is a bug. My thinking is this, if there's no Catalyst work to do then the performance penalty for using Catalyst should be negligible. The VTK grid should only be generated if there's Catalyst work to do (this will usually be quite fast but certainly may not be negligible) and if there aren't any outputs (e.g. images, data extracts or to Catalyst Live via a connected client) then RequestDataDescription() should return that there's no work to do so that no cycles are wasted generating the VTK object. If you don't mind wasting cycles, I can always have you compute some bitcoins for me instead :)<br><br></div>Additionally, all of this should be automated (and can be) such that it just works for users without having to modify the Python scripts for something as simple as this.<br><br></div>Best regards,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 1:47 PM, Dan Lipsa <span dir="ltr"><<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.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">Hi Adam,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Oct 30, 2015 at 10:20 AM, Adam Lyon <span dir="ltr"><<a href="mailto:lyon@fnal.gov" target="_blank">lyon@fnal.gov</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">I'd like this code to only run if a ParaView client is actually connected (because if there's no client connected then it's making VTK objects that no human is looking at, so it's wasting time). So I'd like to know if there's a way that my code could ask the adapter if a client is connected. I hope I explained that better - let me know if not. </div></blockquote><div><br></div></span><div>Live was added as a way to support catalyst processing: the user can examine down-sampled data produced by the simulation but also modify the processing pipeline while the simulation is running. The processing pipeline is mainly used to save data/images from the simulation. So I don't think we considered your use case. Looking at the code it does not seem to be a way to query if there is a connection to ParaView Live. I don't think it would be too difficult to add it though.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Dan</div><div><br></div></font></span></div></div></div>
</blockquote></div><br></div>