[Paraview] Debugging reverse connections

2012-09-06 Thread Renato Elias
Hi everybody, I'd like to understand what is happening with a client-server connection I'm trying to create in PV-3.14.1. pvserver is running on a SGI Altix ICE compiled with OpenMPI 1.6 and Mesa library for offscreen rendering. Everything run smoothly from the compilation and installation but wh

Re: [Paraview] Debugging reverse connections

2012-09-06 Thread Utkarsh Ayachit
Renato, Here's what I get the server spewing when I run "pvserver --rc" without any client already running: -- Connecting to client (reverse connection requested)... Connection URL: csrc://miranda:1 ERROR: In /home/utkarsh/Kitware/ParaView3/ParaView/VTK/Common/Sys

Re: [Paraview] Debugging reverse connections

2012-09-06 Thread Renato Elias
Hi Utkarsh, neither an error message I get from pvserver. It just keep waiting for connection until exit due to time out... the client stays there with the "waiting for server connection" screen open and nothing happens. I'm not familiar with telnet commands but tried the following: telnet> open

[Paraview] Getting String arrays out of Field Data

2012-09-06 Thread Joshua Murphy
Hello, I have written a custom filter for Heliospheric data, and I am placing the model metadata into the Field Data section of ParaView. Many of the metadata items are strings. I can view these strings just fine in Spread Sheet view, but anytime I try to get them out of Field Data via python,

Re: [Paraview] Debugging reverse connections

2012-09-06 Thread Utkarsh Ayachit
I think that's you first clue. The fact that even telnet cannot connect back to your client machine/port indicates that something is either blocking the connection or it's just getting lost in the network. Does ping "my.ip.external.address" work from the server host? Utkarsh On Thu, Sep 6, 2012 a

Re: [Paraview] Debugging reverse connections

2012-09-06 Thread Renato Elias
Hi Utkarsh, I guess we've found the problem. The connection was really getting lost in our local network. After tweaking some servers in our lab, the things are now working. Thanks for your help! Renato. On Thu, Sep 6, 2012 at 11:58 AM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > I

Re: [Paraview] Debugging reverse connections

2012-09-06 Thread Utkarsh Ayachit
Glad to help. On Thu, Sep 6, 2012 at 11:05 AM, Renato Elias wrote: > Hi Utkarsh, > > I guess we've found the problem. The connection was really getting lost in > our local network. After tweaking some servers in our lab, the things are > now working. > > Thanks for your help! > > Renato. > > > On

[Paraview] Maximize ParaView across 3 monitors; NVIDIA

2012-09-06 Thread David Zemon
Software: Ubuntu 12.04.1 running Xfce4 Hardware: Microway 1U rack, 1 x NVidia Quadro 5000, 1 x Tesla C2050 (access to more teslas), 3 x Dells S500 projectors, 1 x totally awesome custom built immersive screen :) *Goal:* Maximize ParaView across all three monitors for seamless integration. *

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Andy Bauer
Hmm, I tried with the WholeExtent of (-100, 100, -100, 100, -100, 100) on my machine and still didn't have problems. How much memory is on your system? I'd hate to think that ParaView is that poor with memory management. If I remember correctly, we used to have nightly dashboards running valgrind.

Re: [Paraview] Maximize ParaView across 3 monitors; NVIDIA

2012-09-06 Thread Aashish Chaudhary
Hi David, I have heard that GTK 590 supports up to three monitors. http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-590/features There is an alternative via X extensions (with second GPU), it seemed to work for us couple of years ago but I am not sure the current status of it. Thanks,

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Berk Geveci
I am just starting to read this thread so I wanted to answer various questions here separately. Your assumption is correct. m = x*x will be 100% evaluated by NumPy. In theory, this should be pretty much instantaneous for ~1M elements, even for 20 timeslices. On Tue, Sep 4, 2012 at 2:20 PM, Frank

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Berk Geveci
When you have a time series, the programmable filter will work on the current time step only. So if you animate or change time through the GUI, the filter should update properly. But each execution of the filter would work only on 1 timestep. On Wed, Sep 5, 2012 at 2:56 PM, Frank Horowitz wrote:

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Berk Geveci
Given the trivial amount of data involved, I can't imagine this being a memory leak. Maybe if it hung after 10 time steps... Do you have a way of verifying that your numpy installation works properly? So for example, what happens if you do this in the programmable filter: import numpy a = numpy.ar

[Paraview] Plugin License question

2012-09-06 Thread Felipe Bordeu
Hello, In our lab we use a home made plugin to read the solutions files of ours computations. The plugin is written in c++ (using Qt for the UI, xdmf for the storage and blas for the calculations). So nothing else that the libraries downloaded during a Superbuild and Qt The question is, can I

Re: [Paraview] Maximize ParaView across 3 monitors; NVIDIA

2012-09-06 Thread David Zemon
I'm looking into X extensions now. Thank you for the link to the 590. It's very promising. I dug into their website a bit more and it looks like 3D Vision Surround is only supported on Windows. It's good to know it's out there as an option, but hopefully X extensions will get us going without

Re: [Paraview] Maximize ParaView across 3 monitors; NVIDIA

2012-09-06 Thread Aashish Chaudhary
On Thu, Sep 6, 2012 at 12:38 PM, David Zemon wrote: > I'm looking into X extensions now. > > Thank you for the link to the 590. It's very promising. I dug into their > website a bit more and it looks like 3D Vision Surround is only supported > on Windows. It's good to know it's out there as an o

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Berk Geveci
I just ran this with a 500^3 wavelet on my machine without any problems. The whole thing (including a slice filter) takes 20-30 seconds but the programmable filter is actually pretty much instantaneous (<0.1 seconds) using a debug build from Git master. Is there any way you can attach to the stuck

Re: [Paraview] Getting String arrays out of Field Data

2012-09-06 Thread David Thompson
Hi Joshua, > I have written a custom filter for Heliospheric data, and I am placing the > model metadata into the Field Data section of ParaView. > > Many of the metadata items are strings. I can view these strings just fine in > Spread Sheet view, but anytime I try to get them out of Field Dat

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Berk Geveci
I am going to disagree with Andy about this being a better solution. I don't even think that it addresses what Frank is trying to do. But beyond that Array Calculator is cumbersome and slow compared to the Python Calculator or Python Programmable Filter. As far as I understand, Frank is not trying

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Frank Horowitz
Thanks for the replies! At the moment, I need to finish a poster for a presentation on Saturday, but promise to get to this Sunday or Monday. (I'll need to re-build a debugging version of paraview. Any hints on how to accomplish this within ccmake/cmake will be gratefully received, since that s

Re: [Paraview] Getting String arrays out of Field Data

2012-09-06 Thread David Thompson
Hi Joshua, Sorry, in my previous e-mail I forgot this was the ParaView and not VTK mailing list, so I posted a vtkpython script. What I said still applies if you are using the Python Programmable Filter, but of course you can use ParaView to load the dataset. pdi = self.GetPolyDataInput() pdo

Re: [Paraview] Getting String arrays out of Field Data

2012-09-06 Thread Joshua Murphy
Thank you! I was using GetArray(), as I had no idea that GetAbstractArray() even existed! (tab complete in the Python Shell doesn't recognize it, and that is how I find most things as I learn how various things work). Again, Thank you very much! This solves a big problems for us! -Josh On 9/6/

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Berk Geveci
Just to make sure that I understand this: you have some code that reads some files in a proprietary format and spits out 1 vtu file per component? What is that format like? What is the script written in? It should be pretty easy to change that script to combine components together and write them ou

Re: [Paraview] ParaView on a Retina display

2012-09-06 Thread Pierre-Olivier Dallaire
Robert, I have looked into this and the QT team are making adjustments to support HiDPI: https://bugreports.qt-project.org/browse/QTBUG-23870 QT 5 beta is not "HiDPI" ready yet... I don't know how difficult it would be after to update Paraview to support the same capabilities. The temporary wor

[Paraview] socket communicating error

2012-09-06 Thread LUO Jian
Hi All, I tried to use a binary 3.14.1 version paraview client on windows 7 to connect to a remote server which is a compiled 3.14.1 version in linux. After the "Client connected." message, the following error will occur on the remote server: ERROR: In /home/luoj/ParaView-3.14.1-Source/VTK/Paral

Re: [Paraview] Manipulating Big Data through Python Shell

2012-09-06 Thread
Today I uploaded two videos to Youtube, showing the basics of what is happening. They can be found via the following links: 1. http://www.youtube.com/watch?v=68yeT8t0TUc&feature=youtu.be 2. http://www.youtube.com/watch?v=Linns_iSBro&feature=youtu.be The init.py file used now uses "

Re: [Paraview] Newbie question on Python Programmable Filters

2012-09-06 Thread Andy Bauer
It's even simpler than setting CCFLAGS to turn debug information on. Just set CMAKE_BUILD_TYPE to "Debug". It may already be set to that. If you're creating your VTK files from Python code, you may want to look at PyEVTK (https://bitbucket.org/pauloh/pyevtk). I haven't tried the unstructured grid/