[Paraview] Some questions about Catalyst Live Visualization

Adam Lyon lyon at fnal.gov
Sat Oct 31 13:30:44 EDT 2015


HI Andy - I think you've got the right idea!  Thanks.   By the way, I've
written a little ParaView plugin that makes a Catalyst Live "single step"
button. If you have the simulation paused on a time step, clicking the
button will allow the simulation to advance to the next time step and will
pause again. I'll post the code to Github hopefully later today -- and make
a little movie. This will be really useful for us!!  Thanks again. -- Adam

*------*

*Adam L. Lyon*
*Scientist; Associate Division Head for Systems for Scientific Applications*

Scientific Computing Division & Muon g-2 Experiment
Fermi National Accelerator Laboratory
630 840 5522 office
www.fnal.gov
lyon at fnal.gov

Connect with us!
Newsletter <http://www.fnal.gov/pub/today/>  |  Facebook
<https://www.facebook.com/Fermilab>  |  Twitter
<https://twitter.com/Fermilab>

On Sat, Oct 31, 2015 at 8:17 AM, Andy Bauer <andy.bauer at kitware.com> wrote:

> 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.lipsa at kitware.com> wrote:
>
>> Hi Adam,
>>
>> On Fri, Oct 30, 2015 at 10:20 AM, Adam Lyon <lyon at 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151031/6d6296e3/attachment.html>


More information about the ParaView mailing list