Re: [Paraview] How PV detects valid file formats?

2009-11-09 Thread Favre Jean
From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] On Behalf Of David E DeMarle [dave.dema...@kitware.com] Sent: Monday, November 09, 2009 7:24 PM To: Nehme Bilal Cc: paraview@paraview.org Subject: Re: [Paraview] How PV detects valid file

[Paraview] missing eye icon to turn visibility ON and OFF

2009-12-10 Thread Favre Jean
Hello I have a reader creating 3 output ports (1 AMR and 2 vtkMultiBlock). Execution is fine, but the 3 eye icons left of the objects in the pipeline browser are now missing. My most recent CVS checkout was on December 4. Everything was right. I updated today, and the icons are now missing.

[Paraview] setting name of individual patches in AMR

2009-12-19 Thread Favre Jean
I am following the same method I use in multi-block readers to set names of individual grids (Extract Block in the GUI panel correctly identifies grids by names) The same (using Extract AMRBlock) does not name my patches. The levels are named, but the patches are simply labeled with the

Re: [Paraview] full screen problem

2009-12-28 Thread Favre Jean
Hi everyone, When I connect the paraview client to the server, the render windows are shown fullscreen on the cluster nodes. But if I try to draw something, the render windows on visualization nodes are not shown fullscreen any more. -- Are you using tile-display mode? what version of PV are

[Paraview] ParaView 3.6.2 Release and hdf5-1.8

2010-01-07 Thread Favre Jean
I have tried compiling pv3.6.2 with my system's hdf5 and have run into the following issue: regardless of what api-version I use to configure compile hdf5 (v16 or v18), I cannot compile pv because of the following error: /apps-vis/ParaView3-6-2/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:174:

Re: [Paraview] Displaying point coordinates

2010-02-24 Thread Favre Jean
Hi, I'm currently searching for way to retrieve the coordinates of one or more selected surface points (Select Points On functionality). How can I display the coordinates of those points? You need two things: 1) after selection, open up a Selection Inspector panel, the current object is

Re: [Paraview] Compiling without X11 libraries

2010-02-24 Thread Favre Jean
There is another software around which uses the trick of configuring Mesa twice, first with the --with-driver=xlib option to make the lib required for the glX* calls, and a second time to make the other calls available with --with-driver=osmesa. You may see details of their method here:

Re: [Paraview] How to color by Cell Data

2010-02-28 Thread Favre Jean
Hi, I noted this problem a few days ago. A *really* simple example: - Add a SphereSource - Connect to a Generate Ids filter - Update: The information panel shows a 'Ids' array for points and for cells, but the Color by doesn't give the choice of cell array. Jerome - I cannot

Re: [Paraview] Fwd: Re: Name query from multi-block data in Python

2010-03-04 Thread Favre Jean
From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] On Behalf Of bastil2...@yahoo.de [bastil2...@yahoo.de] Sent: Wednesday, March 03, 2010 11:59 PM To: 'ParaView'; Utkarsh Ayachit Subject: Re: [Paraview] Fwd: Re: Name query from

[Paraview] python support to open ComparativeView ?

2010-03-23 Thread Favre Jean
Hi all How does one go about creating a ComparativeView multi-viewport in a python script? I tried the trace thing, but it only gave me an incomplete description, and then it failed, when reloading, on the keywords ComparativeRenderView2.Cues = [] I have found in simple.py the definitions

[Paraview] Python Programmable Filter

2010-04-19 Thread Favre Jean
Hello Can one write a Python Programmable Filter with multiple outputs? I tried the obvious self.SetNumberOfOutputPorts(2), which complained, and in any case, I wonder how it would interact with the GUI option which defines the output Data Set Type. Since there is a single option, I guess I

Re: [Paraview] Magic Crop Filter

2010-04-20 Thread Favre Jean
ParaView has already defined a filter with the following specs: SourceProxy name=ImageClip class=vtkImageClip label=Crop you may find the full description in the source code at Servers/ServerManager/Resources/filters.xml - Jean M. Favre Swiss National Supercomputing Center

[Paraview] Download ParaView source via Git access

2010-04-27 Thread Favre Jean
All, The new link in http://www.paraview.org/paraview/resources/software.html for the new source code access has a typographic error Download ParaView source via Git access: http://www.paraview.org/Wiki/ParaView/Git links too http://www.parawiew.org/Wiki/ParaView/Git the correct

