Re: [Paraview] reading input directly from memory?

2015-12-15 Thread Anton Shterenlikht
>From dkxl...@gmail.com Tue Dec 15 11:54:43 2015 > >I guess what you are aiming at is "in situ analysis": >http://www.paraview.org/in-situ/ > >ParaView's Catalyst framework should give you a good starting point. > >-Armin At first glance, yes, this is what I'm after. I'll read the manuals, but bri

[Paraview] reading input directly from memory?

2015-12-15 Thread Anton Shterenlikht
Is there a facility in paraview to read input data directly from memory? I'm thinking of a situation where some program is run on N cores. Before it exits, while its data is still in memory, Paraview is started on the same N cores and reads data created by the first program from memory. Then the pr

Re: [Paraview] 400GB dataset out of memory on 1k cores?

2015-09-25 Thread Anton Shterenlikht
>From berk.gev...@kitware.com Tue Sep 22 19:18:53 2015 > >Hmmm. We are not exactly on the same wavelength :-) When you run a >threshold filter, you indeed get a volume with all the cells of a given >grain id. However, when you show it as a Surface (the default mode), >ParaView extracts the outer su

Re: [Paraview] 400GB dataset out of memory on 1k cores?

2015-09-24 Thread Anton Shterenlikht
sorry, I think the dataset I posted is bad, i.e. there is only a single volume that is shown with a threshold. I'll try to generate a better one shortly. Apologies, and thank you for your help. Anton ___ Powered by www.kitware.com Visit other Kitware o

Re: [Paraview] 400GB dataset out of memory on 1k cores?

2015-09-22 Thread Anton Shterenlikht
>From berk.gev...@kitware.com Tue Sep 22 19:18:53 2015 > >Hmmm. We are not exactly on the same wavelength :-) When you run a >threshold filter, you indeed get a volume with all the cells of a given >grain id. However, when you show it as a Surface (the default mode), >ParaView extracts the outer su

Re: [Paraview] 400GB dataset out of memory on 1k cores?

2015-09-22 Thread Anton Shterenlikht
example, a ~40KB volume (one > float variable) turns into a ~800KB if I extract all of it as an > unstructured grid. It seems like all you need is to extract the interfaces > between the grains, correct? > > Best, > -berk > > On Mon, Sep 21, 2015 at 10:50 AM, Anton Shterenlikh

Re: [Paraview] 400GB dataset out of memory on 1k cores?

2015-09-21 Thread Anton Shterenlikht
>From mexas Mon Sep 21 14:29:16 2015 >To: paraview@paraview.org >Subject: 400GB dataset out of memory on 1k cores? >Reply-To: me...@bris.ac.uk > >I get OOM on a ~400GB raw dataset >that I process with a script below. >I use 24 core nodes with 64GB per node. >I tried using up to 1008 nodes. error..

[Paraview] 400GB dataset out of memory on 1k cores?

2015-09-21 Thread Anton Shterenlikht
I get OOM on a ~400GB raw dataset that I process with a script below. I use 24 core nodes with 64GB per node. I tried using up to 1008 nodes. My question: Will increasing the number of cores/nodes help? Or is there some serial operation involved that will not be helped this way? Thank you Anton

Re: [Paraview] python changes 4.0/4.1 to 4.3?

2015-06-09 Thread Anton Shterenlikht
On 09/06/2015, Utkarsh Ayachit wrote: > Anton, > > DiffuseColor still exists. Can you post the full error message that you're > getting? If you can share the dataset you're using to test this script, > that'll be even better! > > Utkarsh > > > On Mon, Ju

[Paraview] python changes 4.0/4.1 to 4.3?

2015-06-08 Thread Anton Shterenlikht
I've a script that used to work ok on 4.0 and 4.1, but now something is wrong with the colours. Has anything changed between 4.0/4.1 to 4.3 to make DataRepresentation3.DiffuseColor = [1.0, 1.0, 0.0] not understood? The full script: ##

[Paraview] 550 Neither MX nor MTA found for domain:paraview.org

