Re: [Paraview] pvbatch

2017-11-13 Thread Ben Boeckel
On Sun, Nov 12, 2017 at 22:42:29 +, Scott, W Alan wrote: > What are the magic cmake switches, for superbuild, that are used to > build a non MPI, Mesa version of pvbatch? Where is this documented? pvpython is the non-MPI version of pvbatch. The superbuild docs could probably be improved here.

Re: [Paraview] pvbatch

2017-11-12 Thread Joachim Pouderoux
Alan, pvbatch and pvpython are both built as long as PARAVIEW_ENABLE_PYTHON is turned ON in its CMake. So for the superbuild, it is just requires to enable Python. For Mesa, you are supposed to enable Mesa (only supported on Linux for sure). To summarize: $ cmake -DENABLE_python=ON -DENABLE_mpi

[Paraview] pvbatch

2017-11-12 Thread Scott, W Alan
What are the magic cmake switches, for superbuild, that are used to build a non MPI, Mesa version of pvbatch? Where is this documented? Thanks, Alan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/op

Re: [Paraview] pvbatch

2017-10-30 Thread Utkarsh Ayachit
Seems like pvbatch is not in the path. Can you confirm that `module load paraview/5.4.0-osmesa` is indeed pointing to a valid PATH and that contains a `pvbatch` executable? Utkarsh On Mon, Oct 30, 2017 at 8:14 PM, White, Judy wrote: > I am having problems using pvbatch on the LANL machines. I

[Paraview] pvbatch

2017-10-30 Thread White, Judy
I am having problems using pvbatch on the LANL machines. It works fine on paraview/5.2.0, but can’t find pvbatch with paraview/5.4.0. I contacted the consultants at LANL, and they suggested that I send this problem to you. Any help or suggestions would be appreciated! Thanks – Judy White (505)

Re: [Paraview] pvbatch rendering issue

2017-07-03 Thread Utkarsh Ayachit
Maxim, Can you try passing `--use-offscreen-rendering` flag to pvbatch. Does that help? I am not sure how you're getting incorrect sizes with osmesa too, but let's focus of the X error to begin with. Utkarsh On Mon, Jul 3, 2017 at 11:36 AM, Maxim Torgonskiy wrote: > Hello, > > I need to load a

[Paraview] pvbatch rendering issue

2017-07-03 Thread Maxim Torgonskiy
Hello, I need to load a heavy pvsm state with pvbatch and render multiple output views for my regression tests. The python script which I use is quite straightforward: import paraview.simple as ParaViewSimple import os ... ParaViewSimple.servermanager.LoadState(pvsm_file) for view in ParaViewSimp

Re: [Paraview] pvbatch hangs when enabling OSPRay

2016-09-22 Thread Benjamín Hernández
Sure Dave, I forget to mention I found no problems when running paraview GUI and ospray renderer in an interactive session in the cluster. Regards, On Wed, Sep 21, 2016 at 2:42 PM, David E DeMarle wrote: > Ben, > > I am not able to reproduce this locally. Can you file an issue to help me > ke

Re: [Paraview] pvbatch hangs when enabling OSPRay

2016-09-21 Thread David E DeMarle
Ben, I am not able to reproduce this locally. Can you file an issue to help me keep track of it on ParaView's new gitlab issue tracker? https://gitlab.kitware.com/paraview/paraview/issues David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-49

[Paraview] pvbatch hangs when enabling OSPRay

2016-08-04 Thread Benjamín Hernández
Hello, I've compiled Paraview 5.1 with multithreaded mpi and ospray (with OpenMP) support using the next modules: 1) gcc/4.8.25) xalt/0.5.3 9) szip/2.1 13) boost/1.61.0 2) openmpi/1.8.4_mtm6) DefApps 10) hdf5/1.8.11 14) libtool/2.4.2 3) PE-gnu/4.8.2-1

Re: [Paraview] pvbatch camera

2015-06-17 Thread Gabe Weymouth
Is there a way to set the default view to include all the data in batch mode? I can get this to work by calling Render() before writing an image, but I imagine there is a direct way to do this (perhaps with vtkCamera??). Thanks ___ Powered by www.kitware

Re: [Paraview] Pvbatch not performing significantly better in parallel

2015-04-21 Thread Massimiliano Leoni
I think I tried that, but I will try again. Anyway, what I was hoping to achieve was to have processor 1 render frame 1 _while_ processor 2 renders frame 2 _while_ ... This is what the time parallelism you told me about is meant for, right? In data martedì 21 aprile 2015 10:41:27, Andy Bauer ha

Re: [Paraview] Pvbatch not performing significantly better in parallel

2015-04-21 Thread Andy Bauer
It looks like you're actually using the parallel XML reader (.pvtu extension) which should be decent for parallel performance. You probably want one process per vtu file that's specified in the pvtu file. On Mon, Apr 20, 2015 at 5:16 PM, Massimiliano Leoni < leoni.massimilia...@gmail.com> wrote:

Re: [Paraview] Pvbatch not performing significantly better in parallel

2015-04-20 Thread Andy Bauer
Yes, please attach the state file and if it's small enough, one of the data files. On Sun, Apr 19, 2015 at 10:39 AM, Massimiliano Leoni < leoni.massimilia...@gmail.com> wrote: > Sure, I have a pressure scalar field with a contour filter, a velocity > vector > field with a clip filter and an annot

Re: [Paraview] Pvbatch not performing significantly better in parallel

2015-04-19 Thread Massimiliano Leoni
Sure, I have a pressure scalar field with a contour filter, a velocity vector field with a clip filter and an annotated time. Do you want me to attach any file? In data domenica 19 aprile 2015 10:30:47, Andy Bauer ha scritto: > Can you share your full pipeline? Using the state file it's tough t

Re: [Paraview] Pvbatch not performing significantly better in parallel

2015-04-19 Thread Andy Bauer
Can you share your full pipeline? Using the state file it's tough to see exactly what's going on. You'll need to do your own build of ParaView and enable the spatio-temporal plugin if you want to use that. On Sun, Apr 19, 2015 at 5:58 AM, Massimiliano Leoni < leoni.massimilia...@gmail.com> wrote

Re: [Paraview] Pvbatch not performing significantly better in parallel

2015-04-19 Thread Massimiliano Leoni
Hi Andy, thanks for your reply. I think my cells are being correctly partitioned. I attach a screenshot of the grid when I color it by vtkProcessId. The spatio-temporal parallelism could do the trick, but the nightly are unavailable in this moment and I can't find the plugin in my current inst

Re: [Paraview] Pvbatch not performing significantly better in parallel

