Re: [Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread Ephraim Obermaier
Thank you, "mpirun -n 2 pvbatch --mpi --symmetric test.py" runs as expected. But I am now using pure python with properly set library paths. It's a bit annoying that these pvbatch traps aren't documented in the vtkMPIController class reference or in

[Paraview] Updating Properties Panel

2017-05-16 Thread Dean, Kevin
Hey Guys, I was wondering if there's an example for me to look at for updating values in the fields of the properties panel. I am writing a Plugin that has the option of reading in values from a CSV, but I would like to have the values update in the properties panel... similar to how if you use a

[Paraview] ParaView 5.4.0 Release Candidate 2 binaries are available for download

2017-05-16 Thread Cory Quammen
On behalf of the ParaView development community, I am pleased to announce that binaries and source code for ParaView 5.4.0-RC2 are available to download from http://www.paraview.org/download/ There was a slight problem building the Linux binary and the AcuSolveReaderPlugin, so those are not yet

Re: [Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread David E DeMarle
Run with --symmetric. Without it, only root node reads the script and it tells the rest of the nodes what to do via paraview's proxy mechanisms (which take effect only for vtkSMProxy and subclasses). With it, every node reads and executes the script and all nodes do their own parts behind the

Re: [Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread Ephraim Obermaier
Thank you all for suggesting "pvbatch --mpi". At least, this returns size=2 processes, but the updated test.py (below) hangs with the following output: $ mpirun -n 2 pvbatch --mpi test.py comm: rank: 0 size: 2 Process 0 Why is "Process 1" not printed, and why does the program hang instead of

Re: [Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread Ben Boeckel
On Tue, May 16, 2017 at 19:07:14 +0200, Ephraim Obermaier wrote: > $ mpirun -n 2 pvpython test.py I believe you want to use pvbatch for MPI-enabled Python scripts. --Ben ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread Andy Bauer
Note that you can run both the ParaView GUI and pvpython with MPI in order to initialize, finalize and use MPI functions but as Dave said, they should/will always be run with a single MPI process. The argument to run MPI with either is "--mpi". On Tue, May 16, 2017 at 1:11 PM, David E DeMarle

Re: [Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread David E DeMarle
Try your script within pvbatch. pvpython is analogous to the Qt client application, it (usually) is not part of an MPI execution environment. Either one can connect to an MPI parallel pvserver. pvbatch is a python interface that is meant to be run on the server. It is directly connected to the

[Paraview] pvpython vtkMPIController usage? rank is always 0

2017-05-16 Thread Ephraim Obermaier
Hello, I am trying to use VTK's MPI communication from pvpython, running with OpenMPI's mpirun. It seems like ParaView hasn't enabled the MPI capabilities for VTK, although it was compiled from source with PARAVIEW_USE_MPI=ON and correctly found the system OpenMPI-2.0.0 libraries and includes. I

Re: [Paraview] gpu_shader4 extension is not supported

2017-05-16 Thread Burlen Loring
that's the point. this allows you to run without the windowing system or GPU on the cluster. Most cluster have neither. If you wanted to provide the GUI then I would suggest you have two installs of both ParaView and Mesa. One based on OSMesa, the other based on some X11 enabled OpenGL.

Re: [Paraview] gpu_shader4 extension is not supported

2017-05-16 Thread Patrick Begou
Burlen Loring wrote: ../mesa-17.0.2/configure --enable-texture-float --disable-glx --disable-dri --disable-egl --disable-gles1 --disable-gles2 --disable-gbm --disable-driglx-direct --disable-xvmc --enable-gallium-osmesa --with-gallium-drivers=swrast,swr

Re: [Paraview] netcdf

2017-05-16 Thread Rupert Gladstone
Thanks very much Ken and others. I just tested the warp by scalar filter (I didn't know about this before) and it looks like it can do what I need with the vertical coord, like you suggested. What I will do is this: I will modify the netcdf file to add a 1D x and y coord variable with the same

Re: [Paraview] [Paraview-developers] ParaView 5.4.0 Release Candidate 1 binaries are available for download

2017-05-16 Thread David Lonie
On Tue, May 16, 2017 at 9:22 AM, Cory Quammen wrote: >> I have a laptop with an NVidia 840M and an integrated GPU (Intel HD 5500). I >> have to manually enable the NVidia card for ParaView to get rid of this >> behaviour, so it looks like the Intel card is at fault. >

Re: [Paraview] Cmake flags

2017-05-16 Thread Cory Quammen
Rustem, You can find some of the options described at http://www.paraview.org/Wiki/ParaView:Build_And_Install#ParaView_Settings For others, each build flag has a brief description in the CMakeLists.txt file, e.g., option(PARAVIEW_BUILD_QT_GUI "Enable ParaView Qt-based client" ON) The

Re: [Paraview] netcdf

2017-05-16 Thread Moreland, Kenneth
Rupert, It has been multiple years since I really took a look at the CF convention, so I don’t remember the details of whether it supports varying coordinates across multiple dimensions or whether the ParaView reader supports that. If the ParaView reader is missing some corner of the CF

Re: [Paraview] [Paraview-developers] ParaView 5.4.0 Release Candidate 1 binaries are available for download

2017-05-16 Thread Cory Quammen
On Tue, May 16, 2017 at 3:04 AM, Deij-van Rijswijk, Menno wrote: > Hi Cory, > > TL;DR: I have to manually configure that the high-performance NVidia card is > used for ParaView to get rid of problems with the FXAA option. > > I notice here that the default-ON option of FXAA is

Re: [Paraview] multiple visualization pipeline at a time with co-processing

2017-05-16 Thread Andy Bauer
Hi Ufuk, If you create a vtkCPythonScriptPipeline, when you initialize it with the script file name (which has to be done on each process) everything will be taken care of with respect to broadcasting the file contents from process 0 to the others. We aren't sophisticated enough to parse the

Re: [Paraview] Integration points visualization

2017-05-16 Thread David E DeMarle
Please reply all to keep the mailing list on the discussion so all can participate in and benefit from the discussion. Question 1: Why delete columns? All of the columns can be point aligned attributes. Question 2: Are you sure you want a Structured Grid? Table To Points will give you a simple

Re: [Paraview] multiple visualization pipeline at a time with co-processing

2017-05-16 Thread Ufuk Utku Turuncoglu (BE)
Thanks Andy. That is exactly what i am looking for. The broadcasting mechanism is not clear to me yet. Do i need to broadcast only the file names? Anyway, i will try to implement it and see what is going on there. Thanks again, Regards, --ufuk On 16/05/2017 14:58, Andy Bauer wrote: Hi Ufuk,

Re: [Paraview] multiple visualization pipeline at a time with co-processing

2017-05-16 Thread Andy Bauer
Hi Ufuk, Unless I'm not understanding your question correctly, I think you can get what you want by adding in multiple vtkCPPythonScriptPipelines to your vtkCPProcessor object in your adaptor. Alternatively if you want to have a single, master Catalyst script handling other Catalyst scripts you

[Paraview] multiple visualization pipeline at a time with co-processing

2017-05-16 Thread Ufuk Utku Turuncoglu (BE)
Hi All, I just wonder that is it possible to trigger multiple visualization pipeline in the same time with co-processing. The co-processing script generator plugin mainly outputs only single pipeline at a time and that is fine but what about combining multiple Python script (generated by

[Paraview] Cmake flags

2017-05-16 Thread Rustem Khabetdinov
Hello, Is there any documentation present for cmake build flags? Especially I am interested in advanced section. Best Regards, Rustem ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] gpu_shader4 extension is not supported

2017-05-16 Thread Patrick Begou
Hi Burlen, I think there is a main concept that I do not understand in building Paraview and Mesa as I have also all the wiki pages printed in front of me since the begining. It is how to build paraview on a server without GPU _but_ with Paraview GUI enabled. With the Wiki I was able to build

Re: [Paraview] [Paraview-developers] ParaView 5.4.0 Release Candidate 1 binaries are available for download

2017-05-16 Thread Deij-van Rijswijk, Menno
Hi Cory, TL;DR: I have to manually configure that the high-performance NVidia card is used for ParaView to get rid of problems with the FXAA option. I notice here that the default-ON option of FXAA is giving problems. When enabled, there is at the beginning a smaller black rectangle in the

Re: [Paraview] netcdf

2017-05-16 Thread Rupert Gladstone
Hi all, thanks very much for your replies so far. I must say I am finding the Paraview community very helpful. Having considered my data further, I would be able to make a 1D coordinate variable for my x and y dimensions but not for my z dimension. The ocean model uses a hybrid coordinate which

[Paraview] How to save data for selected time range in paraview

2017-05-16 Thread HongchaoWang
Hi, I am using paraview to postprocess the results from openfoam. I am doing a 3D case and thus the cell number is huge. What I want to do is to save data from ''plot over line'' for a time frame from 23s to 28s. However, the "save data" option seems to only either save the current time step