[Paraview] XDMF Function=$0[1:11] problem

2010-04-09 Thread Felipe Bordeu Weldt
hi, When I use the Function keyword to select just a subset of an array Paraview cashes without warning. if I putFunction=$0[1:11] in the xdmf file Paraview dies. What I'm doing wrong? (see attached file) XMDF_test.xdmf Description: Binary data (The file is just a simple case

[Paraview] Some information about extending paraview functionalities

2010-04-09 Thread Luca Penasa
Hi everybody, Maybe some of my question could be answered with some 'googling', but i would like to make the point on some problems i have encountered. Thanks to everybody! this is my problem: In the last months i learned the basis of the vtk library (that is simply a wonderful tool!!)

Re: [Paraview] XDMF Function=$0[1:11] problem

2010-04-09 Thread Utkarsh Ayachit
Looks like the segfault is coming from the Xdmf library itself in XdmfDataItem::UpdateFunction. The Xdmf folks may want to take a look at it. Utkarsh On Fri, Apr 9, 2010 at 5:15 AM, Felipe Bordeu Weldt felipe.bor...@ec-nantes.fr wrote: hi, When I use the Function keyword to select just a

Re: [Paraview] questions re VTK-formatted file

2010-04-09 Thread Randy Heiland
Pat, Thanks for the tips. Sure enough, the clean-to-grid filter worked (seems odd though, as the contour filter would presumably use a slower alg on an unstruct grid). Regarding the Convert to 2D/3D views, when I tried it on that example, it seemed to clear the views and I wasn't sure how to

Re: [Paraview] Problem linking Cocoa pqWidgets

2010-04-09 Thread Eric E. Monson
Hey Dave, Thanks for keeping this on your radar. You should be able to clear out this bug, then: http://www.paraview.org/Bug/view.php?id=10137 Talk to you later, -Eric On Apr 9, 2010, at 10:07 AM, Dave Partyka wrote: FYI I just committed this change to the branch and to head as I am going

Re: [Paraview] Problem linking Cocoa pqWidgets

2010-04-09 Thread Dave Partyka
Done and thanks! On Fri, Apr 9, 2010 at 10:15 AM, Eric E. Monson emon...@cs.duke.edu wrote: Hey Dave, Thanks for keeping this on your radar. You should be able to clear out this bug, then: http://www.paraview.org/Bug/view.php?id=10137 Talk to you later, -Eric On Apr 9, 2010, at 10:07

Re: [Paraview] Problem to visualize data in MFIX Unstructured Grid Files (*.RES)

2010-04-09 Thread Zhanping Liu
Hi all: Forwarded below is a question from a ParaView user regarding the visualization of MFIX unstructured grid files (*.RES). -Zhanping On Thu, Apr 8, 2010 at 10:27 PM, Xue, Qingluan [M E] ql...@iastate.eduwrote: Hey Zhanping, Could you help me to post my question below? somehow,

Re: [Paraview] questions re VTK-formatted file

2010-04-09 Thread pat marion
it seemed to clear the views and I wasn't sure how to recover them It may just be the visibility? Take a look at the eyeball icons next to the objects in the pipeline browser. Pat On Fri, Apr 9, 2010 at 10:06 AM, Randy Heiland heil...@indiana.edu wrote: Pat, Thanks for the tips. Sure

Re: [Paraview] questions re VTK-formatted file

2010-04-09 Thread Randy Heiland
Yep. Duh. Sorry for the noise. On Apr 9, 2010, at 10:35 AM, pat marion wrote: it seemed to clear the views and I wasn't sure how to recover them It may just be the visibility? Take a look at the eyeball icons next to the objects in the pipeline browser. Pat On Fri, Apr 9, 2010 at

Re: [Paraview] Plotting an isosurface at two different density values from a standard gaussian CUBE file

2010-04-09 Thread Marcus D. Hanwell
Hi Simon, I think that http://www.paraview.org/paraview/help/documentation.htmlcontains links to all of the available resources for ParaView. Depending on what you are doing with ParaView the user's guide (book), wiki, or Doxygen generated API documentation are all great resources. There are

[Paraview] Compile Error on Fresh ParaView-3-8 checkout on OS X

2010-04-09 Thread Michael Jackson
Checkout/updated from CVS this afternoon and a fresh configure and compile I get the following error on OS X 10.5.8: [ 23%] Generating vtkSocketCommunicatorHash.h dyld: Library not loaded: libvtksys.pv3.8.dylib Referenced from: /Users/Shared/Kitware-CVS/ParaView3/Build/VTK/

