Re: [Paraview] ParaView parallel - CPU-exhaustion

2010-07-02 Thread Natalie Happenhofer
Thanks a lot. Actually, I tried now to start the pvserver with mpirun -np 4 -mca mpi_yield_when_idle 1 pvserver , but I did not observe any differences to mpirun -np 4 -mca mpi_yield_when_idle 0 pvserver in the CPU-usage. Greets, Natalie From: kmo...@sandia.gov To: natalieh...@hotmail.com;

Re: [Paraview] Compute gradients

2010-07-02 Thread Aurélien Marsan
Here an example to compute the gradient of var, and store the result as new_var. g = vtk.vtkGradientFilter() g.SetInput(Bloc) g.SetInputScalars(0, var) g.SetResultArrayName(new_var) g.Update()

Re: [Paraview] Compute gradients

2010-07-02 Thread Adriano Gagliardi
Thanks! My mistake was in this line: g.SetInputScalars(0, var) I was using 1 instead of 0 as I was getting the enum from vtkDataSet rather than vtkDataObject, which is why it couldn't find my variable (it was looking for cell data rather than point data). Confusion on my part (partly due to

Re: [Paraview] Open a bit image with Paraview

2010-07-02 Thread Eric E. Monson
Hey Samer, Part of my point was that I had trouble loading data into ParaView, so I was creating it within PV to see how it handled bit data. It looks like you are right that the legacy VTK format supports bit attributes, so that may be your best bet for trying to get your data into PV. There

[Paraview] Add logo to animation

2010-07-02 Thread Carolyn Stancoff
I would like to add a logo to my animation. Is there a way in ParaView to do that? Thanks, Carolyn ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [Paraview] Add logo to animation

2010-07-02 Thread Sandeep Rana
I am not sure about that in the Paraview but you can use imagemagick, an open source image manipulation tool for linux. You can find more information for how to add logo here http://ubuntubee.blogspot.com/2008/02/imagemagick-great-tool-for-batch-image.html Good luck! Sandeep On Fri, Jul 2, 2010

[Paraview] Fail to build vtkPythonCore, ApativePlugin, _Xdmf on Windows764bit MSVC2010

2010-07-02 Thread Dr. X
On 7/2/2010 12:21 PM, Dr. X wrote: Hi Robert and all, After a couple of hundreds of mouse clicks to reload the externally modified projects in MSVC2010, I got paraview.exe finally in my build/bin/Debug directory. Now I still have 7 failed projects. The errors are listed below.

Re: [Paraview] Fail to build pqApplicationComponents in ParaView3.8.0 on Windows764bit MSVC2010

2010-07-02 Thread Robert Maynard
Hi, Currently Adaptive and Streaming ParaView do not compile on Windows. I am currently working on fixing this issue. On Fri, Jul 2, 2010 at 12:21 PM, Dr. X xun...@renci.org wrote: Hi Robert, After a couple of hundreds of mouse clicks to reload the externally modified projects in MSVC2010,

Re: [Paraview] multiple windows in pvpython

2010-07-02 Thread pat marion
Hi, As Utkarsh said, there is no paraview api to position the windows, but you can get the vtkRenderWindow and set the position like this: window = view.GetRenderWindow() window.SetPosition(450, 0) Pat On Thu, Jul 1, 2010 at 5:09 PM, pat marion pat.mar...@kitware.com wrote: To manipulate the

Re: [Paraview] Add logo to animation

2010-07-02 Thread Utkarsh Ayachit
It is possible to set a background image in paraview. Create a large image with a log at one corner and then set that as the background image. Go to Edit | View Settings to change the background image. Utkarsh On Fri, Jul 2, 2010 at 11:44 AM, Carolyn Stancoff cstanc...@gmail.com wrote: I would

[Paraview] Missing python26_d.lib for _Xdmf on Windows764bit MSVC2010

2010-07-02 Thread Dr. X
Hi Robert, Then I guess my ParaView is pretty done building except the missing python26_d.lib for _Xdmf. Any idea on that? Best, x On 7/2/2010 1:19 PM, Robert Maynard wrote: Hi, Currently Adaptive and Streaming ParaView do not compile on Windows. I am currently working on fixing this

[Paraview] Problem with Compute Derivatives Filter

2010-07-02 Thread Mohamad M. Nasr-Azadani
Hi all, I am trying to compute the vorticity vector from a 2D dataset. My dataset file is .vtr format. This is what I do: Calculator: to get u_vector = ux*iHat + uy*jHat Compute Derivatives: to get Vorticity As soos as I press Apply, Paraview crashes without any error. I have used several