Re: [Paraview] [Feature request] Expanding PVD File Components

2010-04-28 Thread Favre Jean
From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] On Behalf Of Olumide [50...@web.de] Sent: Wednesday, April 28, 2010 2:03 PM To: paraview@paraview.org Subject: Re: [Paraview] [Feature request] Expanding PVD File Components Thanks. Erm ... what does a *.vts file look like?

Re: [Paraview] Extract Block from MultiBlock into vtkImageData

2010-04-30 Thread Favre Jean
From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] On Behalf Of Eric E. Monson [emon...@cs.duke.edu] Sent: Thursday, April 29, 2010 5:40 PM To: Michael Jackson Cc: ParaView list Subject: Re: [Paraview] Extract Block from MultiBlock into

Re: [Paraview] Manta source code repository?

2010-05-06 Thread Favre Jean
- Jean M. Favre Scientific Computing Research Swiss National Supercomputing Center CH-6928 Manno Switzerland From: David E DeMarle [dave.dema...@kitware.com] Sent: Thursday, May 06, 2010 5:18 PM To: Favre Jean Cc: ParaView Subject: Re

Re: [Paraview] Contours of streamlines crashing

2010-05-08 Thread Favre Jean
I am not able to reproduce a crash using ParaView 3.8RC2. Using the included Python script, you may play the scene for as long as you want. Modify the file name to read your own copy of RectGrid.vtk from the ParaViewData distribution. run with pvpython, and it will play for ever.

Re: [Paraview] Contours of streamlines crashing

2010-05-10 Thread Favre Jean
From: David Borland [borl...@renci.org] Sent: Monday, May 10, 2010 5:38 PM To: Favre Jean Cc: Zhanping Liu; paraview@paraview.org Subject: Re: [Paraview] Contours of streamlines crashing Yes, looks like I can't replicate it with RectGrid.vtk either

[Paraview] error with vtkAMRDualGridHelper

2010-06-25 Thread Favre Jean
I have my own reader for AMR data which produces only PointData, no CellData. When doing Contour (with a recent CVS version), I get errors like this, and then a crash: ERROR: In /local/data/jfavre/ParaView3/Servers/Filters/vtkAMRDualGridHelper.cxx, line 727 vtkAMRDualGridHelper (0x2abe6e0):

Re: [Paraview] Loading coastline / continent data

2010-08-10 Thread Favre Jean
if you have enabled TESTING and you have the correct VTK_DATA_ROOT set up, you may want to try bin/HybridCxxTests TestTDxGeo -D /local/VTKData -V Baseline/Hybrid/TestTDxGeo.png -I The source code is in VTK/Hybrid/Testing/Cxx/TestTDxGeo.cxx - Jean M. Favre Swiss National

Re: [Paraview] Converting Longitude, latitude and Radius (distance) to XYZ (spherical coordinates) ‏

2010-08-13 Thread Favre Jean
I was trying the same exercise for fun, and I got it done with a Python Programmable Filter. When you import math, you also get math.pi Here is how I did it: 1) generate a structured grid with a programmable source and your given bounds 2) remap its coordinates with a programmable filter

Re: [Paraview] Coastline data for Paraview

2010-08-16 Thread Favre Jean
The file political.vtp from the VTKData directory has bounds between [-180, 180], [-90, +83], [0,0] and can be transformed to a spherical representation with the filters proposed last week. It has country names and regions and works well with the spreadsheet selection in paraview.

[Paraview] pvbatch hanging in parallel after WriteImage?

2010-08-19 Thread Favre Jean
i am having difficulty with pvbatch - compiled with Mesa 7.6 - running in parallel and hanging after the first WriteImage in my python scripts. I have tested several compilations on different clusters, several MPI (mvapich and openmpi) and still cannot make this work. It writes the first

[Paraview] XYPlotView issues

2010-08-24 Thread Favre Jean
Hello I am seeing a couple of difficulties in using the XYPlotView in python and pvbatch, using ParaView head (3.9) How does one specify the size of the image saved? By default, I get a 300x300 pixels image and that is not good enough, since the legend takes over much of the space. I did not

Re: [Paraview] Time dependent data : timestep read from file