Re: [Paraview] Compile Error on Fresh ParaView-3-8 checkout on OS X

2010-04-09 Thread Eric E. Monson
Hey Mike, Are you configuring here with VTK_USE_RPATH = OFF? This is what happens to me, too, if I don't turn it ON. Thanks, -Eric -- Eric E Monson Duke Visualization Technology Group On Apr 9, 2010, at 1:06 PM, Michael Jackson wrote:

Re: [Paraview] Compile Error on Fresh ParaView-3-8 checkout on OS X

2010-04-09 Thread Dave Partyka
I haven't had time to track down a good fix for this besides setting my DYLD_LIBRARY_PATH but If you have a fix then I will gladly commit it! On Fri, Apr 9, 2010 at 1:30 PM, Eric E. Monson emon...@cs.duke.edu wrote: Hey Mike, Are you configuring here with VTK_USE_RPATH = OFF? This is what

Re: [Paraview] Compile Error on Fresh ParaView-3-8 checkout on OS X

2010-04-09 Thread Michael Jackson
Here is my configure script that I use: cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=$buildType - DPARAVIEW_EXTRA_EXTERNAL_MODULES=PVMXADataModel - DPARAVIEW_BUILD_PLUGIN_Moments=OFF - DPARAVIEW_BUILD_PLUGIN_SLACTools=OFF - DPARAVIEW_BUILD_PLUGIN_PointSprite=OFF -

Re: [Paraview] Compile Error on Fresh ParaView-3-8 checkout on OS X

2010-04-09 Thread Michael Jackson
Would something like: if (VTK_RPATH == OFF APPLE == TRUE) set ($ENV{DYLD_LIBRARY_PATH} ${CMAKE_RUNTIME_PATH}) endif() I'm going to guess that might have some side effects but not really sure what those might be. Where is the CMAKE_CUSTOM_COMMAND located in the ParaView cmake files. I'll

Re: [Paraview] Compile Error on Fresh ParaView-3-8 checkout on OS X

2010-04-09 Thread Dave Partyka
VTK\Parallel\CMakeLists.txt Line 242. # Generate vtkSocketCommunicatorHash.h. ADD_CUSTOM_COMMAND( OUTPUT ${VTK_BINARY_DIR}/Parallel/vtkSocketCommunicatorHash.h DEPENDS ${VTK_SOURCE_DIR}/Parallel/vtkSocketCommunicator.cxx vtkHashSource COMMAND vtkHashSource

Re: [Paraview] Compile Error on Fresh ParaView-3-8 checkout on OS X

2010-04-09 Thread Michael Jackson
# Generate vtkSocketCommunicatorHash.h. if (APPLE AND NOT VTK_USE_RPATH) file(WRITE ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh #!/bin/sh\n ) file(APPEND ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh export DYLD_LIBRARY_PATH=${ParaView_BINARY_DIR}/bin\n ) file(APPEND

[Paraview] Process id from within pvbatch

2010-04-09 Thread Fabian, Nathan
Hi, Is there any way to get the local process id from within a python script? I can't seem to get hold of vtkMultiProcessController and can't find any other way through the modules... Thanks, Nathan. ___ Powered by www.kitware.com Visit other

[Paraview] Python scripts with PyQt4

2010-04-09 Thread Stefan Kroboth
Hello! I've build a Gui in the QtDesigner and converted it into a *.py file using pyuic4. Then I wrote a small program which loads and shows this Window. This program works fine in Python 2.6 but fails in the ParaView python shell. Since I'm new to Qt I don't know where to look for help. Is it

[Paraview] Experience with hanging OpenMPI

2010-04-09 Thread pat marion
Hi, just thought I'd share this in case someone else runs into the same issue- After upgrading my computer to dual quad-core intel xeons, and installing Ubuntu Karmic (9.10), pvserver with mpi would hang after a few renders. It turns out it was this bug:

Re: [Paraview] Process id from within pvbatch

2010-04-09 Thread Fabian, Nathan
That did it. Thanks On 4/9/10 12:40 PM, Andy Bauer andy.ba...@kitware.com wrote: I think what you want is: pid = servermanager.vtkProcessModule.GetProcessModule().GetPartitionId() Andy On Fri, Apr 9, 2010 at 2:34 PM, Fabian, Nathan ndfa...@sandia.gov wrote: Hi, Is there any way to get the