Re: [Paraview] Paraview server using off-screen rendering

2015-07-25 Thread Ganesh Vijayakumar
Hello, Ooops.. I was trying to see if I did anything wrong and saw that I addressed my reply to only Chuck. I'm sorry (reply vs. reply all). I've uploaded the CMakeCache.txt here https://psu.box.com/s/xsrbpsu73exqmz6v1rsy8jy2mtyzabhk. This is the error message when using the verbose option. [

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread David E DeMarle
Try to do this with some similar data in the python GUI's Tools->Python Shell on your local machine. That way you get tab completion and can see things happen in the GUI to help you learn the syntax. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phon

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread Kharche, Sanjay
that was one of the combinations I tried, and it didnt work. I am looking at the ParaView wiki right now. Appareltly there is a Delete(XX) which should be used to delete objects. I am trying to work out what to Delete and what not to delete. From: David E DeMa

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread David E DeMarle
You are making a new reader, but never connecting it to the View. not: HumanSAN01_vtk = LegacyVTKReader( FileNames=['HumanSAN%06i.vtk' % (j)] ) rather HumanSAN01_vtk.FileNames=['HumanSAN%06i.vtk' % (j)] try that David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread David E DeMarle
I think it was the new reader each iteration, and also possibly the new representation (output of Show()). They stick around because of reference counting, even when they go out of scope the view still has access to them, so they aren't deallocated. hth and glad to got it working! David E DeMa

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread Kharche, Sanjay
I think I started celebrations too soon. The images are identical to the first image. I have tried a few combinations, but could not find any solution. The script: try: paraview.simple except: from paraview.simple import * paraview.simple._DisableFirstRenderCameraReset() i = 1 RenderView1 =

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread Kharche, Sanjay
I just did that, and the 4000 file run finished in 15 minutes! Just for completeness, I would like to know this: What was the part in my script that was allocating memory at each call of the iteration, causing a progressive increase of memory use (and thus time)? I could take a guess, but th

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread David E DeMarle
I think your memory usage is growing with each iteration, Try moving everything out of the loop and then just changing what you have to in the fixed pipeline inside the loop. i = 415 RenderView1 = GetRenderView() … Render() WriteImage("Endo_dir_%06i.png" % (i)) for i in range(416…): HumanSAN00

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread Kharche, Sanjay
Dear David, All I am now using VNC and got my scripts to do non-interactive viz, i.e. making of png files using the script below. However, I have a question regarding efficiency of the run. As of now, I am doing a serial run. The first several png files are produced swiftly. However, eventually,