2010-09-01 Thread Favre Jean
May I suggest the following syntax? use a file with suffic .pvd and describe the collection with the following list. You may specify all timestep values explicitly VTKFile type=Collection version=0.1 byte_order=LittleEndian Collection DataSet part=0 timestep=0 file=td_0.vtu/

Re: [Paraview] List to select zones in object panel for a custom reader

2010-09-01 Thread Favre Jean
Why is this any different from array-selection already provided by many readers? --- In my mind, it is quite different. At least for CFD applications, where a hierarchy of blocks is the general case. 2 cents from my side Jean ___ Powered by

Re: [Paraview] Animating camera in batch mode

2010-09-03 Thread Favre Jean
I would like to be able to orientate the camera whilst running batch scripts for generating animations, as you can do in interactive mode. However, I'm stuck on what to use for the AnimatedProxy. I tried the following and I get an error message: #move

Re: [Paraview] Get Data Ranges in Python

2010-09-09 Thread Favre Jean
From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] On Behalf Of Tim Mardall [...@mardall.info] Sent: Thursday, September 09, 2010 5:32 PM To: paraview@paraview.org Subject: [Paraview] Get Data Ranges in Python Hello, If I select an item

Re: [Paraview] mapping unstructured grid onto regular grid

2010-09-11 Thread Favre Jean
___ I would like to map an unstructured grid (describing particle data with per particle attributes I would like interpolated onto the regular grid) onto a regular mesh. I am trying to use the 'Resample With Dataset' filter but have not been having much luck.

Re: [Paraview] contour programmable filter

2010-09-25 Thread Favre Jean
Using the maximum value of any scalar field as the threshold for an isosurface will always give a null object. In fact, the smallest isosurface you could ever construct is a single triangle, intersecting 3 edges connecting one vertex greater than your threshold, and three other vertices below

Re: [Paraview] contour programmable filter

2010-10-06 Thread Favre Jean
The use of a programmable filter is perhaps more than you actually needed, now that you know how to get the range of the input. I would start simply with the Python shell, create a contour and create its representation like this: SetActiveSource(Input) # set your input here, if not already

[Paraview] vtkClientServerStream::InsertArray(temp20,4)

2010-10-23 Thread Favre Jean
Hi all I have the following definition for a home-made reader where I wish to pass 5 integers back to my python client. IntVectorProperty name=Windices command=GetWindices number_of_elements=5 default_values=0 0 0 0 0 information_only=1

Re: [Paraview] dashboards run with installed version?

2010-10-27 Thread Favre Jean
Turning PARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES to OFF fixes my install issue. Thanks for the tip. btw, is there any reason the hdf5 libs get installed in /fullpath/lib instead of /fullpath/lib/paraview-3.9? There are the only libs being installed one level up (from the rest). Thanks Jean

Re: [Paraview] SC10 CoProcessing example

2010-11-16 Thread Favre Jean
From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] On Behalf Of Andy Bauer [andy.ba...@kitware.com] Hi Chris, I just fixed the formatting for the python code snippets. As you noticed there were problems of tabs and spaces intermixed

[Paraview] reading a stack of TIFF images

2010-11-17 Thread Favre Jean
Hi there this afternoon, I was asked to read a stack of TIFF images in ParaView. Well, I search the archive mailing list, tried different things which led me nowhere, and could not find a solution out of the box. I then worked on a Python script which now works very well for our purpose. I

Re: [Paraview] reading a stack of TIFF images

2010-11-18 Thread Favre Jean
I suggest you look at readers.xml and look as the example for the PNGSeriesReader http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Servers/ServerManager/Resources/readers.xml Note also that both the PNG and the JPEG readers are enabled as FileSeries. But one must understand the difference

Re: [Paraview] reading a stack of TIFF images

2010-11-18 Thread Favre Jean
[Please keep the discussion in the mailing list so that others can benefit from it.] The answer to the question raised below is that my PYTHONPATH includes both: /local/apps/ParaView3Build/Utilities/VTKPythonWrapping/site-packages and /local/apps/ParaView3Build/VTK/Wrapping/Python I tried

Re: [Paraview] Animate over files named by date time?

2010-12-10 Thread Favre Jean
use the python shell within paraview the following pseudo-code will get you almost there import glob files = glob.glob('foo_*.hdf') files.sort() # open the first file, set up your visualization, then get the object handle reader = FindSource('foo_1995-03-21T01-00-00.hdf') for i in files:

Re: [Paraview] Re : Re : Bug with CellDataToPointData and vtkMultiBlockDataSet ?

2010-12-13 Thread Favre Jean
I have large multi-level hierarchies of vtkMultiBlockDataSet with FieldData and I have tried to reproduce what you describe as a bug and was not able to do so. My FieldData was cleanly copied (passed over) when using PointDataToCellData followed by CellDataToPointData. My only idea is that

Re: [Paraview] Python questions

2011-02-10 Thread Favre Jean
Hello James I don't believe this is a bug. I have used the ProgrammableSource and was able to render a grid without any difficulty. What is missing in your procedure is most likely setting the WholeExtent. try loading this script and you'll get a rendered image paraview --script=state.py

Re: [Paraview] File-Save Data from python

2011-02-23 Thread Favre Jean
w = CSVWriter() w.FileName = /local/data/tmp/foo.csv #s1 should be of type Table w.Input = s1 w.UpdatePipeline() - Jean M. Favre Swiss National Supercomputing Center ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [Paraview] Providing block names within .vtm files

2011-03-25 Thread Favre Jean
I believe the functionality is missing. I have looked for it for many years. I just put together a quick hack, which seems to work fine for me. No exhaustive testing was done. It works for my test data, which are multi-blocks of multi-blocks. It could be generalized to multi-pieces too. I'll

Re: [Paraview] accessing additional options on PV filter

2011-04-20 Thread Favre Jean
The Python shell can work. get your object: C = FindSource('Connectivity1') c.ListProperties() c.ColorRegions = 0 # or 1 c.ExtractionMode = 4 # or 5 all other values 1,2,3 require an additional list of seeds or options which are not available via python - Jean M. Favre Swiss

Re: [Paraview] load state from python

2011-05-18 Thread Favre Jean
GetRenderView() actually creates a second view, and it is empty. That is what you see being rendered. to get the existing view after reloading your state, I suggest using SetActiveView(GetRenderViews()[0]) Render() and you will get your cone and your sphere. - Jean M. Favre

Re: [Paraview] Issue with vtkStructuredGrid and ParaView

2011-06-09 Thread Favre Jean
Sounds like you are missing something like grid-SetWholeExtent(0,i-1, 0, j-1, 0, 0); - Jean M. Favre Swiss National Supercomputing Center ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] Help getting resetting cameras between batch viz runs

2011-09-02 Thread Favre Jean
min,max = slice.PointData[0].GetRange() try this: slice. GetDataInformation().DataInformation.GetBounds() Jean CSCS ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] How does one rescale CSVReader data via pvpython?

2011-09-15 Thread Favre Jean
Greg, I would not use Fetch to do what you need. Here is something that should work: # reuse your wake_out proxy di = wake_out.GetDataInformation() rowInfo = di.GetRowDataInformation() # get largest magnitude value from column 2 rowInfo.GetArrayInformation(1).GetComponentRange(0)[1] #You

Re: [Paraview] How does one rescale CSVReader data via pvpython?

2011-09-16 Thread Favre Jean
Greg, sorry if I did not explain fully. After reading your data, it is the active source. if you instantiate a ProgrammableFilter (PF), it takes wake_out as its input. But you can also set it explicitly as the source. inside the PF, you have VTK objects, so you can use VTK methods. Here is a

[Paraview] Creation of new proxy vtkSMFileSeriesReaderProxy failed

2011-10-03 Thread Favre Jean
Hello List I am checking my private plugins, (compiled, and tested successfully under 3.10) under the RC2 for v3.12. Configuration, compilation show no warnings or errors. When loading manually, paraview crashes with the following message: Plugin's signature: paraviewplugin|GNU|3.12 Plugin

Re: [Paraview] Problem with Pyton-Script: GetDisplayProperties fails...

2011-10-10 Thread Favre Jean
The culprit is not dp, but src GetActiveSource() most likely returns nothing use FindSource(name), or GetSources() - Jean M. Favre Swiss National Supercomputing Center ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [Paraview] Doubt regarding the installation of Paraview in Unix like systems.

2011-10-26 Thread Favre Jean
The FindGIT.cmake file is only available with cmake version 2.8.5 or above. you are using cmake version 2.6.4 and you need to upgrade to a newer cmake. Jean CSCS ___ Powered by www.kitware.com Visit other Kitware open-source projects at

[Paraview] crash with D3?

2011-11-21 Thread Favre Jean
Hello List after the migration from 3.10 to 3.12, we are experiencing crashes with D3 when using Duplicate cells and I wonder if anyone has had issues. I filled up a big report already a couple of weeks ago, but did not see any message relating problems.

[Paraview] crash when computing distributed streamlines with threshold

2012-01-06 Thread Favre Jean
Hello all I have been fighting all afternoon with a crash, which I can now avoid, or replicate on demand. Here is the scenario, a simple pipeline to do streamlines, runing with 16 pvservers, so everything is parallel. (version 3.12) XDMF reader - vector field omega is read Calculator -

Re: [Paraview] Download ParaView web page

2012-03-07 Thread Favre Jean
this is the URL I use: http://paraview.org/files/v3.14 - Jean ___ 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

Re: [Paraview] Can't change cube axes color

2012-05-29 Thread Favre Jean
I am seeing this bug too with my own compilation. Has there been a patch issued for it? TIA Jean ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

[Paraview] collaboration multi-clients

2013-02-11 Thread Favre Jean
Hello folks what is the status of the multi-clients support in 3.98? I have tried different hosts, different setups and it always results in crashes, seg faults. I wanted to know if this is related to my setup, or some known issues.? The wiki page

[Paraview] connectivity of partitioned unstructured grid

2013-02-22 Thread Favre Jean
Hello I have an hexahedral grid, in a *vtu file. When read on a local client, the Connectivity filter *correctly* detects that there is a single region (with Extract All Regions). The same *vtu file, when read in parallel, shows multiple regions, with *some* region boundaries matching

Re: [Paraview] [EXTERNAL] Geometric center of Dataset

2013-03-29 Thread Favre Jean
If you are looking for the Centroid of the dataset, then I would propose 3 lines of python in a Programmable Filter, using numpy's mean. Cut and paste in the script section of a PF: from paraview.vtk.dataset_adapter import numpyTovtkDataArray coords = inputs[0].Points print mean(coords)

[Paraview] vtkProbeFilter in Programmable Filter

2013-04-05 Thread Favre Jean
Hello where did the vtkProbeFilter go in 3.98? I cannot reproduce the example of the User Guide http://paraview.org/Wiki/index.php?title=ParaView/Users_Guide/Python_Programmable_Filter I need to use a Programmable Filter with a vtkProbeFilter to do an azimuthal average, giving it a circle

[Paraview] Call for Papers: 18th International Workshop on Vision, Modeling and Visualization

2013-04-10 Thread Favre Jean
CALL FOR PAPERS VMV 2013 18th International Workshop on Vision, Modeling and Visualization September 11-13, 2013 Lugano, Switzerland Paper Submission Deadline: June 21, 2013 vmv2013.inf.usi.ch In Cooperation with Eurographics Association The VMV workshop series, which covers the fields of

[Paraview] ParticlesPathes too short?

2013-04-16 Thread Favre Jean
Hello there, I have a time-dependent dataset with 1467 timesteps, going from t=0.0 to t=7.3 with fixed increments of 0.005 seconds I am only partly successful in using ParticlePath. The pathes drawn are too short. I have seen the previous postings but did not find much help. Even though I set

[Paraview] Multiple GPUs Per Node

2013-09-30 Thread Favre Jean
I read on the wiki about a script to execute and display the hostname and DISPLAY of each rank of a parallel pvserver job. import os import subprocess display = os.getenv('DISPLAY') hostname = subprocess.Popen(['hostname'], stdout=subprocess.PIPE).communicate()[0].strip() print hostname,

Re: [Paraview] Multiple GPUs Per Node

2013-09-30 Thread Favre Jean
Bingo! using '/bin/hostname' did the trick. thanks Utkarsh. - Jean ___ 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

Re: [Paraview] A thank you...

2013-12-02 Thread Favre Jean
I'd be interested to know if your simulation uses a Yin-Yan grid configuration and if you have a native reader for it, or if you are using a different grid setup, maybe icosahedron, or tetrahedron, etc... I have worked with scientists doing similar simulations of mantle convection with the

[Paraview] OpacityTableValues

2014-01-07 Thread Favre Jean
I am using the RC2, but am puzzled by the following: I can run paraview and create a sphere, and in the python shell, I do this (without any problem) s = FindSource('Sphere1') dp = GetDisplayProperties(s) dp.OpacityTableValues I use save state and the python code sets OpacityTableValues if

Re: [Paraview] OpacityTableValues

2014-01-07 Thread Favre Jean
Utkarsh you are right about OpacityTableValues coming from the PointSprite plugin. What really caught me is the fact that my script only works if I load the PointSprite plugin last. I used to have the following lines (which create the error)

Re: [Paraview] OpacityTableValues

2014-01-07 Thread Favre Jean
cut and paste error in my previous mail: I used to have the following lines (which create the error) LoadPlugin(/local/apps/ParaView-v4.1.0Build/lib/libPointSprite_Plugin.so, ns=globals()) LoadPlugin(/local/apps/ParaView-v4.1.0Build/lib/libH5PartReader.so, ns=globals()) I then reverted the

[Paraview] ParaView 4.1.0 server-side reader plugin

2014-01-16 Thread Favre Jean
Nice work on releasing 4.1! Thanks to all. I read with interest the discussion about server-side plugins, and modified my custom plugins accordingly. http://www.kitware.com/blog/home/post/594 installed a windows 64-bit pre-compiled, connected to my server, and indeed, I can visualize custom

[Paraview] error loading server-side plugin

2014-03-11 Thread Favre Jean
Folks I have a paraview installed on a server, without the GUI compiled, i.e. only pvserver, and pvbatch. Without any error, I can use my desktop pvpython, and do from paraview.simple import * paraview version 4.1.0 Connect(pilatus25.abc.abc.ch) Connection (cs://pilatus25.abc.abc.ch:1) [2]

[Paraview] reverse connect from python?

2014-03-14 Thread Favre Jean
Hello I have some reverse-connect configurations running very smoothly from the paraview GUI. I would now like to add the Connect() call in my python scripts to make everything fully automatic, but cannot find out if it is possible.

Re: [Paraview] Need Programmable Source Help

2014-03-28 Thread Favre Jean
Josh you'll find details here: http://paraview.org/Wiki/ParaView/Simple_ParaView_3_Python_Filters I am guessing that what you really want to create is a regular cartesian grid your example, would look like that: Get a programmable Source Set the output type to vtkImageData fill in the Script

[Paraview] Manage Plugin issues with auto-load

2014-05-15 Thread Favre Jean
hello I have multiple production machines where PV is installed, some with GPUs, some with mesa-rendering. Even so, operating systems differ on the different machines. The problem I have is that PV is installed in application directories on a filesystem shared by all production machines. And

Re: [Paraview] paraview HDF5/XDMF: how to control memory usage?

2014-06-10 Thread Favre Jean
Allow me to add my 2 cents to this thread, since Dave talks about a new generation xdmf reader/writer in the making. I too use a series of files for each timestep ( one XMF file and one HDF5 file per step), since I have discovered that creating temporal collections does not work correctly if

Re: [Paraview] CRAY building with cray-mpich2

2014-07-01 Thread Favre Jean
We're running ParaView on our Cray XC30, with GPU rendering here's my cmake line: cmake -DMPI_C_COMPILER=/opt/cray/craype/2.1.0/bin/cc -DMPI_CXX_COMPILER=/opt/cray/craype/2.1.0/bin/CC -DMPI_CXX_LIBRARIES=/opt/cray/mpt/6.3.0/gni/mpich2-gnu/48/lib/libmpichcxx.so

[Paraview] PointSprite seg faulting in client-server mode

2014-07-03 Thread Favre Jean
Hi there I am using PV4.1 on a GPU-based machine, in client-server mode (remote render threshold=0). LIC, as another example of a GPU-enabled representation, works fine. But when I try the PointSprite plugin, I get a seg fault. I even tried a single task pvserver, and it always seg faults. my

Re: [Paraview] PointSprite seg faulting in client-server mode

2014-07-04 Thread Favre Jean
here is a follow-up. I installed the latest git checkout on our Cray, and I can now do Point Sprite rendering. I tested with 8.5 billion particles on 128 GPUs. I still see some error message, but it is not breaking and not stopping me. That error message comes from the client on my desktop.

Re: [Paraview] connectivity errors

2014-07-09 Thread Favre Jean
I had the same crash yesterday on our Cray XC30 while connecting a 4.1 client with a 4.2 server. Everything worked fine (i.e. I am now using the latest git checkout) after I updated both sides. - Jean CSCS ___ Powered by

Re: [Paraview] Python Scripting - Slicing Data

2014-09-17 Thread Favre Jean
I'd recommend you use the Trace tools to see how to write the python code. Get your data, apply the slice filter, and see how its arguments are set. you'll end up with something like: data = PhastaReader(FileName=view.pht) Show(data) slice = Slice(Input=data) slice.SliceType = 'Plane'

Re: [Paraview] compiling ParaView v4.2.0-RC1-75-gf64ee7a with -DModule_vtkIOXdmf3:BOOL=ON

2014-09-17 Thread Favre Jean
thanks for the tip. I got the new reader compiled, but I am disappointed to see that it crashes immediately on my existing data (which can be read in parallel, with the old xdmf2 reader). ERROR: In /apps/pilatus/ParaView/src/ParaView/VTK/Common/Core/vtkDataArrayTemplate.txx, line 148

Re: [Paraview] PV 420 unable to read state file from PV 410

2014-10-01 Thread Favre Jean
as discussed with Utkarsh, this is most likely related to a bug about structured extents in version 4.2 I created a reproducer and filled a bug http://www.paraview.org/Bug/view.php?id=15022 - Jean/CSCS ___ Powered by www.kitware.com

[Paraview] reading time series of PLY files

2015-01-12 Thread Favre Jean
Hello List I cannot find information about reading a collection of binary time-dependent PLY files. My files are numbered with leading zeroes and *.ply extension the GUI shows me filename-00* but ParaView does not recognize the series as a time collection. It only shows the first file.

[Paraview] Find Data at first timestep to use as selection

2015-03-03 Thread Favre Jean
Hi there I have particle data, which I read with the H5PartReader plugin I need to extract the particles whose distances from an x axis offset are within a given threshold on the first timestep, and then follow only these as time goes on. the first thing is trivial. I use a python calculator

Re: [Paraview] Python script - change font color

2015-02-26 Thread Favre Jean
#Suppose you're displaying a variable called scalar scalarLUT = GetColorTransferFunction('scalar') view = GetRenderView() sBAR = GetScalarBar(scalarLUT, view) sBAR.LabelColor=[0.,0.,0.] Render() - Jean/CSCS ___ Powered by

Re: [Paraview] .cube files in pvbatch

2015-01-30 Thread Favre Jean
try this: bk2_cube = GaussianCubeReader( guiName=bk2.cube, FileName='/sandbox/bk2.cube' ) contour1 = Contour(Input=servermanager.OutputPort(bk2_cube, 1)) - Jean/CSCS ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [Paraview] numpy-ParaView for surface

2015-04-14 Thread Favre Jean
The same example can be trivially done in ParaView using a ProgrammableSource programmableSource1 = ProgrammableSource() programmableSource1.OutputDataSetType = 'vtkImageData' programmableSource1.Script = 'import numpy as np\nimport zipfile\n\nexecutive = self.GetExecutive()\noutInfo =

Re: [Paraview] Do Paraview support the parallel of ply file ?

2015-04-17 Thread Favre Jean
I have just a few days ago gotten to the same conclusion. Reading some large PLY files on our Cray nodes which only have 32Gb of memory, I would run out of memory and crash. Checking memory usage with the Memory Inspector will show that everything is loaded on rank 0. Using the D3 filter

Re: [Paraview] [Xdmf] Fwd: Problem with opening Xdmf file in Paraview

2015-06-23 Thread Favre Jean
you have one error in the definition of the topology. the first line wrongly defines the Dimensions as 54653 4 Topology Dimensions=54653 4 TopologyType=Tetrahedron the correct syntax is: Topology Dimensions=54653 TopologyType=Tetrahedron as in: Topology Dimensions=54653

[Paraview] SC '15 Scientific Visualization Showcase

2015-08-10 Thread Favre Jean
Folks, there has been several requests to push the deadline for submission of the Supercomputing`15 Scientific Visualization Showcase; A new and final deadline for submission has been set to 2015-08-21 23:59, AOE see details at;

[Paraview] CFP: SC '15 Scientific Visualization Showcase

2015-07-27 Thread Favre Jean
Folks We have some great news. The deadline for submission has been pushed back to August 7. Take advantage of the extra time to submit the best visualizations ever. Jean, SC15, Scientific Visualization Showcase Chair From: ParaView

Re: [Paraview] running parallel pvservers

2015-07-24 Thread Favre Jean
putting the following code in your ScriptRequestInformation should tell ParaView that you can handle sub-divisions: executive = self.GetExecutive () outInfo = executive.GetOutputInformation(0) outInfo.Set(vtk.vtkAlgorithm.CAN_PRODUCE_SUB_EXTENT(), 1) it is then up to you, to correctly handle

Re: [Paraview] Time Steps - possible bug?

2015-09-10 Thread Favre Jean
>> Sources -> Programmable Source -> Choose vtkTable as Output Data Set Type Programmable Sources have no input. What you probably wish to use is a Programmable Filter Jean/CSCS ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [Paraview] Can ParaView create "envelope" or cumulative maximums?

2015-12-04 Thread Favre Jean
Incidentally, I tried to achieve this with a Python programmable filter since that was Alan's question. I did not succeed. I am removing the TIME_STEPS() and TIME_RANGE() in the RequestInformationScript script. I am setting a different UPDATE_TIME_STEP() at each iteration of the

Re: [Paraview] Extracting a block from a vtkMultiBlockDataSet in Paraview (Bug?)

2015-11-25 Thread Favre Jean
You are missing a RequestInformation Script to indicate the dimensions of the grid you wish to create. Set the type of the Output Data to "vtkStructuredGrid" you will need, at the minimum, the following two sections of python code in the "Script" mbds = inputs[0] block0 = mbds.GetBlock(0)

Re: [Paraview] netcdf-4 structured grid in paraview

2015-12-01 Thread Favre Jean
I have tested the following solution which consists in using a Python programmable filter, copying the non-spatial data attributes, and creating a new coordinate array with the spatial attributes (x, x and z) see the included python code. I suggest using ParaView 4.4 or 5.0RC1. Note that the

Re: [Paraview] netcdf-4 structured grid in paraview

2015-12-01 Thread Favre Jean
What you need can be simply implemented with a Python Programmable Filter, extracting the 3 coordinate arrays from the PointData fields, making a vector with algs.make_vector(), assigning it to output.Points, and appending all the other attributes from inputs[0].PointData if you supply a small

Re: [Paraview] use pv-meshless

2016-06-08 Thread Favre Jean
My advice is that you use the new features of ParaView master branch. it includes new SPH interpolators under the Category "Filters->Point Interpolation". You have the choice to sample you rPSH points onto a high resolution 1D line, a 2D cutting plane, or a 3D volume. - Jean/

Re: [Paraview] use pv-meshless

2016-06-08 Thread Favre Jean
>>Could you give me any recommendation? yes, I can: see Utkarsh's posting: << ParaView 5.1.0-RC1 has been tagged. Git tag name: v5.1.0-RC1 Source tar/zip files are available for download: http://www.paraview.org/download/ Binaries will be available for testing within the next few days.

[Paraview] GenerateGhostArray in a programmable source

2016-02-22 Thread Favre Jean
I am prototyping an AMR output, using programmable source. having trouble setting up the GhostArray. The following returns None: grid0 = vtk.vtkUniformGrid() grid0.GenerateGhostArray(exts, True) ga = grid0.GetCellGhostArray() I am setting it this way instead of using vtkAMRBox because my

Re: [Paraview] Paraview 5.0.0 with OSPRray plugin ...

2016-01-27 Thread Favre Jean
I checked out ospray release-0.9, and the dev branch of pvOSPRay and do not have issue other than the high memory cost. - Jean/CSCS ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] Cut plane average velocity over time

2016-02-16 Thread Favre Jean
>> I would like to get an average over an entire cut plane (over time). David This sounds like a perfect case for a Python Programmable Filter, looping over timesteps, accumulating data, doing the average, and setting it as a new field. Here is a script I have tested on a single block of data

  1   2   >