Re: [Paraview] 答复: Help: How to get multi screenshots in one picture from Paraview

2017-08-16 Thread Utkarsh Ayachit
Shudi,

Is this what you're looking for:
https://www.paraview.org/Wiki/Parameter_Study

If so, you may want to look at Chapter 12 in the ParaView Users
Guide[1]. It covers in the comparative views in more up-to-date
details.

Utkarsh

[1] https://www.paraview.org/paraview-guide/

On Tue, Aug 15, 2017 at 7:10 PM, 董 舒迪  wrote:
> Hi Utkarsh,
>
>
> Good evening.
>
> I am running a series of numerical data (.vtk file) in Paraview, which is
> about 90s long. What I want are several screenshots from different time
> period and conbine them into one picture with Paraview. For example, I want
> the screenshots of 12s, 13s, 14s and 15s, and output these four screenshots
> into one picture. I heard Paraview itself coiuld help me to do it but I
> cannot find how.
>
>
> I am not sure it this explaination makes sense? Do you have anyidea about
> how to obtain this kind of screenshots?
>
>
> Best regards
>
> Shudi Dong.
>
>
>
> 
> 发件人: Utkarsh Ayachit 
> 发送时间: 2017年8月15日 2:46
> 收件人: 董 舒迪
> 抄送: paraview@paraview.org
> 主题: Re: [Paraview] Help: How to get multi screenshots in one picture from
> Paraview
>
> Shudi,
>
> Can you elaborate a little? I am not sure I understand what you want
> to take multiple screenshots of.
>
> Utkarsh
>
> On Mon, Aug 14, 2017 at 4:58 PM, 董 舒迪  wrote:
>> Dear all,
>>
>>
>> I am currently using paraview to analyse my .vtk data. I want to get some
>> screenshots for my presentation. I have tried version 4.1 and 5.2 and I
>> could save one screenshot per time. Does anyone know how can I get multi
>> screenshots in one picture with paraview itself?  I do not want to use
>> python as I have no experience with it.  I would appreciate your reply and
>> help.
>>
>>
>> Many thanks
>>
>> Shudi Dong
>>
>>
>> ___
>> 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
> ParaView - KitwarePublic
> paraview.org
> ParaView is an open-source, multi-platform application designed to visualize
> data sets of varying sizes from small to very large. The goals of the
> ParaView project ...
>
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
> ParaView Info Page - Kitware
> public.kitware.com
> To see the collection of prior postings to the list, visit the ParaView
> Archives. Using ParaView: To post a message to all the list members, send
> ...
>
>>
___
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


Re: [Paraview] Segmentation fault in protobuf

2017-08-16 Thread Andy Bauer
Hi Ufuk,

Glad to hear that things are working for you and thanks for reporting back.

Cheers,
Andy

On Wed, Aug 16, 2017 at 11:09 AM,  wrote:

