[Paraview] Paraview starts to lag extremely after adding too much complexity in the pipeline

2018-02-27 Thread Jonathan Borduas
Hi all,

We use a fairly complex pipeline with more than 300 filters.

When divided across 20 .pvsm , everything is fast. We started to merge those 
.pvsm into a single one.

For the first 17 .pvsm everything was still fast. No .pvsm load time and no lag.

Once we started integrating the 18th .pvsm the performance started to degrade. 
We used VTune to diagnose paraview:
Seems that the performance drop is purely related to 
vtkInformation::GetAsObjectBase and  
vtkDemandDrivenPipeline::ComputePipelineMTime which is call recursively  37 
times in a single call stack sample !

It makes no difference if we integrate the 20 small .pvsm into a single large 
.pvsm or if we integrate thoses .pvsm as custom filters (.cpd) in the main 
.pvsm.

This is true when we are loading the .pvsm, but this is also true when we are 
modifying values in the statefile.

We are using:
Win10
Paraview 5.3 derivative.
Memory consumption is 1Go on a 16 Go machine.

Any idea on how to improve the performance ? We though about dividing the 
pipeline into a multitude of pvserver...

Jonathan Borduas
___
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:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Detect Catalyst extraction from within a coprocessor

2018-02-27 Thread Michalke, Simon

Hi Andy,

our optimization software is able to stream live results via http when 
configured. This stream is pointed at a continuous running webservice 
that saves the current progress. A user can for example view the current 
scalar variables over the steps to make sure the problem converges: 
http://eamc075.eam.uni-erlangen.de

Simple 2D data should also be viewable at some point.
Now comes catalyst:
The webservice should also be able to redirect the data to a catalyst 
instance. A user can enter the ip and port online and will receive the 
data from the webservice onto his local machine. The data is in general 
not bulky so I can send all data to the client and do the processing on 
the machine running paraview/catalyst.


This means that the client catalyst will never directly connect to the 
simulation or vice versa in our use case.


Regards,
Simon

(forgot the cc to list)

Am 2018-02-27 17:21, schrieb Andy Bauer:

Hi Simon,

Currently there's nothing that allows the coprocessor to get 
information

that the user has clicked on the extract icon during a Catalyst Live
connection. You may be able to hack in a solution though by looking at
either vtkLiveInSituLink (
https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkLiveInsituLink.html)
or coprocessing.py.

By the way, I'm curious about the use case for this -- what 
functionality

are you hoping to do with this information? FYI: we're hoping to add
significant functionality in the near future for Catalyst Live so 
something

like that may be supported in the near future.

Best,
Andy

On Tue, Feb 27, 2018 at 9:47 AM, Michalke, Simon 


wrote:


Hi,

is there any way that the coprocessor can detect if the catalyst user
clicks on the extract icon? Something like a function that sleeps 
until a

new coprocess steps needs to be done.
Or do I have to continuously poll the catalyst client if it needs a 
new

batch of data transmitted?

Simon
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensou

rce/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:
https://public.kitware.com/mailman/listinfo/paraview


___
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:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Detect Catalyst extraction from within a coprocessor

2018-02-27 Thread Andy Bauer
Hi Simon,

Currently there's nothing that allows the coprocessor to get information
that the user has clicked on the extract icon during a Catalyst Live
connection. You may be able to hack in a solution though by looking at
either vtkLiveInSituLink (
https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkLiveInsituLink.html)
or coprocessing.py.

By the way, I'm curious about the use case for this -- what functionality
are you hoping to do with this information? FYI: we're hoping to add
significant functionality in the near future for Catalyst Live so something
like that may be supported in the near future.

Best,
Andy

On Tue, Feb 27, 2018 at 9:47 AM, Michalke, Simon 
wrote:

> Hi,
>
> is there any way that the coprocessor can detect if the catalyst user
> clicks on the extract icon? Something like a function that sleeps until a
> new coprocess steps needs to be done.
> Or do I have to continuously poll the catalyst client if it needs a new
> batch of data transmitted?
>
> Simon
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> https://public.kitware.com/mailman/listinfo/paraview
>
___
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:
https://public.kitware.com/mailman/listinfo/paraview


