Re: [Paraview] non-interactive viz on cluster

2015-08-14 Thread Kharche, Sanjay
DeMarle Sent: 14 August 2015 00:11 To: Kharche, Sanjay Cc: paraview@paraview.org Subject: Re: [Paraview] non-interactive viz on cluster Interesting. Glad to hear you got a work around. Cheers On Aug 14, 2015 4:24 AM, "Kharche, Sanjay" mailto:s.r.khar...@exeter.ac.uk>> wrote:

Re: [Paraview] non-interactive viz on cluster

2015-08-14 Thread David E DeMarle
gt; That gives me a consistent predictable (in terms of time it takes) > > working of my visualisation. > > > cheers > > Sanjay > -- > *From:* David E DeMarle > *Sent:* 13 August 2015 14:02 > *To:* Kharche, Sanjay > *Cc:* paraview@paraview.or

Re: [Paraview] non-interactive viz on cluster

2015-08-14 Thread Kharche, Sanjay
@paraview.org Subject: Re: [Paraview] non-interactive viz on cluster Does this not work? try: paraview.simple except: from paraview.simple import * i = 0 paraview.simple._DisableFirstRenderCameraReset() RenderView1 = GetRenderView() my_2d0_vts = XMLStructuredGridReader( FileName=['file_%i.vts&

Re: [Paraview] non-interactive viz on cluster

2015-08-13 Thread David E DeMarle
Does this not work? try: paraview.simple except: from paraview.simple import * i = 0 paraview.simple._DisableFirstRenderCameraReset() RenderView1 = GetRenderView() my_2d0_vts = XMLStructuredGridReader( FileName=['file_%i.vts' % (i)] ) RenderView1.CenterAxesVisibility = 0 RenderView1.OrientationAxe

Re: [Paraview] non-interactive viz on cluster

2015-08-04 Thread Kharche, Sanjay
Hi David, All Can you point out what are the paraview objects in the script pasted below? My approach for the next step of improving its efficiency is by deleting all the objects that I create at each iteration. Whereas this may be suboptimal, I will get it working before I go to the next step.

Re: [Paraview] non-interactive viz on cluster

2015-07-26 Thread Kharche, Sanjay
Sent: 25 July 2015 08:34 To: Kharche, Sanjay Cc: paraview@paraview.org Subject: Re: [Paraview] non-interactive viz on cluster 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 th

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread David E DeMarle
cts. I am trying to work out what to > > Delete and what not to delete. > > > -- > *From:* David E DeMarle > *Sent:* 25 July 2015 08:24 > > *To:* Kharche, Sanjay > *Cc:* paraview@paraview.org > *Subject:* Re: [Paraview] non-inte

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread Kharche, Sanjay
DeMarle Sent: 25 July 2015 08:24 To: Kharche, Sanjay Cc: paraview@paraview.org Subject: Re: [Paraview] non-interactive viz on cluster You are making a new reader, but never connecting it to the View. not: HumanSAN01_vtk = LegacyVTKReader( FileNames=['HumanSAN%06i.vtk' % (j)

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread David E DeMarle
4, 1.0, > 0.7059976962405788, 0.016126465515202103, 0.15000112339188484], > VectorMode='Magnitude', ColorSpace='Diverging', LockScalarRange=1 ) > Render() > WriteImage("Endo_dir_%06i.png" % (j)) > > > > -- >

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread David E DeMarle
> > are appreciated. > > > cheers > > Sanjay > > > > > > -- > *From:* David E DeMarle > *Sent:* 25 July 2015 03:47 > *To:* Kharche, Sanjay > *Cc:* paraview@paraview.org > *Subject:* Re: [Paraview] non-interactive viz on cluster > > I thin

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread Kharche, Sanjay
.15000112339188484], VectorMode='Magnitude', ColorSpace='Diverging', LockScalarRange=1 ) Render() WriteImage("Endo_dir_%06i.png" % (j)) ____________ From: David E DeMarle Sent: 25 July 2015 03:47 To: Kharche, Sanjay Cc: paraview@paravie

Re: [Paraview] non-interactive viz on cluster

2015-07-25 Thread Kharche, Sanjay
that would just be a guess, so any responses are appreciated. cheers Sanjay From: David E DeMarle Sent: 25 July 2015 03:47 To: Kharche, Sanjay Cc: paraview@paraview.org Subject: Re: [Paraview] non-interactive viz on cluster I think your memory usage is

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,

Re: [Paraview] non-interactive viz on cluster

2015-07-23 Thread David E DeMarle
> > > > -- > *From:* David E DeMarle > *Sent:* 19 July 2015 13:46 > > *To:* Kharche, Sanjay > *Cc:* paraview@paraview.org > *Subject:* Re: [Paraview] non-interactive viz on cluster > > I am not wanting to do the visualisation using the P

Re: [Paraview] non-interactive viz on cluster

2015-07-23 Thread Yves Rogez
From:* David E DeMarle *Sent:* 19 July 2015 13:46 *To:* Kharche, Sanjay *Cc:* paraview@paraview.org *Subject:* Re: [Paraview] non-interactive viz on cluster I am not wanting to do the visualisation using the PBS -X option, which will forward the X11 graphics from the compute mnodes to my

Re: [Paraview] non-interactive viz on cluster

2015-07-23 Thread Kharche, Sanjay
E DeMarle Sent: 19 July 2015 13:46 To: Kharche, Sanjay Cc: paraview@paraview.org Subject: Re: [Paraview] non-interactive viz on cluster I am not wanting to do the visualisation using the PBS -X option, which will forward the X11 graphics from the compute mnodes to my desktop screen. I want to do

Re: [Paraview] non-interactive viz on cluster

2015-07-19 Thread David E DeMarle
plan. If that fails, you can compile paraview for offscreen rendering yourself and run your own binary. > cheers > > Sanjay > > good luck! > > -- > *From:* David E DeMarle > *Sent:* 18 July 2015 02:08 > *To:* Kharche, Sanjay > *Cc:

Re: [Paraview] non-interactive viz on cluster

2015-07-18 Thread Kharche, Sanjay
can find any. cheers Sanjay From: David E DeMarle Sent: 18 July 2015 02:08 To: Kharche, Sanjay Cc: paraview@paraview.org Subject: Re: [Paraview] non-interactive viz on cluster The error message indicates that pv batch can not connect the xwindows. If the

Re: [Paraview] non-interactive viz on cluster

2015-07-18 Thread David E DeMarle
The error message indicates that pv batch can not connect the xwindows. If the cluster is configured to run X for you, ensure that the job has the correct DISPLAY environment variable. If not, you should either start X in the job ("xinit pvbatch" or something like that) or recompile paraview to use

[Paraview] non-interactive viz on cluster

2015-07-18 Thread Kharche, Sanjay
Dear All I need to non-interactively make png images of a series of sequentially numbered vts/vtk files. Since this is a large amount of data, I would like to do this using a cluster. The cluster has paraview and OpenFoam. I am not very familiar with OpenFoam, and have just started using Paraview