Hi Adam,

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 :)

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.

Best regards,
Andy

On Fri, Oct 30, 2015 at 1:47 PM, Dan Lipsa <dan.li...@kitware.com> wrote:

> Hi Adam,
>
> On Fri, Oct 30, 2015 at 10:20 AM, Adam Lyon <l...@fnal.gov> wrote:
>
>> 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.
>>
>
> 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.
>
> Dan
>
>
_______________________________________________
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

Reply via email to