[Paraview] Detect Catalyst extraction from within a coprocessor

2018-02-27 Thread Michalke, Simon

Hi,

is there any way that the coprocessor can detect if the catalyst user 
clicks on the extract icon? Something like a function that sleeps until 
a new coprocess steps needs to be done.
Or do I have to continuously poll the catalyst client if it needs a new 
batch of data transmitted?


Simon
___
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:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Set total recording time in VeloView

2018-02-27 Thread Magician
Hi Bastien,


I tried your script, but the recordingTimeInMilliseconds takes
waiting time ‘before' data logging.
I want to set data logging time (begin to end).


Magician


> 2018/02/16 18:48、Bastien Jacquet  wrote:
> 
> Sorry, I should have doubled checked
> You need to use .trigger() instead of .toggle().
> This is the code that works:
> 
> def myfunc():
> vv.app.actions['actionRecord'].trigger()
> print ("Toggled recording")
> 
> qq=QtCore.QTimer()
> qq.setSingleShot(True)
> qq.connect('timeout()',myfunc)
> recordingTimeInMilliseconds = 60 * 1000
> qq.start(recordingTimeInMilliseconds)
> 
> Best,
> 
> Bastien Jacquet, PhD 
> Technical Leader - Computer Vision Team
> Kitware SAS 
> 26 rue Louis Guérin - 69100 Villeurbanne - France
> F: +33 (0)4.37.45.04.15
> 
> On Thu, Feb 15, 2018 at 9:36 PM, Magician  > wrote:
> Hi Bastien,
> 
> 
> Thanks for your advice.
> I tried the script and the button is toggled on the GUI, but no data is 
> recorded.
> 
> 
> Magician
> 
> 
>> 2018/02/15 3:03、Bastien Jacquet > > wrote:
>> 
>> Hello Magician,
>> 
>> I think you can use Python, and PythonQt to make a fake "record" button 
>> press, after the desired amount of time.
>> Just try this:
>> def myfunc():
>> vv.app.actions['actionRecord'].toggle()
>> print ("Toggled recording")
>> 
>> qq=QtCore.QTimer()
>> qq.setSingleShot(True)
>> qq.connect('timeout()',myfunc)
>> recordingTimeInMilliseconds = 60 * 1000
>> qq.start(recordingTimeInMilliseconds)
>> 
>> Hope this helps,
>> 
>> Bastien Jacquet, PhD 
>> VeloView Lead Developer - Computer Vision Team
>> Kitware SAS 
>> 26 rue Louis Guérin - 69100 Villeurbanne - France 
>> 
>> F: +33 (0)4.37.45.04.15 
>> On Sun, Feb 11, 2018 at 3:55 PM, Magician > > wrote:
>> Hi all,
>> 
>> 
>> I’m using VeloView 3.5.0 (Windows 64bit) and recording VLP-16’s data packets.
>> I want to set the total recording time or stopping time, but VeloView have 
>> no option to do it on the GUI.
>> 
>> Is there a good way? (ex. using Python)
>> 
>> 
>> Magician
>> http://www.paraview-expert.com/ 
>> ___
>> 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:
>> https://public.kitware.com/mailman/listinfo/paraview 
>> 
>> 
> 
> 

___
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:
https://public.kitware.com/mailman/listinfo/paraview


[Paraview] Extract cell by region Info.

2018-02-27 Thread Mohammed Babiker
Good Afternoon 
 In the filter of “Extract cells by region “  when the  intersection adjusted 
to “box “ , Is it possible to get the dimensions of the box (for example in cm 
or m )???
If not is one of these below item possible , and how??

 how can I get the size of the whole system?
How can I get the information of the box Parameter,(Ex. Position , scale or 
rotation)??
Help really appreciated

Kind Regards.
___
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:
https://public.kitware.com/mailman/listinfo/paraview