Re: [Paraview] Rendering offscreen images from parallel simulation using Catalyst

2015-11-25 Thread Andy Bauer
Hi Jim, You can use OSMesa if you want offscreen rendering to work. There has been some work with EGL with NVIDIA but I haven't tried that yet myself since I don't have the EGL libraries on my machine. Intel's OpenSWR may also be an option but I haven't tried that either. I think this issue

Re: [Paraview] passing argument to pvpython script

2015-11-25 Thread Ben Boeckel
On Wed, Nov 25, 2015 at 15:11:43 +0300, Gena Bug wrote: > And this works fine untill I tried new version. In 5rc1 I always get > Segmentation Fault: > Error running > "~/ParaView-5.0.0-RC1-Qt4-OpenGL2-Linux-64bit/lib/paraview-5.0/pvpython" > "myscript.py" "filename"Segmentation fault > >

Re: [Paraview] Extracting a block from a vtkMultiBlockDataSet in Paraview (Bug?)

2015-11-25 Thread Evan Kao
Thanks Jean! That did the trick. - Evan On Wed, Nov 25, 2015 at 12:16 AM, Favre Jean wrote: > You are missing a RequestInformation Script to indicate the dimensions of > the grid you wish to create. > > Set the type of the Output Data to "vtkStructuredGrid" > > you will need,

Re: [Paraview] Extracting a block from a vtkMultiBlockDataSet in Paraview (Bug?)

2015-11-25 Thread Evan Kao
Hi all, I had an additional question. I'd like to convert this script into a Custom Filter using the python_filter_generator.py script , but this requires the output type to be set automatically. Is that possible with the Programmable Filter, i.e., is

Re: [Paraview] passing argument to pvpython script

2015-11-25 Thread Gena Bug
On 25.11.2015 18:51, Ben Boeckel wrote: On Wed, Nov 25, 2015 at 15:11:43 +0300, Gena Bug wrote: And this works fine untill I tried new version. In 5rc1 I always get Segmentation Fault: Error running "~/ParaView-5.0.0-RC1-Qt4-OpenGL2-Linux-64bit/lib/paraview-5.0/pvpython" "myscript.py"

Re: [Paraview] Extracting a block from a vtkMultiBlockDataSet in Paraview (Bug?)

2015-11-25 Thread Favre Jean
You are missing a RequestInformation Script to indicate the dimensions of the grid you wish to create. Set the type of the Output Data to "vtkStructuredGrid" you will need, at the minimum, the following two sections of python code in the "Script" mbds = inputs[0] block0 = mbds.GetBlock(0)

[Paraview] passing argument to pvpython script

2015-11-25 Thread Gena Bug
Hi! I often write simple scripts for pvpython which take one or more arguments (usually filenames) and run them so: $ pvpython myscript.py filename Till version 5rc1 I parse arguments using simple analysis of sys.argv, like this: {{{ ... import os, sys from paraview.simple import *