Re: [Paraview] Help with optimizing Paraview Python script

2015-10-21 Thread Cory Quammen
A few questions: * How did you obtain the ParaView executable? (download, build)? If you built ParaView in Debug mode, that could slow things down. * How big are your data files, both in terms of disk size and grid elements? * How much RAM is on your system? - Cory On Wed, Oct 21, 2015 at 8:50

Re: [Paraview] Help with optimizing Paraview Python script

2015-10-21 Thread Andy Bauer
Did you profile this at all to see where most of the time being spent? Looking at this, I don't see anything really bad. I think you can take out the time.sleep(1.0) part though. Also, replacing the Calculator filter with the PythonCalculator filter should help some. If you're running this in para

[Paraview] Help with optimizing Paraview Python script

2015-10-21 Thread Neal,Christopher R
Hello, I have written a python script that loads in an Ensight data file which has multiple solution times associated with it and performs a set of fairly simple operations on it. It is running very slow, and I'm wondering if there are any experts who use Python to control Paraview that could

Re: [Paraview] pvpython and H5Part Issues

2015-10-21 Thread Sebastien Jourdain
Hi Amit, inside pvpython you should do the following from paraview.simple import * LoadDistributedPlugin('H5PartReader', ns=globals()) Then you should be good. Seb On Wed, Oct 21, 2015 at 12:36 PM, Amit Goel wrote: > I used GUI to generate a python script from the actions of visualizing > a

[Paraview] pvpython and H5Part Issues

2015-10-21 Thread Amit Goel
I used GUI to generate a python script from the actions of visualizing and h5part file. From GUI I can see the visualization, but when I use pvpython, this is the error I get: fluid:~ armando$ /Applications/ArmandoApps/paraview.app/Contents/bin/pvpython Python 2.7.10 (default, Jul 14 2015, 19:

Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-10-21 Thread Aashish Chaudhary
Ah, that's worth reporting to Mesa developers like you suggested. Please let me know (or keep me in the loop) what they have to say on this. I am surprised that it wasn't reported earlier. - Aashish On Wed, Oct 21, 2015 at 9:57 AM, Berk Geveci wrote: > > No GL error this time I am assuming? Jus

Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-10-21 Thread Berk Geveci
> No GL error this time I am assuming? Just segfault? Yes. With the stack totally hosed. I also see Valgrind errors deep in Mesa stack. On Wed, Oct 21, 2015 at 9:15 AM, Aashish Chaudhary < aashish.chaudh...@kitware.com> wrote: > On Wed, Oct 21, 2015 at 7:52 AM, Berk Geveci > wrote: > >> Yeah, i

Re: [Paraview] segmentation fault with netCDF when loading state file

2015-10-21 Thread Aashish Chaudhary
Ryan, would it be possible for you to share a sample dataset? The NetCDF reader has fails to read data in certain corner cases but without having the data to reproduce the issue it is kind of little tricky to get to the problem. - Aashish On Wed, Oct 21, 2015 at 9:44 AM, Ryan Abernathey wrote:

Re: [Paraview] segmentation fault with netCDF when loading state file

2015-10-21 Thread Ryan Abernathey
Does anyone have any feedback on this issue? I have no idea how to debug or continue. I will have to abandon paraview for my project unless I can get some help somehow. Thanks, Ryan Abernathey Assistant Professor Columbia University, Department of Earth & Environmental Sciences Lamont-Doherty Ea

Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-10-21 Thread Aashish Chaudhary
On Wed, Oct 21, 2015 at 7:52 AM, Berk Geveci wrote: > Yeah, it is not that easy. If you compile Mesa with llvmpipe, the limit is > in something like gallium/drivers/llvmpipe/lp_limits.h. Otherwise it > doesn't work. However, I had crashes when I increased that to something > like 8 GBs and then v

Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-10-21 Thread Berk Geveci
Yeah, it is not that easy. If you compile Mesa with llvmpipe, the limit is in something like gallium/drivers/llvmpipe/lp_limits.h. Otherwise it doesn't work. However, I had crashes when I increased that to something like 8 GBs and then volume rendered something large. It also looks like other drive

Re: [Paraview] Transient data in single CSV file

2015-10-21 Thread David E DeMarle
For flip book animations, apply the threshold filter over the"t" value. Then make an animation track that changes the threshold's range. On Oct 21, 2015 5:13 AM, "Kidess, Anton" wrote: > Hello, I have a CSV file with fields x,y,z,t, where eventually I'd like to > plot a varying number of glyphs o

[Paraview] Transient data in single CSV file

2015-10-21 Thread Kidess, Anton
Hello, I have a CSV file with fields x,y,z,t, where eventually I'd like to plot a varying number of glyphs over a number of time steps. It is very impractical to have a single CSV per time step, as I would end up with thousands of little files. I think it should be possible to use a single CSV f