2015-04-18 Thread Andy Bauer
Hi Massimiliano, I don't think the XML unstructured grid reader partitions the data so all of your cells are probably just ending up on process 0. You may want to look at ParaView's spatio-temporal parallelism ( http://www.paraview.org/Wiki/Spatio-Temporal_Parallelism). Make sure to use a time co

[Paraview] Pvbatch not performing significantly better in parallel

2015-04-18 Thread Massimiliano Leoni
Hi everybody, I am trying to run pvbatch in parallel to render an animation, with a very easy script that looks like * import sys * from paraview.simple import * * * # read pvsm file from command line and load it * stateFile = sys.argv[1] * simulation = state

Re: [Paraview] PVBatch

2014-09-26 Thread Kharche, Sanjay
Subject: Re: [Paraview] PVBatch FindSource("h0001.vtk").FileNames ='h%04d.vtk' % (i) ... AttributeError: 'NoneType' object has no attribute 'FileNames' Means that FindSource("h0001.vtk") returned none. Do a print GetSources() to see what it

Re: [Paraview] PVBatch

2014-09-26 Thread David E DeMarle
> > FindSource("h0001.vtk").FileNames ='h%04d.vtk' % (i) > ... > AttributeError: 'NoneType' object has no attribute 'FileNames' Means that FindSource("h0001.vtk") returned none. Do a print GetSources() to see what it might be instead of "h0001.vtk". > Can you comment? > > thanks > Sanjay > >

[Paraview] PVBatch

2014-09-26 Thread Kharche, Sanjay
Dear All I am trying to visualise a series of VTK files using pvbatch and I get an error. I write VTK files with a header as ascii, and then data as a 32 bit int binary. I can visualise individual files. As there are many files, I would like to automate this process. To do so, I produce a pvsm

Re: [Paraview] pvbatch: python - help make animation window bigger

2014-07-24 Thread Andy Bauer
You should be able to do a help() on those objects to get more information. Additionally there is some Python documentation at http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/. Finally, the ParaView GUI trace option is a good way to get familiar with ParaView's Python API. Regards, Andy

Re: [Paraview] pvbatch: python - help make animation window bigger

2014-07-24 Thread Anton Shterenlikht
>From paraview-boun...@paraview.org Thu Jul 24 12:40:35 2014 > >Hi Anton, > >RenderView1.ViewSize = [1000, 1000] cool, thanks. Where is this documented? Or this: KeyFrame3658 = CameraKeyFrame( FocalPathPoints=[127.5, 127.5, 95.5], FocalPoint=[127.5, 127.5, 95.5], PositionPathPoints=[127.5, 127

Re: [Paraview] pvbatch: python - help make animation window bigger

2014-07-24 Thread Louie Cardone-Noott
Hi Anton, RenderView1.ViewSize = [1000, 1000] Best wishes, Louie On 24 July 2014 12:33, Anton Shterenlikht wrote: > I've recorded this python script with PV Trace. > However, the resulting animation window is small. > What do I need to edit to make the window, e.g. 1000x1000 pixels? > > Th

[Paraview] pvbatch: python - help make animation window bigger

2014-07-24 Thread Anton Shterenlikht
I've recorded this python script with PV Trace. However, the resulting animation window is small. What do I need to edit to make the window, e.g. 1000x1000 pixels? Thanks Anton # use defined variables, no indent allowed, start at col 1 infile = "z.xdmf" # name of XDMF file picfile = "z.png"

Re: [Paraview] Clarification on Paraview pvbatch run

2014-06-06 Thread David E DeMarle
The FOAM reader should read the data in parallel. Try changing the CaseType property from Reconstructed (meaning OpenFOAM did the gather) to Decomposed (meaning OpenFOAM left the data as the parallel nodes in the simulation wrote them) case and see if that helps. David E DeMarle Kitware, Inc. R&D

Re: [Paraview] Clarification on Paraview pvbatch run

2014-06-05 Thread Sebastien Jourdain
Ok, so you are correctly using everything. The question is now on the *OpenFOAMReader and if it properly use MPI to read and distribute the data.* *Which unfortunately I don't know.* *If you want to force a redistribution of your data across your nodes, you can use the D3 filter just after your re

Re: [Paraview] Clarification on Paraview pvbatch run

2014-06-05 Thread Daniele Obiso
Hi Sebastien, here you can find the main parts of the script. /try: paraview.simple// //except: from paraview.simple import *// //paraview.simple._DisableFirstRenderC

Re: [Paraview] Clarification on Paraview pvbatch run

2014-06-05 Thread Sebastien Jourdain
Is it using the VTK classes or the paraview Proxy? Moreover, the reader/source is responsible to distribute the data to properly handle parallelism. If it does not, then you right, everything will happen on the root node. Hense a quick look at the script can help us determine which part need to c

Re: [Paraview] Clarification on Paraview pvbatch run

2014-06-05 Thread Daniele Obiso
Hi Sebastien, thanks for the reply! The script is about creating slice and sweep animation. But it's working fine, i think there is no problem in it. Do you need the script to understand something about the parallelization? Let me know! Daniele On 06/05/2014 04:17 PM, Sebastien Jourdain w

Re: [Paraview] Clarification on Paraview pvbatch run

2014-06-05 Thread Sebastien Jourdain
Hi Daniele, can you share what your script look like? Seb On Thu, Jun 5, 2014 at 1:56 AM, Daniele Obiso < daniele.ob...@phitecingegneria.it> wrote: > Hi All, > > i'm writing here because i would understand better the functionality of > pvbatch in Paraview. > > At moment i'm able to run Parav

[Paraview] Clarification on Paraview pvbatch run

2014-06-05 Thread Daniele Obiso
Hi All, i'm writing here because i would understand better the functionality of pvbatch in Paraview. At moment i'm able to run Paraview in batch launching a python script, and it works good. Here the line command i launch: _//software/Paraview/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/

Re: [Paraview] Pvbatch 4.1.0 core dumps when loading LIC plugin on server and client

2014-04-16 Thread Utkarsh Ayachit
Burlen, This is due to a bug in the plugin loading mechanism. For now, I suggest Joe to only load the "Server side" plugin since that's all that's needed in pvbatch mode. Utkarsh On Wed, Apr 16, 2014 at 3:45 PM, Burlen Loring wrote: > Oh, that is a complete example. :-) my bad. > > I was able

Re: [Paraview] Pvbatch 4.1.0 core dumps when loading LIC plugin on server and client

2014-04-16 Thread Burlen Loring
Oh, that is a complete example. :-) my bad. I was able to reproduce using the 4.1 binary, I'll try with a debug build and see if I can determine what's going wrong. $PV_LIBRARY_PATH=/work/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/ ParaView-4.1.0-Linux-64bit/bin/pvbatch --enable-bt

Re: [Paraview] Pvbatch 4.1.0 core dumps when loading LIC plugin on server and client

2014-04-16 Thread Burlen Loring
mind sharing a complete example? On 04/16/2014 07:24 AM, Joe Borġ wrote: Create a Python file with the following commands: from paraview.simple import * print 'Loading on server...' LoadPlugin('/opt/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/libSurfaceLIC.so', True, globals

[Paraview] Pvbatch 4.1.0 core dumps when loading LIC plugin on server and client

2014-04-16 Thread Joe Borġ
Create a Python file with the following commands: from paraview.simple import * print 'Loading on server...' LoadPlugin('/opt/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/libSurfaceLIC.so', True, globals()) print '...loaded.' print 'Loading on client...' LoadPlugin('/opt/ParaView/ParaVie

[Paraview] pvbatch on a server, launched from Mac - 3.98 works, 4.0 does not

2014-04-03 Thread Anton Shterenlikht
I'm having the following problem. I use X server on a FreeBSD box. I connet to a linux server with ssh -XY On the linux server I run pvbatch or paraview command. With PV 3.98.1 this works, but with PV 4.0.1 it does not work. Paraview or pvbatch 4.0.1 sit there seemingly doing nothing, no error, no

Re: [Paraview] pvbatch and readers with multiple outputs

2014-02-11 Thread Utkarsh Ayachit
Joe, Something like following should do the trick: from paraview.simple import * > port = servermanager.OutputPort(reader, 1) > Show(port) On Mon, Feb 10, 2014 at 4:37 PM, Insley, Joseph A. wrote: > Hi, > > I have a custom reader plugin which has multiple outputs. From the GUI I can >

[Paraview] pvbatch and readers with multiple outputs

2014-02-10 Thread Insley, Joseph A.
Hi, I have a custom reader plugin which has multiple outputs. From the GUI I can load up a data file, and can see the two outputs in the pipeline viewer. I can hide or show them independently, choose different representations, apply different filters, etc. I've saved a python state file, and

Re: [Paraview] pvbatch is not working with newer osmesa releases

2013-06-10 Thread burlen
some more info * running the script using pvpython and a separate invocation of pvserver works correctly with any number of mpi ranks * running pvbatch with 1 mpi rank produces visually correct result (but valgrind still reports over 1000 errors) * I compared the ldd output from pvserver and pv

[Paraview] pvbatch is not working with newer osmesa releases

2013-06-07 Thread burlen
Hi All, pvbatch is not working with os mesa. however there's no issue when running pvserver in cs mode with same os mesa. so same operations initiated from a pvbatch script and from the gui in cs mode produce quite different results. Similarly, valgrind spews pages of unitialzed value errors

Re: [Paraview] pvbatch MPI error

2013-03-19 Thread Anton Shterenlikht
From me...@bristol.ac.uk Tue Mar 19 09:10:58 2013 From utkarsh.ayac...@kitware.com Tue Mar 19 03:30:31 2013 What is the version of ParaView on the "other" Linux box? 3.12: mexas@hector-xe6-8:~> pvpython Python 2.7.2 (default, Nov

Re: [Paraview] pvbatch MPI error

2013-03-19 Thread Anton Shterenlikht
From utkarsh.ayac...@kitware.com Tue Mar 19 03:30:31 2013 What is the version of ParaView on the "other" Linux box? 3.12: mexas@hector-xe6-8:~> pvpython Python 2.7.2 (default, Nov 9 2011, 15:37:53) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 Type "help", "copyr

Re: [Paraview] pvbatch MPI error

2013-03-18 Thread Utkarsh Ayachit
What is the version of ParaView on the "other" Linux box? How are you running the script? Is the mpi used to build and run the executable same? Utkarsh On Mon, Mar 18, 2013 at 7:28 PM, Anton Shterenlikht wrote: > This script: > > from paraview.simple import * > #Connect() > reader=ImageReader(Fi

[Paraview] pvbatch MPI error

2013-03-18 Thread Anton Shterenlikht
This script: from paraview.simple import * #Connect() reader=ImageReader(FilePrefix="z.raw") reader.DataByteOrder=1 reader.DataExtent=[1,40,1,40,1,40] reader.DataScalarType=6 view = GetActiveView() if not view: view = CreateRenderView() view.ViewSize=[600,600] Show() dp = GetDisplayProperties(

Re: [Paraview] pvbatch: how not to use screen at all?

2013-03-18 Thread Burlen Loring
and another option, If you are on Linux you could also set up an second x screen, send your pvbatch jobs there. You'll still be able to use your gpu. Burlen On 03/18/2013 10:19 AM, Sebastien Jourdain wrote: You will need to compile ParaView with OS Mesa, otherwise a window will always popup e

Re: [Paraview] pvbatch: how not to use screen at all?

2013-03-18 Thread Sebastien Jourdain
You will need to compile ParaView with OS Mesa, otherwise a window will always popup even if the offscreen rendering is turned ON. If so the window content will stay black but the window will still show up. Seb On Mon, Mar 18, 2013 at 11:06 AM, Anton Shterenlikht wrote: > The script below works

[Paraview] pvbatch: how not to use screen at all?

2013-03-18 Thread Anton Shterenlikht
The script below works for me in paraveiw 3.10 with pvpython and pvbatch. However, in pvbatch it still opens a graphical window for a short time. How can I modify the script to *not* open any graphical windows when run with pvbatch? Can I do away with CreateRenderView()? Thanks Anton from parav

Re: [Paraview] pvbatch, MPI and MultiBlock data sets

2013-02-04 Thread Utkarsh Ayachit
Actually this was bug that fix just a couple of days ago: http://paraview.org/Bug/view.php?id=13850 It should be fixed in the upcoming release (3.98.2). Utkarsh On Mon, Feb 4, 2013 at 4:05 PM, Yves Rogez wrote: > Hi, > > I found a solution to this problem. I had to insert an UpdatePipeline() cal

Re: [Paraview] pvbatch, MPI and MultiBlock data sets

2013-02-04 Thread Yves Rogez
Hi, I found a solution to this problem. I had to insert an UpdatePipeline() call just before the writer update : /myLastFilter.UpdatePipeline() writer.UpdatePipeline()/ This is a strange behavior. Maybe due to MPICH2 usage ? I don't know... However it runs well like that. Thanks for

Re: [Paraview] pvbatch and process id

2013-02-04 Thread Andy Bauer
Hi Gena, You'll need to run pvbatch with the --symmetric option. Otherwise process 0 is the only one that reads the script and tells all of the other processes what to do. Andy On Mon, Feb 4, 2013 at 9:35 AM, Gena Bug wrote: > Hi! > > I'm trying to get a current process id from within a pvbatc

[Paraview] pvbatch and process id

2013-02-04 Thread Gena Bug
Hi! I'm trying to get a current process id from within a pvbatch script. I found a solution here (http://www.paraview.org/pipermail/paraview/2010-April/016759.html) but this trick doesn't work for me. I wrote a very simple script: from paraview.simple import * sm = servermanager print 'parts = ',

Re: [Paraview] pvbatch, MPI and MultiBlock data sets

2013-01-29 Thread Utkarsh Ayachit
Yves, 1. I don't see the oddity with the block number and BlockID when running in parallel, as you describe. For me, the BlockID in indeed Index for block + 1 whether I run in parlalel or not. 2. Running your python script as a single process, I get 1:18 minutes, while in parallel (2 procs), I get

Re: [Paraview] pvbatch, MPI and MultiBlock data sets

2013-01-28 Thread Yves Rogez
Any idea on this problem ? Thanks, Yves Rogez *IPAG* /Institut de Planétologie et d'Astrophysique de Grenoble / Bat D de Physique - BP. 53 - 38041 Grenoble - FRANCE tel : +33 (0)4 76 63 52 80 lab : +33 (0)4 76 63 52 89 Le 15/01/2013 17:25, Yves Rogez a écrit : And also the output file for MPI

Re: [Paraview] pvbatch, Render, WriteImage

2013-01-16 Thread Utkarsh Ayachit
Try calling the following at the start of the script: from paraview.simple import * paraview.simple._DisableFirstRenderCameraReset() Utkarsh On Tue, Jan 15, 2013 at 4:57 PM, Glockner Stéphane wrote: > Hello, > > I try to use paraview 3.98 (Linux 64b, binary package) in batch mode with > pvbatc

[Paraview] pvbatch, Render, WriteImage

2013-01-15 Thread Glockner Stéphane
Hello, I try to use paraview 3.98 (Linux 64b, binary package) in batch mode with pvbatch (or pvpython) to load a .pvsm file, render it and write a png image. The problem is that the png image does not match the expected one. Rotation and zoom are not applied. In the render window, the image app

Re: [Paraview] pvbatch, MPI and MultiBlock data sets

2013-01-15 Thread Utkarsh Ayachit
Just to make sure, your ParaView is built with MPI support enabled, right? XMLMultiBlockDataReader does distribute the blocks to read among the processes. Try apply a "ProcessIdScalars" filter in the middle and then look at the ProcessId assigned to the blocks in the data. They should show how the

[Paraview] pvbatch, MPI and MultiBlock data sets

2013-01-15 Thread Yves Rogez
Hello, I'm trying to parallelize a process using pvbatch and MPI, with MultiBlock data set; thus using the vtk composite pipeline. I made a sample python program that is representative of what I have to do : --

Re: [Paraview] Pvbatch launches preview when rendering

2012-08-24 Thread Utkarsh Ayachit
Only way is to recompile PAraView with OSMesa (http://paraview.org/Wiki/ParaView_And_Mesa_3D) Utkarsh On Fri, Aug 24, 2012 at 12:08 PM, Joe Borġ wrote: > Is there anyway to turn this off? > > > Regards, > Joseph David Borġ > http://www.jdborg.com > > _

[Paraview] Pvbatch launches preview when rendering

2012-08-24 Thread Joe Borġ
Is there anyway to turn this off? Regards, Joseph David Borġ http://www.jdborg.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check th

Re: [Paraview] pvbatch vs. pvpython

2012-08-09 Thread Burlen Loring
attached an example of how we configure the environment and launch pvbatch on nautilus sgi uv 1000. On 08/09/2012 09:20 AM, Burlen Loring wrote: this sounds more and more external to pv. For example if you compiled your program with one version of mpi but tried to run it with another, you'd ve

Re: [Paraview] pvbatch vs. pvpython

2012-08-09 Thread Burlen Loring
this sounds more and more external to pv. For example if you compiled your program with one version of mpi but tried to run it with another, you'd very likely see exactly what you are seeing here. A few of things you could look at to boost your confidence: "module list", "which mpirun", "echo $

Re: [Paraview] pvbatch vs. pvpython

2012-08-09 Thread David E DeMarle
On Thu, Aug 9, 2012 at 10:47 AM, Ganesh Vijayakumar wrote: > snip > But in the meanwhile can I force a debug compilation? How can I do that? > Just add "-g" to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS? CMAKE_BUILD_TYPE = Debug ___ Powered by www.kitware.com

Re: [Paraview] pvbatch vs. pvpython

2012-08-09 Thread Ganesh Vijayakumar
On Wed, Aug 8, 2012 at 5:25 PM, Burlen Loring wrote: > ** > assuming that you've already examined all the output, and there's no other > info, you could do a couple of things: put some print statements in your > python script to see how far it makes it. Also you could use MPT specific > environme

Re: [Paraview] pvbatch vs. pvpython

2012-08-08 Thread Burlen Loring
assuming that you've already examined all the output, and there's no other info, you could do a couple of things: put some print statements in your python script to see how far it makes it. Also you could use MPT specific environment variables that tell mpt to print a stack trace, see man mpi.

Re: [Paraview] pvbatch vs. pvpython

2012-08-08 Thread Ganesh Vijayakumar
On Wed, Aug 8, 2012 at 5:02 PM, Burlen Loring wrote: > ** > Hi Ganesh, > > Sig 9 usually means your job was killed by the system. Is it possible that > you have exhausted the available ram or hit some artificial limit that is > imposed by your batch system? > > I can't think of any right away. Th

Re: [Paraview] pvbatch vs. pvpython

2012-08-08 Thread Burlen Loring
Hi Ganesh, Sig 9 usually means your job was killed by the system. Is it possible that you have exhausted the available ram or hit some artificial limit that is imposed by your batch system? Burlen On 08/08/2012 01:15 PM, Ganesh Vijayakumar wrote: hi! I recently installed paraview 3.12 wi

[Paraview] pvbatch vs. pvpython

2012-08-08 Thread Ganesh Vijayakumar
hi! I recently installed paraview 3.12 with offscreen mesa on a SGI cluster with intel compilers and SGI MPT. Using the same version of paraview on my local computer I recorded a script in the qt version using python trace. I was able to execute the same script just fine on the cluster on a simi

Re: [Paraview] pvbatch view size

2012-06-26 Thread Burlen Loring
No luck there. I have had it set to 0 all along, but setting to 1 doesn't help. I initially suspected the xorg config, but xrandr command confirms that the display supports the higher resolutions. Yes, it works with pvserver remote rendering. On 06/26/2012 07:41 AM, Utkarsh Ayachit wrote: O a

Re: [Paraview] pvbatch view size

2012-06-26 Thread Utkarsh Ayachit
O another thing, try turning off "UseOffscreenRenderingForScreenshots" property on the view. > view.UseOffscreenRenderingForScreenshots = 0 That's one difference between the client-server and pvbatch workflows. Utkarsh On Tue, Jun 26, 2012 at 10:40 AM, Utkarsh Ayachit wrote: > Sorry I don't ha

Re: [Paraview] pvbatch view size

2012-06-26 Thread Utkarsh Ayachit
Sorry I don't have any insight. The 1024 limit sounds very fishy. In the end, it has to be something with X/OpenGL context or something like that, but what is confusing is that it works with pvserver (remote-rendering, right?). Utkarsh On Tue, Jun 26, 2012 at 10:40 AM, Burlen Loring wrote: > unf

Re: [Paraview] pvbatch view size

2012-06-26 Thread Burlen Loring
unfortunately I'm running this on a vis cluster, I don't see the windows. I guess I can move one slice of the dataset to my workstation and see if the issue remains... On 06/25/2012 04:36 PM, Utkarsh Ayachit wrote: Is it at all possible to view the batch render windows on the processes? I am

Re: [Paraview] pvbatch view size

2012-06-25 Thread Utkarsh Ayachit
Is it at all possible to view the batch render windows on the processes? I am not sure, but maybe looking at the actual size/pos of the windows can provide some clues. Theoretically, I don't see why there should be any difference between pvbatch and pvserver (which I assume is what you mean by "in

Re: [Paraview] pvbatch view size

2012-06-25 Thread Burlen Loring
Thanks Utkarsh, I'm using 3.14.1 now but this also happens with 3.10.0. Setting the window position didn't help. Burlen On 06/24/2012 06:13 AM, Utkarsh Ayachit wrote: Burlen, This is with 3.14 or greater right? Another thing to try is setting teh window position (maybe it's being shown up

Re: [Paraview] pvbatch view size

2012-06-25 Thread Burlen Loring
cc'ing list On 06/23/2012 01:38 PM, Burlen Loring wrote: hi Utkarsh, i'm setting as follows: view = GetRenderView() view.ViewSize = [width, height] On Jun 23, 2012 6:35 AM, "Utkarsh Ayachit" mailto:utkarsh.ayac...@kitware.com>> wrote: Burlen, How are you setting the view size in y

Re: [Paraview] pvbatch view size

2012-06-23 Thread Utkarsh Ayachit
Burlen, How are you setting the view size in your python script for pvbatch? Utkarsh On Fri, Jun 22, 2012 at 4:27 PM, burlen wrote: > Hi all, > > When I'm using pvbatch the rendering gets "clipped" (see attached images) > when I set the view size to values greater than ~1024 in either direction

Re: [Paraview] pvbatch and paraview to extract images and data.

2012-03-22 Thread Andy Bauer
For rescaling data, the following works for coprocessing: === for view in cp_views: if timestep % view.cpFrequency == 0 or datadescription.GetForceOutput() == True: reps = view.Representations for rep in reps: if ha

Re: [Paraview] pvbatch and paraview to extract images and data.

2012-03-22 Thread Andy Bauer
For rescaling data, the following works for coprocessing: === for view in cp_views: if timestep % view.cpFrequency == 0 or datadescription.GetForceOutput() == True: reps = view.Representations for rep in reps: if ha

[Paraview] pvbatch and paraview to extract images and data.

2012-03-22 Thread 0252525
Dear All, I have been recently experimenting with OpenFOAM and paraview, in particular pvbatch. In particular, I am interested in exporting images and data from paraview, using pvbatch. To this end, I do the following: [1] Run OpenFOAM and generate the required "state file" in paraview (say pres

Re: [Paraview] pvbatch: Python Loop-memory leak

2012-01-24 Thread Paul Edwards
This sounds like the mesa issue I was having. Does it work if you add this to the start pdf your script? # turn off display lists g = servermanager.misc.GlobalMapperProperties() g.GlobalImmediateModeRendering = 1 Regards, Paul On 24 Jan 2012 19:07, "Houskamp, Joshua R CTR (US)" < joshua.r.houska

[Paraview] pvbatch: Python Loop-memory leak

2012-01-24 Thread Houskamp, Joshua R CTR (US)
I am attempting to setup a pvbatch process for a large number of exodus files using WriteAnimation for images. However, I appear to have a memory leak and the number of images continues to grow. I've been trying to delete all the variables to find an offending variable that is carrying over time

Re: [Paraview] Pvbatch: Volume rendering a thresholded unstructured grid

2011-08-30 Thread Jesus Pulido
Regarding what I previously sent, I can now just check Threshold1.PointData.GetNumberOfArrays() for each timestep to see if a valid output is produced, if it is then I can apply the settings and everything works fine. Thanks for your help! Jesus On Tue, Aug 30, 2011 at 7:25 AM, Utkarsh Ayachit

Re: [Paraview] Pvbatch: Volume rendering a thresholded unstructured grid

2011-08-30 Thread Jesus Pulido
You're right, I have multiple timestep data and for the first couple of timesteps there is nothing within that threshold range but as I proceed with consequent timesteps data starts falling within that range. I am trying to visualize data that starts from nothing and starts expanding into a certain

Re: [Paraview] Pvbatch: Volume rendering a thresholded unstructured grid

2011-08-30 Thread Utkarsh Ayachit
You're getting that error because more likely than not, your threshold range is such that no data is getting passed through. Ensure that the the Threshold1.ThresholdRange is set to a valid range so that at least some cells are passed through. Utaksrh On Mon, Aug 29, 2011 at 8:27 PM, Jesus Pulido

[Paraview] Pvbatch: Volume rendering a thresholded unstructured grid

2011-08-29 Thread Jesus Pulido
I omitted that line before because I was getting the following error. Readding it gives this error: Traceback (most recent call last): File "/home/user/DNS/volume.py", line 40, in DataRepresentation2.ColorArrayName = 'volume_scalars' File "/home/user/Programs/ParaView-3.11.1-git/bin/Utilit

Re: [Paraview] Pvbatch: Volume rendering a thresholded unstructured grid

2011-08-29 Thread Utkarsh Ayachit
Try adding: DataRepresentation2.ColorArrayName = 'volume_scalars' Utkarsh On Wed, Aug 24, 2011 at 7:02 PM, Jesus Pulido wrote: > I am trying to volume render an unstructured grid of points using pvbatch > but I am getting an error: > > ERROR: In > /home/user/Programs/ParaView-3.11.1-git/ParaVie

[Paraview] Pvbatch: Volume rendering a thresholded unstructured grid

2011-08-24 Thread Jesus Pulido
I am trying to volume render an unstructured grid of points using pvbatch but I am getting an error: ERROR: In /home/user/Programs/ParaView-3.11.1-git/ParaView/VTK/VolumeRendering/vtkUnstructuredGridVolumeRayCastMapper.cxx, line 211 vtkUnstructuredGridVolumeRayCastMapper (0x2473a40): Can't use the

Re: [Paraview] Pvbatch with XDMF/HDF5 limitation

2011-03-10 Thread Robert Maynard
Hi Jorge, Can you please provide the CMakeCache.txt and the system information of the computer that has this problem? On Wed, Mar 9, 2011 at 11:44 AM, Jorge Chiva Segura wrote: > Please, is it possible for someone to try to reproduce the behavior of > which I am talking about with the example fi

Re: [Paraview] Pvbatch with XDMF/HDF5 limitation

2011-03-09 Thread Jorge Chiva Segura
Please, is it possible for someone to try to reproduce the behavior of which I am talking about with the example files submitted here: http://www.paraview.org/Bug/view.php?id=10702 ? If I try to open for example the file unsteady_output_probe_1.xdmf passing 1, 2, 4, 8 or 16 cpu's to mpirun when st

[Paraview] Pvbatch with XDMF/HDF5 limitation

2011-02-21 Thread Jorge Chiva Segura
Hi anybody, I am trying to run a very simple python script: from paraview.simple import * servermanager.LoadState("state.pvsm") view = servermanager.GetRenderView() view.StillRender() image="aux.png" view.WriteImage(image,"vtkPNGWriter",1) using pvbatch: mpirun -np 8 pvbatch script.py to obtai

[Paraview] pvbatch and save data

2011-02-12 Thread bastil2...@yahoo.de
Hi all, I have written a python-script to interpolate data from one geometry to another and save the result. Running it in serial works fine with pvbatch. In parallel I have no working writer so far. I tried it with vtk, pvd (mpi errors) and ensight (data written half, no blocks found). Is there s

Re: [Paraview] pvbatch hanging in parallel after WriteImage?

2010-10-18 Thread Utkarsh Ayachit
This show be fixed now. commit e13270b7468f7fcdea21a7e350c3ce65a9cde872 Author: Utkarsh Ayachit Date: Mon Oct 18 10:11:34 2010 -0400 BUG #11327. Fixed freeze after WriteImage in parallel pvbatch. vtkSMUtilities::SaveImageOnProcessZero has a broadcast to ensure that all processes h

Re: [Paraview] pvbatch: Manipulate file list of loaded state file

2010-10-05 Thread Fabian Braennstroem
Hello Karl, oh, I hoped you could get it to work... Is the new option, you are mentioning, available in the latest git version? With 3.8.0 I am not able to see it. And it would be great to access this by python!? Best Regards! Fabian On 10/05/2010 12:47 PM, Karl König wrote: Hello Fabian,

Re: [Paraview] pvbatch: Manipulate file list of loaded state file

2010-10-05 Thread Karl König
Hello Fabian, I never got that working and eventually gave up. But - this was a year ago. In the meantime Utkarsh and David have added a possibility to alter the file when loading a state file. In the GUI a dialog pops up when loading a state file which allows to change every file referenced in

Re: [Paraview] pvbatch: Manipulate file list of loaded state file

2010-10-04 Thread Fabian Braennstroem
Hello Karl, I wonder, if you had success with your approach!? Actually, I would like to do similar with these lines: from paraview.simple import * servermanager.LoadState("/home/gcae504/Dissertation/3D_Nielsen/OpenFoam/01_SAS_SSTF_URANS/01__56T_SST/STREAM_SLICE0.pvsm") SetActiveView(GetRenderV

Re: [Paraview] pvbatch (3.8.0) rendering through OSmesa does not work on multiple nodes

2010-09-23 Thread Kevin H. Hobbs
On 09/22/2010 12:06 PM, Van Mierlo K. wrote: > I have compiled osmesa 7.5.2 and the newest release candidate osmesa > 7.8.3-rc1. Unfortunately pvbatch 3.8.0 using either of these libraries gives > the same output and the render error persists. I use the following command to > configure / compile

Re: [Paraview] pvbatch (3.8.0) rendering through OSmesa does not work on multiple nodes

2010-09-22 Thread Van Mierlo K.
I have compiled osmesa 7.5.2 and the newest release candidate osmesa 7.8.3-rc1. Unfortunately pvbatch 3.8.0 using either of these libraries gives the same output and the render error persists. I use the following command to configure / compile the osmesa library: ./configure --with-driver=osme

Re: [Paraview] pvbatch (3.8.0) rendering through OSmesa does not work on multiple nodes

2010-09-16 Thread Kevin H. Hobbs
On 09/16/2010 09:39 AM, Dave Partyka wrote: > Humm, it must be fixed then in their git repo as all the rendering tests > would fail. Which was the case, on those dashboards about a month ago if > I remember correctly? > You do remember correctly, but there were many reasons why large numbers of t

Re: [Paraview] pvbatch (3.8.0) rendering through OSmesa does not work on multiple nodes

2010-09-16 Thread Dave Partyka
Humm, it must be fixed then in their git repo as all the rendering tests would fail. Which was the case, on those dashboards about a month ago if I remember correctly? On Thu, Sep 16, 2010 at 9:29 AM, Kevin H. Hobbs wrote: > On 09/16/2010 09:12 AM, Dave Partyka wrote: > > > > > > I would recomme

  1   2   >