> Hi,
>
> I add print statement to python script and it shows that three input port
> is ok but one of them is empty. The new allinputsgridwriter.py that has
> automatic detection of input port fail in this case but if I use old one
> with manual configuration of the ports (there is no definition of empty
> port in this case) work fine. Anyway, the issue seems solved with external
> installation of protobuf library and I tested both gcc and intel
> compilers. It could be the version issue of the internal protobuf library
> in PV. So, you may consider to update it. Thanks to both of you for your
> help.
>
> Regards,
>
> --ufuk
>
> > Hmm, can you check that you've set the vtkCPInputDataDescription grid
> > through the SetGrid() method? You can add in something like "print("input
> > is ", datadescription.GetInputDescriptionByName().GetGrid())" a
> > couple of places in your Python script to see if there is actually a grid
> > added there for that input.
> >
> > Best,
> > Andy
> >
> > On Tue, Aug 15, 2017 at 3:30 PM, 
> wrote:
> >
> >> Without support of you and also Ben, i could not even reach to this
> >> point.
> >> Thanks again. At least, code runs now. I think that this is big
> >> improvement.
> >>
> >> Anyway, both command is working as expected,
> >>
> >> > mpirun -np 4 pvbatch 
> >> > mpirun -np 4 pvbatch -sym 
> >>
> >> I also tested allinputsgridwriter_new.py with CFullExample (and also
> >> Fortran90FullExample) and it works without any problem. As I mentioned
> >> before, CFullExample was also working before upgrading protobuf (still,
> >> i
> >> don't know why). So, it is not a good way to find the source of the
> >> problem.
> >>
> >> --ufuk
> >>
> >>
> >> > Hmm, how about making that Python code into a file and running it with
> >> > both:
> >> > mpirun -np 4 pvbatch 
> >> > mpirun -np 4 pvbatch -sym 
> >> >
> >> > Just to verify, the allinputsgridwriter.py didn't work with any of the
> >> > Catalyst examples (e.g. CFullExample), correct?
> >> >
> >> > I think this is going to be some issue where we continually bisect the
> >> > problem space so I appreciate your patience on this.
> >> >
> >> > Best,
> >> > Andy
> >> >
> >> > On Tue, Aug 15, 2017 at 2:49 PM, 
> >> wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> Yes. It works and produces same output.
> >> >>
> >> >> --ufuk
> >> >>
> >> >> > Hi Ufuk,
> >> >> >
> >> >> > It looks like the script line that is not working properly is:
> >> >> > grid =
> >> >> adaptorinput.GetClientSideObject().GetOutputDataObject(0)
> >> >> >
> >> >> > grid is set to None here for your build. Trying something simpler,
> >> in
> >> >> > pvpython can you try the following and let us know if it works:
> >> >> > =
> >> >> > from paraview.simple import *
> >> >> > a = Wavelet()
> >> >> > a.UpdatePipeline()
> >> >> > b = a.GetClientSideObject()
> >> >> > c = b.GetOutputDataObject(0)
> >> >> > print c
> >> >> > =
> >> >> >
> >> >> >
> >> >> >
> >> >> > It should give output like the following if it works:
> >> >> > vtkImageData (0x4586a00)
> >> >> >   Debug: Off
> >> >> >   Modified Time: 204809
> >> >> >   Reference Count: 2
> >> >> >   Registered Events: (none)
> >> >> >   Information: 0x4586450
> >> >> >   Data Released: False
> >> >> >   Global Release Data: Off
> >> >> >   UpdateTime: 204810
> >> >> >   Field Data:
> >> >> > Debug: Off
> >> >> > Modified Time: 204775
> >> >> > Reference Count: 1
> >> >> > Registered Events: (none)
> >> >> > Number Of Arrays: 0
> >> >> > Number Of Components: 0
> >> >> > Number Of Tuples: 0
> >> >> >   Number Of Points: 9261
> >> >> >   Number Of Cells: 8000
> >> >> >   Cell Data:
> >> >> > Debug: Off
> >> >> > Modified Time: 204783
> >> >> > Reference Count: 1
> >> >> > Registered Events:
> >> >> >   Registered Observers:
> >> >> > vtkObserver (0x4586550)
> >> >> >   Event: 33
> >> >> >   EventName: ModifiedEvent
> >> >> >   Command: 0x45864a0
> >> >> >   Priority: 0
> >> >> >   Tag: 1
> >> >> > Number Of Arrays: 0
> >> >> > Number Of Components: 0
> >> >> > Number Of Tuples: 0
> >> >> > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
> >> >> > Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
> >> >> > Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
> >> >> > Scalars: (none)
> >> >> > Vectors: (none)
> >> >> > Normals: (none)
> >> >> > TCoords: (none)
> >> >> > Tensors: (none)
> >> >> > GlobalIds: (none)
> >> >> > PedigreeIds: (none)
> >> >> > EdgeFlag: (none)
> >> >> >   Point Data:
> >> >> > Debug: Off
> >> >> > Modified Time: 204809
> >> >> > Reference Count: 1
> >> >> > Registered Events:
> >> >> >   Registered Observers:
> >> >> > vtkObserver (0x45864f0)
> >> >> >   Event: 33
> >> >> >   EventNam

[Paraview] [Issue] IceT on a Display Wall

2017-08-16 Thread Mariam
Hi,

I am trying to configure IceT on our display wall. I followed all the 
instructions on paraview website & mail list.

However, when the client connects to the head node server, the window displayed 
for few seconds then pvserver crashes with the following error:

 

[0-1] terminated

 

[2] process exited without calling finalize

 

[3] terminated

 

 error analysis -

 

[2] on Node1

pvserver ended prematurely and may have crashed. exit code 0xc005

 

I checked the event viewer logs, and this is the error message:

 

Faulting application name: pvserver.exe, version: 0.0.0.0, time stamp: 
0x59365720

Faulting module name: vtkPVClientServerCoreRendering-pv5.4.dll, version: 
0.0.0.0, time stamp: 0x593652a6

Exception code: 0xc005

Fault offset: 0x0005e86b

Faulting process id: 0x8c4

Faulting application start time: 0x01d316ac26879696

Faulting application path: path\to\paraview\bin\pvserver.exe

Faulting module path: path\to\paraview 
\bin\vtkPVClientServerCoreRendering-pv5.4.dll

 

The display wall consists of 32 nodes where each driving two screens; Operating 
System: Windows 10, ParaView Version: 5.4. 

 

As a beginning, I was trying one 1 node and 2 nodes.

PVX File; for 1 node:







    

       
      

  



 

Command: mpiexec -np 4 pvserver tiles.pvx

 

PVX file for two nodes:







     

        

  



 

 

Command: mpiexec –hosts 2 Node1 2 Node2 2 pvserver –tx=2 –ty=1 tiles.pvx

 

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


Re: [Paraview] Segmentation fault in protobuf

2017-08-16 Thread u . utku . turuncoglu
Hi,

I add print statement to python script and it shows that three input port
is ok but one of them is empty. The new allinputsgridwriter.py that has
automatic detection of input port fail in this case but if I use old one
with manual configuration of the ports (there is no definition of empty
port in this case) work fine. Anyway, the issue seems solved with external
installation of protobuf library and I tested both gcc and intel
compilers. It could be the version issue of the internal protobuf library
in PV. So, you may consider to update it. Thanks to both of you for your
help.

Regards,

--ufuk

> Hmm, can you check that you've set the vtkCPInputDataDescription grid
> through the SetGrid() method? You can add in something like "print("input
> is ", datadescription.GetInputDescriptionByName().GetGrid())" a
> couple of places in your Python script to see if there is actually a grid
> added there for that input.
>
> Best,
> Andy
>
> On Tue, Aug 15, 2017 at 3:30 PM,  wrote:
>
>> Without support of you and also Ben, i could not even reach to this
>> point.
>> Thanks again. At least, code runs now. I think that this is big
>> improvement.
>>
>> Anyway, both command is working as expected,
>>
>> > mpirun -np 4 pvbatch 
>> > mpirun -np 4 pvbatch -sym 
>>
>> I also tested allinputsgridwriter_new.py with CFullExample (and also
>> Fortran90FullExample) and it works without any problem. As I mentioned
>> before, CFullExample was also working before upgrading protobuf (still,
>> i
>> don't know why). So, it is not a good way to find the source of the
>> problem.
>>
>> --ufuk
>>
>>
>> > Hmm, how about making that Python code into a file and running it with
>> > both:
>> > mpirun -np 4 pvbatch 
>> > mpirun -np 4 pvbatch -sym 
>> >
>> > Just to verify, the allinputsgridwriter.py didn't work with any of the
>> > Catalyst examples (e.g. CFullExample), correct?
>> >
>> > I think this is going to be some issue where we continually bisect the
>> > problem space so I appreciate your patience on this.
>> >
>> > Best,
>> > Andy
>> >
>> > On Tue, Aug 15, 2017 at 2:49 PM, 
>> wrote:
>> >
>> >> Hi,
>> >>
>> >> Yes. It works and produces same output.
>> >>
>> >> --ufuk
>> >>
>> >> > Hi Ufuk,
>> >> >
>> >> > It looks like the script line that is not working properly is:
>> >> > grid =
>> >> adaptorinput.GetClientSideObject().GetOutputDataObject(0)
>> >> >
>> >> > grid is set to None here for your build. Trying something simpler,
>> in
>> >> > pvpython can you try the following and let us know if it works:
>> >> > =
>> >> > from paraview.simple import *
>> >> > a = Wavelet()
>> >> > a.UpdatePipeline()
>> >> > b = a.GetClientSideObject()
>> >> > c = b.GetOutputDataObject(0)
>> >> > print c
>> >> > =
>> >> >
>> >> >
>> >> >
>> >> > It should give output like the following if it works:
>> >> > vtkImageData (0x4586a00)
>> >> >   Debug: Off
>> >> >   Modified Time: 204809
>> >> >   Reference Count: 2
>> >> >   Registered Events: (none)
>> >> >   Information: 0x4586450
>> >> >   Data Released: False
>> >> >   Global Release Data: Off
>> >> >   UpdateTime: 204810
>> >> >   Field Data:
>> >> > Debug: Off
>> >> > Modified Time: 204775
>> >> > Reference Count: 1
>> >> > Registered Events: (none)
>> >> > Number Of Arrays: 0
>> >> > Number Of Components: 0
>> >> > Number Of Tuples: 0
>> >> >   Number Of Points: 9261
>> >> >   Number Of Cells: 8000
>> >> >   Cell Data:
>> >> > Debug: Off
>> >> > Modified Time: 204783
>> >> > Reference Count: 1
>> >> > Registered Events:
>> >> >   Registered Observers:
>> >> > vtkObserver (0x4586550)
>> >> >   Event: 33
>> >> >   EventName: ModifiedEvent
>> >> >   Command: 0x45864a0
>> >> >   Priority: 0
>> >> >   Tag: 1
>> >> > Number Of Arrays: 0
>> >> > Number Of Components: 0
>> >> > Number Of Tuples: 0
>> >> > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
>> >> > Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
>> >> > Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
>> >> > Scalars: (none)
>> >> > Vectors: (none)
>> >> > Normals: (none)
>> >> > TCoords: (none)
>> >> > Tensors: (none)
>> >> > GlobalIds: (none)
>> >> > PedigreeIds: (none)
>> >> > EdgeFlag: (none)
>> >> >   Point Data:
>> >> > Debug: Off
>> >> > Modified Time: 204809
>> >> > Reference Count: 1
>> >> > Registered Events:
>> >> >   Registered Observers:
>> >> > vtkObserver (0x45864f0)
>> >> >   Event: 33
>> >> >   EventName: ModifiedEvent
>> >> >   Command: 0x45864a0
>> >> >   Priority: 0
>> >> >   Tag: 1
>> >> > Number Of Arrays: 1
>> >> > Array 0 name = RTData
>> >> > Number Of Components: 1
>> >> > Number Of Tuples: 9261
>> >> > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
>> >> > Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
>> >> > Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
>> >> > Scalars:
>> >> > 

Re: [Paraview] Question about plugins with Catalyst and Python scripts

2017-08-16 Thread Mathieu Westphal
Hi Yvan

I understand your catalyst issue but I do not see any other solutions.

Regarding loading a plugin from python, it actually is quite simple :

>>> from paraview.simple import *
>>> LoadPlugin("path/to/lib.so")

Best regards,

Mathieu Westphal

On Wed, Aug 9, 2017 at 12:29 PM,  wrote:

> Hello,
>
> We have been using Catalyst (with Python coprocessing scripts) in our code
> for quite a while now, and am trying to see how to make thing more
> user-friendly.
>
> One of the main issues we have is that if plugins are loaded in ParaView
> when using the Coprocessing Generator plugin, extra lines regarding those
> plugins may appear in the script, even when not dreclty used. For example,
> when the PointSprite plugins is enabled in PV 5.1, it adds opacity transfer
> function informations. This particular example might not be relevant to PV
> 5.4 with integrated PointGaussian, but other plugins may add similar
> entries, whether used or not in a particular view.
>
> This causes issues using Catalyst, as those plugins are not enabled in
> Catalyst (even using a full ParaView install with OSMesa as Catalyst, not
> editions, often too incomplete).
>
> One solution is to remove the "offending" lines (i.e. run once, check
> lines reported in error logs, removec those, run again, ...) which while
> not complicated, tends to scare users and requires multiple additional
> iterations to setup a visualization.
>
> A better solution would be to allow loading of plugins from the Python
> script (especially as I expect it would allow using plugins such as
> SurfaceLIC from within Catalyst), but I can't find any documentation for
> this. I seem to remember some people from Kitware mentioning this was
> possible in a live discussion I had, but have no additional details.
>
> Is there a way to tell ParaView/Catalyst to load a particular plugin from
> within a Python script ? IF yes, what's the syntax ?
>
> Best regards,
>
>Yvan
> ___
> 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
>
___
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