2014-10-29 Thread Anton Shterenlikht
I get: Delivery to the following recipient failed permanently: paraview@paraview.org Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the relay outbounds200.obsmtp.com by ou tbounds200.obsmtp.com. [207.126.147.11]. The error that the othe

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

[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] vtkPVCameraCueManipulator (0x8353f8e60): Too few keyframes to animate.

2014-07-23 Thread Anton Shterenlikht
>From utkarsh.ayac...@kitware.com Wed Jul 23 15:02:03 2014 > >Can you switch the lines "WriteAnimation" and "CameraAnimationCue.KeyFrame >=...". The WrieAnimation should happen after that. yes, that helped, thanks. > Seems like a bug in the >tracing code. The tracing code is being revamped. Altho

[Paraview] vtkPVCameraCueManipulator (0x8353f8e60): Too few keyframes to animate.

2014-07-23 Thread Anton Shterenlikht
I made an animation interactively in PV 4.1.0. I checked that the animation is fine with mplayer. I recorded my steps with Tools -> Start Trace. When I try to run the resulting python script with pvbatch I get this error: $ pvbatch --use-offscreen-rendering zpart1.py ERROR: In /wrkdirs/usr/ports/

[Paraview] vtkXOpenGLRenderWindow (0x25abb70): bad X server connection. DISPLAY=ERROR

2014-07-17 Thread Anton Shterenlikht
The error is from a pvbatch 4.0.1. Please help. job submission script: newblue2> cat z.pv #!/bin/bash --login # #$Id: sample.bc3.pvbatch 1022 2013-12-25 15:32:33Z mexas $ # #PBS -l walltime=00:10:00,nodes=1:ppn=16 #PBS -j oe #PBS -m abe cd $HOME/nobkp/cgpack/branches/coarray/tests export OUTFILE

[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] pvpython 3.98: NameError: name 'ImageReader' is not defined

2014-03-31 Thread Anton Shterenlikht
>From mexas Mon Mar 31 09:51:40 2014 >To: paraview@paraview.org >Subject: pvpython 3.98: NameError: name 'ImageReader' is not defined >Reply-To: me...@bris.ac.uk > >I see multiple errors from pvbatch 3.98. >In an attempt to get to the bottom, >I now use pvpython, to check line of >my script in turn

[Paraview] pvpython 3.98: NameError: name 'ImageReader' is not defined

2014-03-31 Thread Anton Shterenlikht
I see multiple errors from pvbatch 3.98. In an attempt to get to the bottom, I now use pvpython, to check line of my script in turn. However, I now get the error at the very start: $ pvpython Python 2.7.2 (default, Feb 8 2013, 11:05:21) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linu

[Paraview] PV 3.98.1: pvbatch error: BadLength (poly request too large or internal Xlib length error)

2014-03-28 Thread Anton Shterenlikht
On some linux, 2.6.18-194.32.1.el5, I get an error when using --use-offscreen-rendering with pvbatch. $ pvbatch z.py produces me an image as expected, but $ pvbatch --use-offscreen-rendering z.py gives, after some delay,: X Error of failed request: BadLength (poly request too large or internal

[Paraview] PV 3.10 and 4.1 build error on FreeBSD ia64: vtkUTF8TextCodec.cxx.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_112testIteratorE

2014-03-19 Thread Anton Shterenlikht
I'm getting (nearly) identical build errors with 3.10: `_ZTSN12_GLOBAL__N_112testIteratorE' referenced in section `.data.rel.ro' of CMakeFiles/vtkIO.dir/vtkUTF16TextCodec.cxx.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_112testIteratorE[_ZTSN12_GLOBAL__N_112testIteratorE]' of CMak

Re: [Paraview] PV 3.10 stuck in select state

2014-03-18 Thread Anton Shterenlikht
-X and launch PV 3.98 from there. The graphical window comes up normally. So X config is probably not broken. The problem should be somewhere else. Many thanks Anton > > >On Tue, Mar 18, 2014 at 7:45 AM, Anton Shterenlikht wrote: > >> I use paraview 3.10. Can't update rig

[Paraview] PV 3.10 stuck in select state

2014-03-18 Thread Anton Shterenlikht
I use paraview 3.10. Can't update right now. PV is built via FreeBSD ports. It used to work ok till recently. Now when run, only the logo come up and stays up forever. The actual PV window never comes up. top shows: PID USERNAMETHR PRI NICE SIZERES STATE C TIMEWCPU COMMAND 311

[Paraview] QPainter::end: Painter not active, aborted

2013-05-08 Thread Anton Shterenlikht
I'm using paraview 3.10.1 in interactive mode. With nearly every graphical operation, I see on console this set of messages repeated endlessly: QPainter::begin: Paint device returned engine == 0, type: 2 QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setBrush: Pai

[Paraview] bug in ImageReader DataExtent property

2013-03-26 Thread Anton Shterenlikht
I reported bug 13953. However, I found that the source of the problem is DataExtent property. This: reader=ImageReader(FilePrefix="z.raw") reader.DataExtent=[0,39,0,39,0,39] works, while: reader=ImageReader(FilePrefix="z.raw") reader.DataExtent=[1,40,1,40,1,40]

Re: [Paraview] [EXTERNAL] parallel readers?

2013-03-26 Thread Anton Shterenlikht
paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Anton Shterenlikht Sent: Monday, March 25, 2013 8:48 AM To: paraview@paraview.org Subject: [EXTERNAL] [Paraview] parallel readers? What is meant by a parallel reader? If I have n raw binary files, al

[Paraview] filter to read in 3D cell data

2013-03-25 Thread Anton Shterenlikht
My data is a large 3D array of integers (cells). What is the best reader for it? The ImageReader seems ideal, but doesn't work for me with pvbatch (bug 13953). The CSV reader is only 1D. Other readers seems awfully complex for my simple format. Please advise Thanks Anton __

[Paraview] parallel readers?

2013-03-25 Thread Anton Shterenlikht
What is meant by a parallel reader? If I have n raw binary files, all forming parts of one global model, then can I reade all of them in paraview in parallel if I have n processes? Thanks Anton ___ Powered by www.kitware.com Visit other Kitware open-s

[Paraview] is CSV reader a good alternative to ImageReader?

2013-03-22 Thread Anton Shterenlikht
I'm having problems with ImageReader: http://paraview.org/Bug/view.php?id=13953 I'm thinking about trying the CSV reader instead. My data is a 3D array of integers. For the ImageReader I write it in binary form using fortran 2003 "stream". I guess I can write it in a form: i, j, k, value i, j,

[Paraview] ImageReader fails with pvbatch: MPI_Type_create_subarray(124): Argument array_of_starts has value 4 but must be within [0, 0] on 3.12, 3.98 linux

2013-03-22 Thread Anton Shterenlikht
I've isolated the problem to this small script: from paraview.simple import * reader=ImageReader(FilePrefix= "z9end.raw" ) reader.DataByteOrder=1 reader.DataExtent=[1,80,1,80,1,640] reader.DataScalarType=5 view = GetRenderView() Show() It works with: - 3.10 pvbatch on FreeBSD - 3.10 pvpython o

[Paraview] MPI error: MPI_Type_create_subarray(124): Argument array_of_starts has value 120 but must be within [0, 116]

2013-03-20 Thread Anton Shterenlikht
I have a python script that I need to run on Hector (www.hector.ac.uk). It seems to run fine with pvpython but gives MPI errors with pvbatch. The MPI used to build and run paraview on hector is (I think): xt-mpich2 - Cray MPICH2 Message Passing Interface Hector support staff can reproduce my erro

[Paraview] Tools -> Start Trace answered most my python questions - great tool!

2013-03-19 Thread Anton Shterenlikht
___ 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 the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscri

Re: [Paraview] pvbatch MPI error

2013-03-19 Thread Anton Shterenlikht
ble same? This I don't know. I'll have to ask the support people there. Forgot to add, in pvpython the script runs fine interactively. Anton On Mon, Mar 18, 2013 at 7:28 PM, Anton Shterenlikht wrote: > This script

Re: [Paraview] pvbatch MPI error

2013-03-19 Thread Anton Shterenlikht
Is the mpi used to build and run the executable same? This I don't know. I'll have to ask the support people there. Thanks Anton On Mon, Mar 18, 2013 at 7:28 PM, Anton Shterenlikht wrote: > This script: > > from paraview.simple import *

[Paraview] ImportError: No module named readline

2013-03-18 Thread Anton Shterenlikht
Is this error serious or benign: hector-xe6-9 coarray/tests> 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", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "/etc/p

[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] TypeError: WriteImage() takes exactly 3 arguments (1 given)

2013-03-18 Thread Anton Shterenlikht
ore modern, but at least in my 3.10 both are supported. The 2007 paper edition of the paraview user guide uses "servermanager" exclusively. I'm looking forward to receiving the 2012 paraview guide, which presumably will refer to "simple". Anton On Thu, M

[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] incorrect python tutorial: http://www.paraview.org/Wiki/ParaView/Python/Screenshot ?

2013-03-18 Thread Anton Shterenlikht
vailable at two URLs: http://paraview.org/Wiki/Take_a_Screenshot_of_a_VTP_File http://www.paraview.org/Wiki/ParaView/Python/Screenshot Thanks Anton On Mon, Mar 18, 2013 at 7:29 AM, Anton Shterenlikht wrote: > I tried to reproduce this tutorial with pvpython > (par

[Paraview] python: how to colour by ImageFile?

2013-03-18 Thread Anton Shterenlikht
All tutorial examples I could find use Elevation to colour objects. I need to colour by ImageFile. I can do it easily with Paraview GUI itself, but still can't find how to do it with pvpython. Please give a hint Thanks Anton ___ Powered by www.kitware.

[Paraview] incorrect python tutorial: http://www.paraview.org/Wiki/ParaView/Python/Screenshot ?

2013-03-18 Thread Anton Shterenlikht
I tried to reproduce this tutorial with pvpython (paraview 3.10), only I have a *raw file: $ pvpython Python 2.7.3 (default, Jan 15 2013, 08:46:05) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd10 Type "help", "copyright", "credits" or "license" for more information. >>> from paraview.simple i

Re: [Paraview] help with pvpython commands

2013-03-15 Thread Anton Shterenlikht
From utkarsh.ayac...@kitware.com Fri Mar 15 15:36:54 2013 Try what I suggested after a "from paraview.simple import *" yes, that works. So what's the difference between simple and servermanager modules? Thanks Anton On Mar 15, 2013, at 2:51 PM, Ant

[Paraview] simple vs servermanager python module

2013-03-15 Thread Anton Shterenlikht
In my paraview book (2007) python scripting chapter always refers to servermanager module. In this (presumably much more recent) python tutorial: http://www.paraview.org/Wiki/ParaView/Python_Scripting the reference is always to module "simple", however, lines like this are confusing: *quote* When

Re: [Paraview] help with pvpython commands

2013-03-15 Thread Anton Shterenlikht
From utkarsh.ayac...@kitware.com Fri Mar 15 11:58:39 2013 Try: > a = ImageReader() > help(a) I get: >>> from paraview.servermanager import * paraview version 3.10.1, Date: 2011-01-28 >>> a=ImageReader() Traceback (most recent call last): File "", line 1, in Na

[Paraview] SOLVED: TypeError: WriteImage() takes exactly 3 arguments (1 given)

2013-03-14 Thread Anton Shterenlikht
From mexas Thu Mar 14 15:28:50 2013 To: paraview@paraview.org Subject: TypeError: WriteImage() takes exactly 3 arguments (1 given) Reply-To: me...@bristol.ac.uk I get this error: >>> view.WriteImage("z.png") Traceback (most recent call last)

[Paraview] TypeError: WriteImage() takes exactly 3 arguments (1 given)

2013-03-14 Thread Anton Shterenlikht
I get this error: >>> view.WriteImage("z.png") Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/paraview-3.10/site-packages/paraview/servermanager.py", line 331, in __ConvertArgumentsAndCall retVal = func(*newArgs) TypeError: WriteImage() takes exactly 3 argume

[Paraview] help with pvpython commands

2013-03-14 Thread Anton Shterenlikht
I'm trying to follow this example: Example 2 In the second example the python script reads a raw binary file with 3Dimensional data and creates a contour at the values 0.1 and -0.1. A Colour bar is also provided. from paraview.servermanager import * Connect() reader=sources.ImageReader(FilePre

[Paraview] paraview guide 4th edition print version?

2013-03-14 Thread Anton Shterenlikht
Hi http://kitware.stores.yahoo.net/paraviewebook.html Will there be a print version of this edition? We have the paraview guide from 2007 in the library and it's not very helpful. Thanks Anton ___ Powered by www.kitware.com Visit other Kitware open-

[Paraview] pvpython: OpenDataFile(): AttributeError: Attribute FileName does not exist.

2013-03-13 Thread Anton Shterenlikht
This is paraview 3.10 I'm using pvpython: $ pvpython Python 2.7.3 (default, Jan 15 2013, 08:46:05) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd10 Type "help", "copyright", "credits" or "license" for more information. >>> I'm trying to read in a binary *.raw file: >>> reader = OpenDataFil

[Paraview] PV on FreeBSD - QPainter warnings, graphics glitches and crash on Save Animation

2010-07-21 Thread Anton Shterenlikht
re correct, but I still get a crash on animation save. Please advise many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___

[Paraview] PV 3.8-rc run via ssh crashes X - GLX bug?

2010-07-19 Thread Anton Shterenlikht
/view.php?id=10621 ? Looking at xdm coredump, I see this line: #7 0x000802256a4b in DrawableGone () from /usr/local/lib/xorg/modules/extensions/libglx.so I asked in FBSD mailing lists, but no advice so far. Please comment/advise many thanks anton -- Anton Shterenlikht Room

[Paraview] The Paraview Guide is out of date

2010-07-18 Thread Anton Shterenlikht
owser, Color Scale Editor, etc. It's hard to follow the tutorials. Are there any plans to publish a more up to date version? Is this http://www.paraview.org/Wiki/The_ParaView_Tutorial the most up to date tutorial? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Bu

[Paraview] 3.8.0 segfault - Animate Parameters -> File Prefix

2010-05-20 Thread Anton Shterenlikht
lue (10 in my case), and hit ok. The new value appears in the anumation track. When I click play animation - I get segfault. No other output. Please advise I do apologise if this is explained in the manual somewhere. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Buildin

[Paraview] how to record an animation in 3.6.2?

2010-05-18 Thread Anton Shterenlikht
d record them one after another. Then to sync them with some time measure. Am I missing something very simple? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel:

Re: [Paraview] Building paraview with shared libraries on

2010-02-22 Thread Anton Shterenlikht
__ > 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 the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this

Re: [Paraview] HDF5 in paraview 3.6.1?

2009-11-16 Thread Anton Shterenlikht
eed to supply some plain text data description to go with it? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423

[Paraview] HDF5 in paraview 3.6.1?

2009-11-16 Thread Anton Shterenlikht
I'm new to Paraview. I was under the impression that paraview 3.6.1 supports hdf5. But I cannot find the correct filter when opening a *.h5 file. Please advise anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, U

Re: [Paraview] pvclient

2009-08-18 Thread Anton Shterenlikht
paraview, which is the easy way to install all dependencies. I'll see if the paraview FreeBSD port maintainers could be persuaded to update their makefiles. thanks for reply though. > > -Ken > > > On 8/17/09 8:58 AM, "Anton Shterenlikht" wrote: > > I'm

[Paraview] pvclient

2009-08-17 Thread Anton Shterenlikht
line 1) invoked from within "uplevel #0 [list source $file]" This probably means that tk wasn't installed properly. Exit Client % I've tcl-8.4.19_3,1 and tk-8.4.19_2,2 installed. Any advice? many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech En