Re: [Paraview] VR-Plugin (VRPN connection) linker error

2012-12-04 Thread Stephan Rogge
Hello,

@David:
thank you very much for that hint. The linker error is gone :-).

@Aashish:
We have a Virtual Environment with two back-projected walls. Each wall (2.6 m x 
1.625 m) is lit by two projectors for stereoscopic presentations. Furthermore 
we use an infra-red tracking system from A.R.T with their VRPN server 
implementation to provide ParaView with tracking data. Beside a head target we 
use a so called Flystick. It has 6 DOF pose data, a small joystick and 6 
Buttons and want to use to manipulate the view. 

The head tracked representation of a ParaView scene is really great. We have 
increased the depth perception, by building a virtual (background) scene. It is 
basically a room which extends the back projection space in, so the user seems 
to look through a window in room. This virtual scene is the starting point for 
building visualizations. Usually, our visualizations floating at the center of 
that room. The downside of this approach is to scale down large objects to fit 
in the view space which is not a big deal in our case. Another drawback is that 
we cannot use the camera manipulation. Rotating the camera would lead to a 
rotation of the entire scene (including the virtual background). 

Unfortunately, the current styles are limited to manipulate the virtual camera 
transformation, rather than single objects. But I saw in git that the geometry 
representation API has been extended to provide access to its transformation. 
Is it planned to have a VR style which manipulates the transformation matrix of 
a geometry object directly?

Cheers,
Stephan



Von: Aashish Chaudhary [mailto:aashish.chaudh...@kitware.com] 
Gesendet: Montag, 3. Dezember 2012 16:39
An: Stephan Rogge
Cc: paraview@paraview.org
Betreff: Re: [Paraview] VR-Plugin (VRPN connection) linker error

Hi Stephan,
On Mon, Dec 3, 2012 at 6:19 AM, Stephan Rogge stephan.ro...@tu-cottbus.de 
wrote:
Hello,

I’ve tried recently the new VR-Plugin with GUI support and I have to say at 
first: Thank god for having a GUI to configure VR(PN) related things.. ☺ 
Furthermore, I want to give a small advice: During linking of that plugin a 
linker error occurs. It says that

“pqSaveStateReaction::saveState();” and “pqLoadStateReaction::loadState();”

cannot be linked (missing symbols).

Thanks for bringing this up. Dave already replied to your email. We are in the 
final stage of pushing the best VR Plugin in next few weeks. Our goal is to 
create best user experience possible given our funding and time constraints. 
Could you please tell us more on how you are using the VR Plugin?

Thanks,
  


Platform: Windows 7 64Bit
Source: git master
Qt: 4.8.1 (64 Bit, VS 2008)
Compiler: VS 2008 64 BIt
VR-Plugin: VRPN enabled


Cheers,
Stephan


___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




-- 
| Aashish Chaudhary 
| RD Engineer 
| Kitware Inc.
| www.kitware.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 the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] trigger a custom panel function/slot after apply button

2012-12-04 Thread Felipe Bordeu

Hello,

I have custom panel (c++filter), and I want to recover some data from 
the filter AFTER the filter is applied.
for example, set a position in the custom panel, Apply button, search 
the closest point in the input mesh, and (this is the difficult part), 
show the point position in the panel.


I tried something like  this in my panel but it does not work.

QObject::connect(this , SIGNAL(onaccept()), this, SLOT(finish()));

Is there a way to trigger a slot/ function in the panel after the filter 
has finished. 


Thanks
Felipe



--
Felipe Bordeu Weldt
Ingénieur de Recherche
-
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
felipe.bor...@ec-nantes.fr
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-

___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] remove opengl windows when using python script

2012-12-04 Thread Sebastien Jourdain
Hi,

you need to build ParaView/pvpython with OSMesa.

Seb


On Mon, Dec 3, 2012 at 6:12 AM, hicham mach hicham.m...@gmail.com wrote:

 Hi,

 I use PV with a python script for the post-treatment of large range of
 data and save several images.
 My problem is that when I run my python script in an IDLE, for each saved
 image an OpenGL window is opened.
 I tried view.UseOffscreenRenderingForScreenshots = 0  to get rid of these
 windows, but without success.

 Does anyone know how i can remove these windows?

 PS : I’m using PV 3.12.0 in Windows Seven

 Thanks in advance!

 ___
 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 subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview


___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Volumetric glyph

2012-12-04 Thread nsk nsk
Hi,

A really simple question: is there a way to produce volumetric glyphs (i.e
glyph that can be clipped)?
Cheers,

Nick
___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Trying to run the servers on parallel

2012-12-04 Thread Sebastien Jourdain
Hi Kevin,

How good is your network between the remote PC that execute pvserver and
your client computer that run paraview ?
How big is your data ?
What type of data is that ? Structured or unstructured ?
Did you try to run pvserver on that very same machine without using MPI ?
Does that change anything ?
Did you try to go in ParaView/Edit/Settings and compare local rendering
vs remote rendering performance ?

Seb


On Mon, Dec 3, 2012 at 4:18 PM, Kevin Hackel kevin.hac...@online.de wrote:

   Hello community,

 This is my first e-mail to the mailing list, so I hope I do it right :-)
 And sorry for my english, I try my best to make my mail understandable. If
 you can I would be pleased if you answer in german. Also I want you to know
 that I haven’t a great knowledge about informatics.

 Well I try to use Paraview on parallel, but I think it doesn’t work right
 how I do it.
 I use a remote PC on which I will run the Paraview client and a extern
 server with up to 48 CPUs and good GPUs.
 So I start the server using “mpirun –np ‘number’ ../pvserver” or “mpirun
 –np ‘number’ ../pvserver –display localhost:0” (my Paraview is compiled
 with openmpi on a linux system). Then I connect over the remote PC in
 Paraview to this server (client/server mode).
 It works, but not well. I’ve got test data (about 1GB) and it takes about
 two minutes to change for example the filter from outline to wireframe.
 Also when I want to move the image with drag and drop it takes about five
 seconds to rerender it. I think for only 1GB it takes too long for doing
 this.
 Also I’m not sure if my server uses its GPUs or only its CPUs, I don’t
 know how to find it out.
 Would it be better to use my remote PC only as a display?
 Could you tell me how Paraview scales with  the number of data sets and
 number of processes. Should I use ‘x’ processes to load ‘x’ data sets? Or
 is it better to use more processes than data sets (for example: Would it be
 better to use 8 processes for loading 6 data sets than using 6 processes?)
 Is there another way how I could start my server that it will work better?
 Or what can I change that it will work better?

 I hope you can help me a little bit and give me tips how I should use
 Paraview on parallel. Thanks.


 Greetings,

 Kevin

 ___
 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 subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview


___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] ParaView will not start in multi-core mode

2012-12-04 Thread Sebastien Jourdain
Hi Josh,

which MPI are you using locally ? Do you know if it is the same as the one
we compiled ParaView with ?
http://paraview.org/Wiki/ParaView/Binaries#ParaView-3.98.0

Thanks,

Seb


On Mon, Dec 3, 2012 at 11:06 PM, Joshua Murphy 
joshua.mur...@lasp.colorado.edu wrote:

 Hello all,

 I am getting the following error when trying to start in multi-core mode

 Generic Warning: In
 /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMSession.cxx,
 line 266

 Failed to automatically launch 'pvserver' for multi-core support.
 Defaulting to local session.


 I can run in multicore mode if I compile the super build on my local
 machine, but the released version of 3.98 will not start.

 -Josh



 ___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers


___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Compiling error

2012-12-04 Thread David Lonie
Hi Tom,

On Mon, Dec 3, 2012 at 11:43 AM, Tom T tomt...@yahoo.com wrote:
 Hi everyone,

 I've been trying so far unsuccessfully to compile paraview and I'm not sure
 what the error message means.

 [snip]

 /scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:
 In member function ‘virtual bool
 vtkMatplotlibMathTextUtilities::StringToPath(const char*, vtkPath*,
 vtkTextProperty*)’:
 /scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:581:
 error: ‘Py_ssize_t’ was not declared in this scope

Py_ssize_t is a type defined by the python C API, but it looks like it
wasn't introduced until Python 2.5, so I'm guess that you have an
older version of python installed? What is the output of python
--version?

The matplotlib library requires python = 2.6, so if your python is
older than this, you'll need to update your python installation, or
disable matplotlib in the ParaView build by editing
CMake/VTKModules.cmake and commenting out this section (around line
350):

# Enable vtkRenderingMatplotlib for math text rendering if python is available
if (PARAVIEW_ENABLE_PYTHON)
  list (APPEND _vtk_modules vtkRenderingMatplotlib)
endif()

I'll push a patch to only enable the matplotlib module when python is
an appropriate version.

Thanks for the report!

Dave
___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Compiling error

2012-12-04 Thread David Lonie
Bug created: http://paraview.org/Bug/view.php?id=13700

On Tue, Dec 4, 2012 at 8:44 AM, David Lonie david.lo...@kitware.com wrote:
 Hi Tom,

 On Mon, Dec 3, 2012 at 11:43 AM, Tom T tomt...@yahoo.com wrote:
 Hi everyone,

 I've been trying so far unsuccessfully to compile paraview and I'm not sure
 what the error message means.

 [snip]

 /scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:
 In member function ‘virtual bool
 vtkMatplotlibMathTextUtilities::StringToPath(const char*, vtkPath*,
 vtkTextProperty*)’:
 /scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:581:
 error: ‘Py_ssize_t’ was not declared in this scope

 Py_ssize_t is a type defined by the python C API, but it looks like it
 wasn't introduced until Python 2.5, so I'm guess that you have an
 older version of python installed? What is the output of python
 --version?

 The matplotlib library requires python = 2.6, so if your python is
 older than this, you'll need to update your python installation, or
 disable matplotlib in the ParaView build by editing
 CMake/VTKModules.cmake and commenting out this section (around line
 350):

 # Enable vtkRenderingMatplotlib for math text rendering if python is available
 if (PARAVIEW_ENABLE_PYTHON)
   list (APPEND _vtk_modules vtkRenderingMatplotlib)
 endif()

 I'll push a patch to only enable the matplotlib module when python is
 an appropriate version.

 Thanks for the report!

 Dave
___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] ParaView will not start in multi-core mode

2012-12-04 Thread Joshua Murphy
Hi Seb,

I did not have any local MPI installed. 

-Josh

From: Sebastien Jourdain [sebastien.jourd...@kitware.com]
Sent: Tuesday, December 04, 2012 6:11 AM
To: Joshua Murphy
Cc: paraview@paraview.org; paraview-develop...@paraview.org
Subject: Re: [Paraview-developers] ParaView will not start in multi-core mode

Hi Josh,

which MPI are you using locally ? Do you know if it is the same as the one we 
compiled ParaView with ?
http://paraview.org/Wiki/ParaView/Binaries#ParaView-3.98.0

Thanks,

Seb


On Mon, Dec 3, 2012 at 11:06 PM, Joshua Murphy 
joshua.mur...@lasp.colorado.edumailto:joshua.mur...@lasp.colorado.edu wrote:
Hello all,

I am getting the following error when trying to start in multi-core mode


Generic Warning: In 
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMSession.cxx,
 line 266

Failed to automatically launch 'pvserver' for multi-core support. Defaulting to 
local session.


I can run in multicore mode if I compile the super build on my local machine, 
but the released version of 3.98 will not start.

-Josh



___
Paraview-developers mailing list
paraview-develop...@paraview.orgmailto:paraview-develop...@paraview.org
http://public.kitware.com/mailman/listinfo/paraview-developers


___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Reading DEM files

2012-12-04 Thread deb
Hi,

I have SRTM DEM file and I tried to open it with Paraview 3.14 on Windows. When 
I click Apply in Properties pane it failed.
Then I see there is new Paraview version - 3.98. I downloaded it, and I opened 
same file. Now clicking Apply seems like program reads the file, and data type 
is stated as Image: Uniform rectilinear grid, but without any data.

I use gdal and it shows file correctly. I can transform DEM to other format 
with gdal_translate, if some format is more acceptable by Paraview, but I'm not 
sure to which format should I transform DEM file.
Any suggestions?

Thanks

___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] new memory inspector panel documentation

2012-12-04 Thread Biddiscombe, John A.
I'm replying on this thread, but my comments are really addressed to Pat.

Having made use of the memory inspector, I have memory leaks in my reader and 
wanted to track them down.
I tried to merge in the DebugLeaksView
http://public.kitware.com/Wiki/DebugLeaksView
helper which I thought would be nice to test. Using 3.98 I encountered 
conflicts and made a patch (though the conflicts I had might be caused by 
another tweak I made locally). Anyway, attached it a new patchset to get the 
debug leaks going in 3.98

For wiki page : I had to turn on VTK_DEBUG_LEAKS (fairly obvious) and manually 
enable vtkViewsQt module or something like that.

When compiling, lots of include paths were wrong so I just hard coded them and 
manually added vtkViewsQt.lib to the link line for paraview exe.

The debug leaks window is really fabulous. I spent an hour tweaking my code and 
reduced my ref counts and spare objects by a full factor of two. Now I have no 
leaks.

Feature request : Combine memory inspector and debug leaks into a single dock 
window. (Is it feasible to view debug leaks on remote nodes? - while running 
possibly, but not at closedown I suppose).

I may have a play with the QtDebugLeaks stuff if you aren't developing it any 
more to do the dock window combination changes.

Patches attached are not very useful as the VTK stuff isn't included and it 
would only take you 2 minutes to do it yourself anyway. Mostly just wanted to 
bump this thread in case someone was going to cleanly integrate the debugleaks 
in 3.98

Thanks very much for both these memory management controls, really saved me a 
lot of work.

JB




From: Burlen Loring [mailto:blor...@lbl.gov]
Sent: 01 December 2012 21:03
To: Sebastien Jourdain
Cc: Biddiscombe, John A.; paraview@paraview.org
Subject: Re: [Paraview] new memory inspector panel documentation

Sebastien,

Thanks for putting it in the right place. This morning I've merged the new docs 
with the old in the user guide to clean it up a bit. I wasn' t sure how 
important having a consitent look was (eg dialogs/windows in mac style), so I 
left the old images in the source but commented out in case that is important 
to you guys.

Burlen

On 12/01/2012 11:51 AM, Sebastien Jourdain wrote:
Thanks Burlen,

I've moved your doc inside the User guide on the wiki.
I'll regenerate the PDF of the User Guide for the coming release which will 
include your contribution.

Thanks again,

Seb

On Sat, Dec 1, 2012 at 1:25 PM, Burlen Loring 
blor...@lbl.govmailto:blor...@lbl.gov wrote:
Just wanted to mentioned that Utkarsh and Sebastien deserve a lot of credit for 
this too. Their help is always very much appreciated :-)


On 12/01/2012 08:59 AM, Burlen Loring wrote:
Hi John, Thanks! That's great to know, very glad to hear you've found it useful.

Burlen



On 12/01/2012 03:56 AM, Biddiscombe, John A. wrote:

Burlen

The inspector is great and I've been using it extensively to monitor some of 
the big jobs I've run recently. It really helps knowing how much memory you've 
actually used on each node - and more importantly, how close you are to getting 
a job killed.

Thanks for taking the time to contribute it.

JB


-Original Message-
From: paraview-boun...@paraview.orgmailto:paraview-boun...@paraview.org 
[mailto:paraview-boun...@paraview.orgmailto:paraview-boun...@paraview.org] On 
Behalf Of burlen
Sent: 01 December 2012 01:16
To: paraview@paraview.orgmailto:paraview@paraview.org
Subject: [Paraview] new memory inspector panel documentation

Documentation for the new memory inspector panel can be found here:

http://paraview.org/Wiki/ParaView/Memory_Inspector_Panel

The new panel reports per-process usage and provides some additional debugging 
tools. It should be available in the 3.98 release.

Burlen

___
Powered by www.kitware.comhttp://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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
___
Powered by www.kitware.comhttp://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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


___
Powered by www.kitware.comhttp://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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




0002-Debug-Leaks-with-3.98.patch
Description: 

[Paraview] load obj file and display via Paraview python shell

2012-12-04 Thread Li Guan
Hi guys,

I am trying to load a wavefront obj file into paraview and display it using
only python shell scripts.

I searched online and only find
http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadOBJ
This is vtk C++ code, and I am trying to convert them to python script. I
got stuck at trying to find the correct way to initiate a
vtkPolyDataMapper... I wonder if there is some similar example to load such
model using only python shell commands.

Many thanks in advance,

Li
___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] load obj file and display via Paraview python shell

2012-12-04 Thread Pat Marion
The python code is much simpler in ParaView:

OpenDataFile('/path/to/data.obj')
Show()


For more commands, try:

help(paraview.simple)

You can also do: help(any function or variable name)

Pat

On Wed, Dec 5, 2012 at 8:15 AM, Li Guan li.9...@gmail.com wrote:

 Hi guys,

 I am trying to load a wavefront obj file into paraview and display it
 using only python shell scripts.

 I searched online and only find
 http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadOBJ
 This is vtk C++ code, and I am trying to convert them to python script. I
 got stuck at trying to find the correct way to initiate a
 vtkPolyDataMapper... I wonder if there is some similar example to load such
 model using only python shell commands.

 Many thanks in advance,

 Li

 ___
 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 subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview


___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] 3.98 MPI_Finalize out of order in pvbatch

2012-12-04 Thread Burlen Loring

Hi Kyle,

I was wrong about MPI_Finalize being invoked twice, I had miss read the 
code. I'm not sure why pvbatch is hanging in MPI_Finalize on Nautilus. I 
haven't been able to find anything in the debugger. This is new for 3.98.


Burlen

On 12/03/2012 07:36 AM, Kyle Lutz wrote:

Hi Burlen,

On Thu, Nov 29, 2012 at 1:27 PM, Burlen Loringblor...@lbl.gov  wrote:

it looks like pvserver is also impacted, hanging after the gui disconnects.


On 11/28/2012 12:53 PM, Burlen Loring wrote:

Hi All,

some parallel tests have been failing for some time on Nautilus.
http://open.cdash.org/viewTest.php?onlyfailedbuildid=2684614

There are MPI calls made after finalize which cause deadlock issues on SGI
MPT. It affects pvbatch for sure. The following snip-it shows the bug, and
bug report here: http://paraview.org/Bug/view.php?id=13690


//
bool vtkProcessModule::Finalize()
{

   ...

   vtkProcessModule::GlobalController-Finalize(1);---mpi_finalize
called here

This shouldn't be calling MPI_Finalize() as the finalizedExternally
argument is 1 and in vtkMPIController::Finalize():

 if (finalizedExternally == 0)
   {
   MPI_Finalize();
   }

So my guess is that it's being invoked elsewhere.


   ...

#ifdef PARAVIEW_USE_MPI
   if (vtkProcessModule::FinalizeMPI)
 {
 MPI_Barrier(MPI_COMM_WORLD);-barrier after
mpi_finalize
 MPI_Finalize();--second
mpi_finalize
 }
#endif

I've made a patch which should prevent this second of code from ever
being called twice by setting the FinalizeMPI flag to false after
calling MPI_Finalize(). Can you take a look here:
http://review.source.kitware.com/#/t/1808/ and let me know if that
helps the issue.

Otherwise, would you be able to set a breakpoint on MPI_Finalize() and
get a backtrace of where it gets invoked for the second time? That
would be very helpful in tracking down the problem.

Thanks,
Kyle


___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Select Cells On etc.: Remove current selection from whole selection - possible?

2012-12-04 Thread Prof. Dr. Karl-Heinz Kunzelmann

Hello to everybody,

my question today relates to the useful GUI tools Select Points/Cells 
On/Trough. I already found out that I can extend an excisting selection 
with the Ctrl-key. But I could not find something to remove a small part 
from the selection with but keep most of the selected points/cells.


In other programs (ie. ImageJ/Fiji) they use the ALT key to remove the 
current selection from the total selection but keep the rest (usually 
the boolean combinations are supported). I would assume that this is 
could be already possible with Paraview as well and I just cannot find it.


If it is not supported. Would it be a big effort to implement this feature?

Sincerely

Karl-Heinz

--
Prof. Dr. Karl-Heinz Kunzelmann
Poliklinik für Zahnerhaltung und Parodontologie
Ludwig-Maximilians-Universität München
Goethestr. 70
D-80336 München
Germany

Tel.: +49 - 89 - 51609346
homepage: www.kunzelmann.de
email:  karl-he...@kunzelmann.de
___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Union of Extract Selection ( and modification with Calculator) with all data

2012-12-04 Thread Prof. Dr. Karl-Heinz Kunzelmann

Dear all,

I use the Paraview feature Extract Selection to edit data in a subset 
of my data set. Together with Calculator this is a very handy feature 
for me (I edit surface label which are used as identifier for boundary 
conditions in a FEA program).


At present I have to save the changes (I do it as csv) and use an 
external program to replace the labels in the whole/main dataset based 
on the index numbers with my changes. This is not very convenient. I am 
sure that this can be done with the Paraview pipeline browser somehow or 
with a few python commands in the console. However, with my current 
knowledge I cannot solve this problem along and could use some advice, 
how to accomplish this.


Thanks a lot.

Sincerely

Karl-Heinz
--
Prof. Dr. Karl-Heinz Kunzelmann
Poliklinik für Zahnerhaltung und Parodontologie
Ludwig-Maximilians-Universität München
Goethestr. 70
D-80336 München
Germany

Tel.: +49 - 89 - 51609346
homepage: www.kunzelmann.de
email:  karl-he...@kunzelmann.de
___
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 subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview