Re: [Paraview] pvserver -display on windows

2010-05-27 Thread Dr. X
Thanks, Ken. You are right, the pop up message box shows no -display option in windows. So for my case, 4 cpu cores and 2 gpus, how shall I set up the pvserver to use all the resources? thanks a lot. Best, x On 5/27/2010 5:52 PM, Moreland, Kenneth wrote: The --display argument is only availabl

[Paraview] Trouble with .vtu files over certain size

2010-05-27 Thread William Humber
Hello, I am using the fortran library LIB_VTK_IO to do my translations to the binary xml vtu format and I've been encountering a problem. When my unstructured meshes get over a certain size, ~5 million elements, I get the following error message. Any ideas? ERROR: In ..\..\..\src\VTK\IO\vtkXMLU

Re: [Paraview] PV 3.8.0 remark

2010-05-27 Thread Moreland, Kenneth
Can you be more specific about what you are doing and when it should be suppressed? Removing the vtkValidPointMask functionality from everything would probably be tedious and disastrous. Where specifically is it going wrong? Are you loading a file with a vtkValidPointMask? -Ken On 5/27/10

Re: [Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Mike Jackson
The patch is close but there are a few corrections and since I don't have a "patch" tool on my windows machine I'll have to try to describe the corrections here by hand so look carefully rather than trying to use 'patch' to apply these changes. diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b

[Paraview] vtkCellLocator: Python

2010-05-27 Thread bastil2...@yahoo.de
Dear all, can I use vtkCellLocator from within Pyhon oder the Python programmable filter? If yes, how? Or do I need to write my own filter in c++? Thanks. Regards Bastian ___ Powered by www.kitware.com Visit other Kitware open-source projects at http:

Re: [Paraview] pvserver -display on windows

2010-05-27 Thread Moreland, Kenneth
The -display argument is only available for X windows. It has no meaning for the native displays on Windows or Mac. If you try to use it on Windows, you should get an error message that the -display argument is unknown and it should list all the arguments available. As I recall, on windows it

Re: [Paraview] Getting user input while in python shell plugin

2010-05-27 Thread m . c . wilkins
Hi, Thank you both Pat and Utkarsh. QApplication.activeWindow() appears to just work fine at finding the main window. As a fall back looping through QApplication.topLevelWidgets() and doing a check like this: isinstance(wid, PyQt4.QtGui.QMainWindow) and re.search('kitware paraview', wid.wi

Re: [Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Utkarsh Ayachit
Mike, Attached is a patch that fixes this issue. Can you try if that works? Dave, if that works, can you commit that to the master and release branches? Utkarsh On Thu, May 27, 2010 at 4:54 PM, Mike Jackson wrote: > Here is some more information about what is going on with my windows > build. I

Re: [Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Dave Partyka
You'll want to add an install rule for that third party library. INSTALL(FILES ${Third_Party_lib} DESTINATION ${PV_INSTALL_BIN_DIR} COMPONENT Runtime) On Thu, May 27, 2010 at 4:54 PM, Mike Jackson wrote: > Here is some more information about what is going on with my windows > build. I

Re: [Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Mike Jackson
Here is some more information about what is going on with my windows build. I had to add the following to the top of my "*ParaViewImport.cmake" file: SET (BUILD_PARAVIEW_PLUGINLIST ON) So now the .plugins file correctly has my plugins listed except that the "autoload" property is set to "0". Shou

Re: [Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Michael Jackson
http://gitorious.bluequartz.net/mxa/pvmxadatamodel/blobs/master/PVMXADataModelParaViewImport.cmake I am calling ADD_PARAVIEW_PLUGIN in my Cmake files. Not sure why this isn't working. I thought we had that fixed. At least at some point during the RC process this did actually work. -- Mike J.

[Paraview] pvserver -display on windows

2010-05-27 Thread Dr. X
Hi All, I am trying to setup a pvserver on a workstation with 4 cores and 2 gpus. The workstation is running windows 7 64bit, MPICH2 1.2.1p1, and ParaView 3.8.0-RC2. Here is my local pvserver command mpiexec -channel nemesis -n 2 .\pvserver.exe -display :0.0 --use-offscreen-rendering : -n 2

Re: [Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Dave Partyka
How are you building your plugin? I believe that the ADD_PARAVIEW_PLUGIN macro constructs the list of Plugins that get written into the .plugins file. On Thu, May 27, 2010 at 3:54 PM, Mike Jackson wrote: > So then what is the point of having ParaView look in the plugins > directory if it is not g

Re: [Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Mike Jackson
So then what is the point of having ParaView look in the plugins directory if it is not going to be used. Why not just have ParaView look in the "bin" folder (at least on windows)? I see there is a file called ".plugins" inside the bin directory. Mine has the following content:

[Paraview] Ignore pyc files?

2010-05-27 Thread Moreland, Kenneth
I've noticed that my build runs python on source files, and python automatically creates a compiled python file next to the source file. Consequently, after a build git reports untracked files: # On branch master # Untracked files: # (use "git add ..." to include in what will be committed) #

Re: [Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Utkarsh Ayachit
Mike, That was a conscious decision. We deliberately install all plugin dlls in the same directory as the paraview.exe on windows, just to avoid missing dlls issues at runtime. Originally, we had the separate "plugins" directory to make it easier for users to locate the plugins and load them manua

Re: [Paraview] NSIS Generated Installer for ParaView 3.8.0 reads "ParaView 3.9.0"

2010-05-27 Thread Mike Jackson
Dave, Thanks for the quick update. The version now seems correct on the generated installer. Bad news is that plugins are _still_ not installed correctly which results in a pretty non-functional ParaView. _ Mike Jackson mike.

Re: [Paraview] pvbatch + LoadState('..') +XDMF = empty image

2010-05-27 Thread Utkarsh Ayachit
Jens Here's an updated script: = from paraview.simple import * # reload state servermanager.LoadState('/tmp/state.pvsm') view = GetRenderViews()[0] ## render png view.ResetCamera() view.StillRender() view.WriteImage( "/tmp/Test1.png", "vtkPNGWriter" ) == The pr

[Paraview] pvbatch + LoadState('..') +XDMF = empty image

2010-05-27 Thread Jens
Hi, I try to use pvbatch to render a whole bunch of screenshots using a script. pvbatch works fine if I simply create a sphere and write that image to disk. But loading a predefined pipeline using LoadState('pstate.pvsm') which includes a datset in XDMF file format fails. Any idea what I am doin

Re: [Paraview] Couple of bugs in 3.8.0

2010-05-27 Thread Dave Partyka
Hi Paul 1. Can you send us a sample dataset to try and recreate this 2. I think that is controlled by a setting in Under Edit->Setting->Render View-> Adjust the Outline Threshold. Thanks! On Thu, May 27, 2010 at 6:26 AM, Paul McIntosh < paul.mcint...@internetscooter.com> wrote: > I have come ac

Re: [Paraview] NSIS Generated Installer for ParaView 3.8.0 reads "ParaView 3.9.0"

2010-05-27 Thread Dave Partyka
Thanks for catching that Mike, apparently my script that makes the tar balls didn't properly switch to the release. I have replaced the source with the correct version Thanks again! On Thu, May 27, 2010 at 12:52 PM, Dave Partyka wrote: > That is weird let me take a look. > > > On Thu, May 27, 20

[Paraview] PV 3.8.0 remark

2010-05-27 Thread Stephen Wornom
"vtkValidPointMask" Should be supressed, causes the data that follows to be incorrectly read. Stephen -- stephen.wor...@sophia.inria.fr 2004 route des lucioles - BP93 Sophia Antipolis 06902 CEDEX Tel: 04 92 38 50 54 Fax: 04 97 15 53 51 <>_

Re: [Paraview] NSIS Generated Installer for ParaView 3.8.0 reads "ParaView 3.9.0"

2010-05-27 Thread Dave Partyka
That is weird let me take a look. On Thu, May 27, 2010 at 12:38 PM, Mike Jackson wrote: > Just built ParaView 3.8.0 (using the .zip file from the paraview.org > web site) on Windows 7 x64 using VS 2008 Win32 project and then > generated the NSIS installer. The name of the installer, and in fact >

[Paraview] NSIS Generated Installer for ParaView 3.8.0 reads "ParaView 3.9.0"

2010-05-27 Thread Mike Jackson
Just built ParaView 3.8.0 (using the .zip file from the paraview.org web site) on Windows 7 x64 using VS 2008 Win32 project and then generated the NSIS installer. The name of the installer, and in fact the name of the installed binaries reads ParaView 3.9.0 which is a bit confusing to say the least

[Paraview] ParaView 3.8.0 Not Installing Client Plugins correctly.

2010-05-27 Thread Mike Jackson
Pulled ParaView 3.8.0 from Git. Configured with CMake for VS2008 x64 with PARAVIEW_EXTRA_EXTERNAL_MODULES listing 4 of my custom plugins. Compiled. Installed. And all the "client" plugins are installed lose into the ParaView-3.8.0/bin directory instead of ParaView-3.8.0/bin/plugins. Also, I have NS

Re: [Paraview] Getting user input while in python shell plugin

2010-05-27 Thread Utkarsh Ayachit
Doh! didn't realize you were going to call it from python. Stick with what Pat suggested :). Utkarsh On Thu, May 27, 2010 at 10:18 AM, pat marion wrote: > Paraview doesn't have a way to pass pointers to QObjects from c++ to python, > or vice versa.  You can use PyQt wrapped methods to search for

Re: [Paraview] Getting user input while in python shell plugin

2010-05-27 Thread pat marion
Paraview doesn't have a way to pass pointers to QObjects from c++ to python, or vice versa. You can use PyQt wrapped methods to search for named widgets though. Pat On Thu, May 27, 2010 at 8:52 AM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > Alternatively use: pqCoreUtilities::mainW

[Paraview] PV 3.0 - Color Legend default settings

2010-05-27 Thread Pierre-Olivier Dallaire
Hi, is it possible to change the default font and size, color and others for the color legend in ~/.config/ParaView/ParaView3.9.0.ini ? This is something I have been fighting with for some time ... If not possible, where in the source code those values are hard-coded ? The "Make Default" button

Re: [Paraview] ParaView Binaries: include build libraries information?

2010-05-27 Thread Dave Partyka
Hi Eric, I just updated that wiki yesterday afternoon as part of the final release. Please let me know if there is information missing. Though I agree with you that something that is generated as part of the release would be nice :-). On Thu, May 27, 2010 at 9:40 AM, Utkarsh Ayachit < utkarsh.aya

Re: [Paraview] ParaView Binaries: include build libraries information?

2010-05-27 Thread Utkarsh Ayachit
Eric, The wiki page you referred is supposed to have all the necessary information and we try to keep in updated with every official release. Please let us know if any information missing. Utkarsh On Wed, May 26, 2010 at 10:26 AM, Eric Nodwell wrote: > Is there some file, distributed with ParaV

Re: [Paraview] ParaView 3.8.0 Available for download

2010-05-27 Thread Dave Partyka
Once you clone paraview with git clone git://paraview.org/ParaView.git then checkout the release branch with git branch --track release origin/release That reminds me, I need to sign the tag for the release. I'll do that now On Thu, May 27, 2010 at 9:14 AM, Michael Jackson < mike.jack...@blueq

Re: [Paraview] ParaView 3.8.0 Available for download

2010-05-27 Thread Michael Jackson
What is the git branch/tag for this release? ___ Mike Jackson www.bluequartz.net On May 27, 2010, at 8:53 AM, Dave Partyka wrote: Hello All, Kitware, Sandia National Laboratories and Los Alamos National Laboratory a

[Paraview] Couple of bugs in 3.8.0

2010-05-27 Thread Paul McIntosh
I have come across a couple of bugs/quirks in the official release of 3.8.0 1) When using MPI version I compiled I see the following trying to open raw files... ERROR: In ..\..\..\src\Servers\Common\vtkPVDataSetAttributesInformation.cxx, line 494 vtkPVDataSetAttributesInformation (0755128

[Paraview] ParaView 3.8.0 Available for download

2010-05-27 Thread Dave Partyka
Hello All, Kitware, Sandia National Laboratories and Los Alamos National Laboratory are proud to announce the release of ParaView 3.8.0. The binaries and sources are available for download from the ParaView website ( http://www.paraview.org/paraview/resources/software.html). This release includes

Re: [Paraview] Getting user input while in python shell plugin

2010-05-27 Thread Utkarsh Ayachit
Alternatively use: pqCoreUtilities::mainWidget() -- it tries to find an active mainwindow by default. Utkarsh On Wed, May 26, 2010 at 7:09 PM, pat marion wrote: >>> The only thing I couldn't immediately figure out from that post, was what >>> to do with widgets that need a parent > > You could u