Re: [Paraview] HDF5 and Paraview

2013-01-07 Thread Jens Kleimann
On 04.01.2013 04:19, Pradeep Jha wrote:
 Hello Jens,
 thanks for the response. It explained a lot. 

Pleasure!

 I have been reading up about XDMF and am trying to implement it. My 
 filename.h5 file just contains a scalar value for 512*512*512 grid points in 
 a structured uniform cube. I don't store any grid coordinates information in 
 any files. But all the material I have been reading for XDMF mention that I 
 have to give grid information. Is there a simple way of conveying my uniform 
 grid structure to XDMF or should I create a file with grid coordinates and 
 make XDMF read it?

In this simple case, you do not need a grid file with coordinates, but you need 
to specify the type of grid and its origin and cell size so PV knows where to 
locate the cells and what numbers to draw along the axes. The (untested) sample 
file below should give you an idea of what is needed. This grid cube has its 
origin at [0,0,0] and uses dx=dy=dz=0.1, i.e. it occupies the cubic volume [0, 
51.2]^3 in 3D space. Note that the grid size (513^3) has to be larger than the 
number of data elements by one per direction because it specifies the location 
of _nodes_ (corner vertices) of a cell.
You will need to adapt the path and name of the HDF5 file and the location of 
your scalar data field within that file, the former being separated from the 
latter by a :.

Good luck!
Jens.

 BEGIN file scalar_sample.xmf ===
?xml version=1.0 ?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd []
Xdmf
  Domain
Grid Name=my_Grid GridType=Uniform
  Topology TopologyType=3DCoRectMesh Dimensions=513 513 513
  /Topology
  Geometry GeometryType=Origin_DxDyDz
DataItem Dimensions=3 NumberType=Float Format=XML
  0 0 0
/DataItem
DataItem Dimensions=3 NumberType=Float Format=XML
  0.1 0.1 0.1
/DataItem
  /Geometry
  Attribute Name=my_Scalar AttributeType=Scalar Center=Cell
DataItem Dimensions=512 512 512 NumberType=Float Format=HDF
  my_HDF_file.h5:/name_of_scalar_in_h5
/DataItem
  /Attribute
/Grid
  /Domain
/Xdmf
= END file scalar_sample.xmf 
___
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] Extremely wide properties pane

2013-01-07 Thread Utkarsh Ayachit
 Dear developers, should I file a bug on this issue?

Yes please. This is definitely an oversight after the new panel
changes and we should address it in the next release.

Utkarsh
___
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 crashing on CentOs

2013-01-07 Thread Utkarsh Ayachit
Can you share the data ?

On Sat, Jan 5, 2013 at 12:15 AM, Pradeep Jha
prad...@ccs.engg.nagoya-u.ac.jp wrote:
 Hello,

 I just downloaded the Paraview binary on CentOs. I have been using
 Paraview on Mac and another Linux machine before that for visualizing
 a data file. But when I am loading the same file here on CentOs, and
 changing the Representation to Volume, it is crashing giving me
 the following error:

 ERROR: In 
 /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkAlgorithm.cxx,
 line 1387
 vtkImageResample (0x18872790): Attempt to get connection index 0 for
 input port 0, which has 0 connections.

 Everything else is working smoothly like slicing, surface
 representation, wireframe representation etc. But the moment I turn on
 volume representation, it crashes.

 Any ideas?
 Thank you
 Pradeep
 ___
 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] Error with Qt while installing Paraview

2013-01-07 Thread Utkarsh Ayachit
Qt 5 isn't supported  yet. Stick with 4.8.*. Although I am sure we
will support Qt 5.0 at some point, right now there is no active effort
to add support for the same.

Utkarsh

On Fri, Jan 4, 2013 at 6:42 PM, Pradeep Jha pradeep.kumar@gmail.com wrote:
 Hello,

 I set the environment variable QT_QMAKE_EXECUTABLE in my .bashrc file to
 point to the qmake executable. In the installed Qt5.0.0 folder, I found only
 one qmake executable which was at /path_to_Qt5.0.0/5.0.0/clang_64_bin/. But
 still I am getting the same error. Any further ideas?

 Thank you,
 Pradeep


 2013/1/4 Utkarsh Ayachit utkarsh.ayac...@kitware.com

 Try setting the QT_QMAKE_EXECUTABLE variable to point to the right
 qmake executable installed by Qt.

 On Fri, Jan 4, 2013 at 5:01 AM, Pradeep Jha pradeep.kumar@gmail.com
 wrote:
  QT_QMAKE_EXECUTABLE


___
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 from git, make fail on OpenSUSE 12.2

2013-01-07 Thread Pei-Ying Hsieh
Hi, Utkarsh,

I am wondering if you have any suggestion on this issue.  I am using Qt 4.8.1.

Thanks!

Pei-Ying





 From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
To: Pei-Ying Hsieh phsieh2...@yahoo.com 
Cc: paraview paraview@paraview.org 
Sent: Wednesday, January 2, 2013 2:35 PM
Subject: Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2
 
Do you know what version of Qt you built ParaView with?

On Wed, Jan 2, 2013 at 2:20 PM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Hi, Utkarsh,

 No, this is a release build.  I do not know how to attach the debugger and
 the stack trace.

 Pei-Ying


 
 From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
 To: Pei-Ying Hsieh phsieh2...@yahoo.com
 Cc: paraview paraview@paraview.org
 Sent: Wednesday, January 2, 2013 1:37 PM

 Subject: Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2

 Is this a debug build? If so, can you attach a debugger and post the
 stack trace?

 Utkarsh

 On Wed, Jan 2, 2013 at 1:36 PM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Hi, Utkarsh,

 Thanks for the reply!

 make was successful when I turned off ffmpeg.  But, I got segmention fault
 when I ran paraview.

 ERROR: In

 /home/phsieh/projects/ParaView/ParaView/VTK/GUISupport/Qt/vtkEventQtSlotConnect.cxx,
 line 68
 vtkEventQtSlotConnect (0x1c82420): Cannot connect NULL objects.


 Segmentation fault
 ---

 Any suggestion?

 Pei-Ying


 
 From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
 To: Pei-Ying Hsieh phsieh2...@yahoo.com
 Cc: paraview paraview@paraview.org
 Sent: Wednesday, January 2, 2013 8:55 AM
 Subject: Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2

 You may want to turn off FFMPEG for starters (by turning of
 PARAVIEW_ENABLE_FFMPEG cmake variable).

 Utkarsh

 On Tue, Jan 1, 2013 at 8:14 PM, Pei-Ying Hsieh phsieh2...@yahoo.com
 wrote:
 Dear ParaView experts,

 I just got the latest Paraview source code from git and tried to compile
 on
 OpenSUSE 12.2 64 bit OS.  But, got the following errors:

 [ 94%] Built target pqApplicationComponents
 Linking CXX executable ../../../../bin/pqPipelineApp
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_small_strptime@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_dict_count@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_timecode_check_frame_rate@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `av_image_fill_arrays@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `avpriv_float_dsp_init@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `av_image_get_buffer_size@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `av_image_copy_to_buffer@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_gettime@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_opt_set_bin@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_usleep@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `av_timecode_adjust_ntsc_framenum2@LIBAVUTIL_51'
 collect2: error: ld returned 1 exit status
 make[2]: *** [bin/pqPipelineApp] Error 1
 make[1]: *** [Qt/Components/Testing/Cxx/CMakeFiles/pqPipelineApp.dir/all]
 Error 2
 make: *** [all] Error 2
 --

 I do have libavuitl installed.  I am wondering how I can fix these
 errors.

 Thanks!

 Pei-Ying

 ___
 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] Error with Qt while installing Paraview

2013-01-07 Thread Yumin Yuan
Also, the QT_QMAKE_EXECUTABLE variable Utkarsh was talking about is a
CMake varialble. Try to set that variable at cmake configure step.

HTH,
Yumin

On Mon, Jan 7, 2013 at 9:52 AM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 Qt 5 isn't supported  yet. Stick with 4.8.*. Although I am sure we
 will support Qt 5.0 at some point, right now there is no active effort
 to add support for the same.

 Utkarsh

 On Fri, Jan 4, 2013 at 6:42 PM, Pradeep Jha pradeep.kumar@gmail.com 
 wrote:
 Hello,

 I set the environment variable QT_QMAKE_EXECUTABLE in my .bashrc file to
 point to the qmake executable. In the installed Qt5.0.0 folder, I found only
 one qmake executable which was at /path_to_Qt5.0.0/5.0.0/clang_64_bin/. But
 still I am getting the same error. Any further ideas?

 Thank you,
 Pradeep


 2013/1/4 Utkarsh Ayachit utkarsh.ayac...@kitware.com

 Try setting the QT_QMAKE_EXECUTABLE variable to point to the right
 qmake executable installed by Qt.

 On Fri, Jan 4, 2013 at 5:01 AM, Pradeep Jha pradeep.kumar@gmail.com
 wrote:
  QT_QMAKE_EXECUTABLE


 ___
 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 from git, make fail on OpenSUSE 12.2

2013-01-07 Thread Utkarsh Ayachit
Try running the following:

 gdb paraview
 run

(then when paraview segfaults)

 where

(and post the output). That will give us a starting point. Feel free
to google details on using gdb to see how to extract additional
information, if you'd like.

Utkarsh

On Mon, Jan 7, 2013 at 9:54 AM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Hi, Utkarsh,

 I am wondering if you have any suggestion on this issue.  I am using Qt
 4.8.1.

 Thanks!

 Pei-Ying


 
 From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
 To: Pei-Ying Hsieh phsieh2...@yahoo.com
 Cc: paraview paraview@paraview.org
 Sent: Wednesday, January 2, 2013 2:35 PM

 Subject: Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2

 Do you know what version of Qt you built ParaView with?

 On Wed, Jan 2, 2013 at 2:20 PM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Hi, Utkarsh,

 No, this is a release build.  I do not know how to attach the debugger and
 the stack trace.

 Pei-Ying


 
 From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
 To: Pei-Ying Hsieh phsieh2...@yahoo.com
 Cc: paraview paraview@paraview.org
 Sent: Wednesday, January 2, 2013 1:37 PM

 Subject: Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2

 Is this a debug build? If so, can you attach a debugger and post the
 stack trace?

 Utkarsh

 On Wed, Jan 2, 2013 at 1:36 PM, Pei-Ying Hsieh phsieh2...@yahoo.com
 wrote:
 Hi, Utkarsh,

 Thanks for the reply!

 make was successful when I turned off ffmpeg.  But, I got segmention
 fault
 when I ran paraview.

 ERROR: In


 /home/phsieh/projects/ParaView/ParaView/VTK/GUISupport/Qt/vtkEventQtSlotConnect.cxx,
 line 68
 vtkEventQtSlotConnect (0x1c82420): Cannot connect NULL objects.


 Segmentation fault
 ---

 Any suggestion?

 Pei-Ying


 
 From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
 To: Pei-Ying Hsieh phsieh2...@yahoo.com
 Cc: paraview paraview@paraview.org
 Sent: Wednesday, January 2, 2013 8:55 AM
 Subject: Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2

 You may want to turn off FFMPEG for starters (by turning of
 PARAVIEW_ENABLE_FFMPEG cmake variable).

 Utkarsh

 On Tue, Jan 1, 2013 at 8:14 PM, Pei-Ying Hsieh phsieh2...@yahoo.com
 wrote:
 Dear ParaView experts,

 I just got the latest Paraview source code from git and tried to compile
 on
 OpenSUSE 12.2 64 bit OS.  But, got the following errors:

 [ 94%] Built target pqApplicationComponents
 Linking CXX executable ../../../../bin/pqPipelineApp
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_small_strptime@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_dict_count@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_timecode_check_frame_rate@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `av_image_fill_arrays@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `avpriv_float_dsp_init@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `av_image_get_buffer_size@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `av_image_copy_to_buffer@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_gettime@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_opt_set_bin@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavformat.so:
 undefined reference to `av_usleep@LIBAVUTIL_51'
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libavcodec.so:
 undefined reference to `av_timecode_adjust_ntsc_framenum2@LIBAVUTIL_51'
 collect2: error: ld returned 1 exit status
 make[2]: *** [bin/pqPipelineApp] Error 1
 make[1]: ***
 [Qt/Components/Testing/Cxx/CMakeFiles/pqPipelineApp.dir/all]
 Error 2
 make: *** [all] Error 2
 --

 I do have libavuitl installed.  I am wondering how I can fix these
 errors.

 Thanks!

 Pei-Ying

 ___
 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 

[Paraview] Force remote rendering on pvserver

2013-01-07 Thread Kit Chambers
Hi,

I have a remote server which I can connect paraview to, however, it when I
do so it says Display not accessible on server side. Remote rendering
disabled.

I have tried a couple of basic/naive things like using
 pvserver --use-offscreen-rendering
 pvserver - display localhost:0

But to no effect so far. Can anyone help me with with settings etc I should
be playing with.

Kit
___
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] Force remote rendering on pvserver

2013-01-07 Thread Kit Chambers
Thanks Uktarsh. Am I correct in thinking that OSMesa is required if there
is no graphics card on the server? What about if there is a graphics card
and display for the server but no one using the display (i.e. a remote
workstation I can access through SSH)? This is one situation I have. I
guess a similar situation might occur if the pvserver is in fact a remote
HPC server with high end GPU's you would like to use for rendering?

Kit


On Mon, Jan 7, 2013 at 3:47 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com
 wrote:

 Is your ParaView build with OSMesa support
 (http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D)? If not, then
 ParaView needs access to the X display. To use ParaView without X
 trying rebuilding ParaView with OSmesa support as described on the
 Wiki page.

 Utkarsh

 On Mon, Jan 7, 2013 at 10:18 AM, Kit Chambers kit.chambers...@gmail.com
 wrote:
  Hi,
 
  I have a remote server which I can connect paraview to, however, it when
 I
  do so it says Display not accessible on server side. Remote rendering
  disabled.
 
  I have tried a couple of basic/naive things like using
  pvserver --use-offscreen-rendering
  pvserver - display localhost:0
 
  But to no effect so far. Can anyone help me with with settings etc I
 should
  be playing with.
 
  Kit
 
  ___
  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 from git, make fail on OpenSUSE 12.2

2013-01-07 Thread Pei-Ying Hsieh
Hi, Utkarsh,

Thanks for the info.  Here are the outputs:

Pei-Ying
--

phsieh@galaxy:~/OpenFOAM/phsieh-2.1.x/run/twoLiquidMixingFoam/manifold-chamberTest8bb700ulPerSecQ
 gdb paraview
GNU gdb (GDB) SUSE (7.4.50.20120603-2.1.2)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-suse-linux.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /home/phsieh/projects/paraview-devel/bin/paraview...done.
(gdb) run
Starting program: /home/phsieh/projects/paraview-devel/bin/paraview 
process 8422 is executing new program: 
/home/phsieh/projects/paraview-devel/lib/paraview-3.98/paraview
Missing separate debuginfos, use: zypper install 
glibc-debuginfo-2.15-22.6.4.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib64/libthread_db.so.1.
ERROR: In 
/home/phsieh/projects/ParaView/ParaView/VTK/GUISupport/Qt/vtkEventQtSlotConnect.cxx,
 line 68
vtkEventQtSlotConnect (0xc38cd0): Cannot connect NULL objects.



Program received signal SIGSEGV, Segmentation fault.
0x76e4cc55 in pqApplicationCore::settings() () from 
/home/phsieh/projects/paraview-devel/lib/paraview-3.98/libvtkpqCore-pv3.98.so.1
Missing separate debuginfos, use: zypper install 
Mesa-libGLU1-debuginfo-8.0.4-20.7.1.x86_64 
fontconfig-debuginfo-2.9.0-3.5.1.x86_64 glibc-debuginfo-2.15-22.6.4.x86_64 
glibc-locale-debuginfo-2.15-22.6.4.x86_64 
kdebase4-workspace-debuginfo-4.8.5-2.6.1.x86_64 
libICE6-debuginfo-1.0.8-2.1.2.x86_64 
libQtWebKit4-debuginfo-4.8.2+2.2.0-2.1.2.x86_64 
libSM6-debuginfo-1.2.1-2.1.2.x86_64 libX11-6-debuginfo-1.5.0-2.1.2.x86_64 
libXau6-debuginfo-1.0.7-2.1.2.x86_64 libXcursor1-debuginfo-1.1.13-2.1.2.x86_64 
libXext6-debuginfo-1.3.1-2.1.2.x86_64 libXfixes3-debuginfo-5.0-2.1.2.x86_64 
libXi6-debuginfo-1.6.1-2.1.2.x86_64 libXinerama1-debuginfo-1.1.2-2.1.2.x86_64 
libXrandr2-debuginfo-1.3.2-2.1.2.x86_64 
libXrender1-debuginfo-0.9.7-2.1.2.x86_64 libXt6-debuginfo-1.1.3-2.1.2.x86_64 
libXtst6-debuginfo-1.2.1-2.1.2.x86_64 libacl1-debuginfo-2.2.51-8.1.3.x86_64 
libattica0_3-debuginfo-0.3.0-2.1.2.x86_64 
libattr1-debuginfo-2.4.46-9.1.3.x86_64 libbz2-1-debuginfo-1.0.6-20.1.7.x86_64
 libdbus-1-3-debuginfo-1.5.12-4.1.2.x86_64 
libdbusmenu-qt2-debuginfo-0.9.2-2.1.2.x86_64 
libexpat1-debuginfo-2.1.0-2.1.3.x86_64 libfam0-debuginfo-2.7.0-159.2.1.x86_64 
libffi47-debuginfo-4.7.1_20120723-1.1.1.x86_64 
libfreetype6-debuginfo-2.4.9-4.1.2.x86_64 
libgcc47-debuginfo-4.7.1_20120723-1.1.1.x86_64 
libglib-2_0-0-debuginfo-2.32.4-4.8.1.x86_64 
libgmodule-2_0-0-debuginfo-2.32.4-4.8.1.x86_64 
libgobject-2_0-0-debuginfo-2.32.4-4.8.1.x86_64 
libgstapp-0_10-0-debuginfo-0.10.36-2.1.2.x86_64 
libgstinterfaces-0_10-0-debuginfo-0.10.36-2.1.2.x86_64 
libgstreamer-0_10-0-debuginfo-0.10.36-3.1.2.x86_64 
libkde4-debuginfo-4.8.5-2.6.2.x86_64 libkdecore4-debuginfo-4.8.5-2.6.2.x86_64 
libksuseinstall1-debuginfo-4.8.5-2.6.2.x86_64 
liblzma5-debuginfo-5.0.3-12.2.2.x86_64 
liborc-0_4-0-debuginfo-0.4.16-6.1.2.x86_64 libpcre1-debuginfo-8.30-3.1.2.x86_64 
libpng14-14-debuginfo-1.4.11-2.5.1.x86_64 
libpython2_7-1_0-debuginfo-2.7.3-3.6.1.x86_64 
libqt4-debuginfo-4.8.1-2.1.4.x86_64
 libqt4-sql-debuginfo-4.8.1-2.1.4.x86_64 
libqt4-x11-debuginfo-4.8.1-2.1.4.x86_64 
libselinux1-debuginfo-2.0.91-19.1.15.x86_64 
libsoprano4-debuginfo-2.7.6-2.1.2.x86_64 
libsqlite3-0-debuginfo-3.7.12.1-2.1.2.x86_64 
libstdc++47-debuginfo-4.7.1_20120723-1.1.1.x86_64 
libstrigi0-debuginfo-0.7.7-2.1.2.x86_64 libudev0-debuginfo-182-4.14.1.x86_64 
libuuid1-debuginfo-2.21.2-4.2.3.x86_64 libxcb1-debuginfo-1.8.1-2.1.2.x86_64 
libxml2-2-debuginfo-2.7.8+git20120223-8.5.1.x86_64 
openmpi-debuginfo-1.5.4-4.1.4.x86_64 zlib-debuginfo-1.2.7-2.1.2.x86_64
(gdb) where
#0  0x76e4cc55 in pqApplicationCore::settings() () from 
/home/phsieh/projects/paraview-devel/lib/paraview-3.98/libvtkpqCore-pv3.98.so.1
#1  0x76e9fdd8 in pqOutputWindow::showEvent(QShowEvent*) () from 
/home/phsieh/projects/paraview-devel/lib/paraview-3.98/libvtkpqCore-pv3.98.so.1
#2  0x7fffdef4f1de in QWidget::event(QEvent*) () from 
/usr/lib64/libQtGui.so.4
#3  0x7fffdeeff74c in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib64/libQtGui.so.4
#4  0x7fffdef03c7a in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib64/libQtGui.so.4
#5  0x7fffde68a73e in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib64/libQtCore.so.4
#6  0x7fffdef511e7 in QWidgetPrivate::show_helper() () from 
/usr/lib64/libQtGui.so.4
#7  0x7fffdef514d2 in QWidget::setVisible(bool) () from 
/usr/lib64/libQtGui.so.4
#8  0x7fffdf3b362c in QDialog::setVisible(bool) () from 
/usr/lib64/libQtGui.so.4
#9  

Re: [Paraview] Paraview crashing on CentOs

2013-01-07 Thread Pradeep Jha
Hello,

you can find the data here:
http://utias.utoronto.ca/~jhapk/

Please let me know if there are any problems.
Pradeep

Le 7 janv. 2013 à 23:45, Utkarsh Ayachit utkarsh.ayac...@kitware.com a écrit :

 Can you share the data ?
 
 On Sat, Jan 5, 2013 at 12:15 AM, Pradeep Jha
 prad...@ccs.engg.nagoya-u.ac.jp wrote:
 Hello,
 
 I just downloaded the Paraview binary on CentOs. I have been using
 Paraview on Mac and another Linux machine before that for visualizing
 a data file. But when I am loading the same file here on CentOs, and
 changing the Representation to Volume, it is crashing giving me
 the following error:
 
 ERROR: In 
 /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkAlgorithm.cxx,
 line 1387
 vtkImageResample (0x18872790): Attempt to get connection index 0 for
 input port 0, which has 0 connections.
 
 Everything else is working smoothly like slicing, surface
 representation, wireframe representation etc. But the moment I turn on
 volume representation, it crashes.
 
 Any ideas?
 Thank you
 Pradeep
 ___
 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

___
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] 2D contours on a slice for a 3D data

2013-01-07 Thread Pradeep Jha
Hello,

thanks everyone. It seems like it is working.

Pradeep

Le 8 janv. 2013 à 02:58, Moreland, Kenneth kmo...@sandia.gov a écrit :

 I'd like to expand upon on Sebastian's correct but short answer.
 
 The contour filter is not going to give you the contours that you are asking 
 for.  The contour filter is going to extract the geometry representing 
 exactly the locations of the contours and nothing else.  As such, if you 
 contour a slice through your data (or somewhat equivalently take a slice 
 through your contour), you will get a bunch of lines representing where in 
 the plane the field equals the isovalue you gave. So rather than getting a 
 plane of colors as in your second example, you get the lines at the interface 
 between colors.
 
 The representation of contours you are asking for is a bit different.  You 
 want the entire geometry of the plane drawn and colored in such a way that 
 the contours are represented as sharp transitions in the colors.  Since you 
 are never actually extracting the geometry of the contours themselves, 
 running the contour filter is not appropriate for this.  Instead, as 
 Sebastian said, you want to make a slice through the data and provide a 
 coloring that represents the contours.  To set up these colors, first make 
 sure the slice is colored by the scaler value you want contours of.  Then 
 click the edit color map button to pull up the color scale editor.  Click on 
 the Use Discrete Colors option (you will need to turn on the advanced 
 properties if you are using the most recent version of ParaView) and then set 
 the resolution to be set to the number of color bands you want.
 
 -Ken
 
 From: Sebastien Jourdain sebastien.jourd...@kitware.com
 Date: Monday, January 7, 2013 6:53 AM
 To: Pradeep Jha pradeep.kumar@gmail.com
 Cc: paraview@paraview.org paraview@paraview.org
 Subject: [EXTERNAL] Re: [Paraview] 2D contours on a slice for a 3D data
 
 It seems that you just want to slice your data and eventually reduce the 
 number of color in your lookup table so you see distinct color bands.
 
 Seb
 
 
 On Sun, Jan 6, 2013 at 10:16 PM, Pradeep Jha pradeep.kumar@gmail.com 
 wrote:
 Hello,
 
 I have a 3D data (the geometry is a simple cube). I am interested in 
 looking at the 2D contour plots of a variable on a sliced plane.  Below I 
 have attached two figures. The first figure shows the slice. It only shows 
 the cross-section of the iso-surfaces of the variable I loaded in 3D. I am 
 interested in getting a contour plot, like the 2nd figure (I got this image 
 randomly from the net), of the variable values on the slice. 
 
 I hope I made myself clear :) Any ideas how I can do it?
 Thank you,
 Pradeep
 
 Slice.png
 
 contour.jpg
 
 ___
 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
 
 
 contour.jpgSlice.png

___
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] Error with Qt while installing Paraview

2013-01-07 Thread Pradeep Jha
That works.
Thanks!!


Le 8 janv. 2013 à 00:00, Yumin Yuan yumin.y...@kitware.com a écrit :

 Also, the QT_QMAKE_EXECUTABLE variable Utkarsh was talking about is a
 CMake varialble. Try to set that variable at cmake configure step.
 
 HTH,
 Yumin
 
 On Mon, Jan 7, 2013 at 9:52 AM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
 Qt 5 isn't supported  yet. Stick with 4.8.*. Although I am sure we
 will support Qt 5.0 at some point, right now there is no active effort
 to add support for the same.
 
 Utkarsh
 
 On Fri, Jan 4, 2013 at 6:42 PM, Pradeep Jha pradeep.kumar@gmail.com 
 wrote:
 Hello,
 
 I set the environment variable QT_QMAKE_EXECUTABLE in my .bashrc file to
 point to the qmake executable. In the installed Qt5.0.0 folder, I found only
 one qmake executable which was at /path_to_Qt5.0.0/5.0.0/clang_64_bin/. But
 still I am getting the same error. Any further ideas?
 
 Thank you,
 Pradeep
 
 
 2013/1/4 Utkarsh Ayachit utkarsh.ayac...@kitware.com
 
 Try setting the QT_QMAKE_EXECUTABLE variable to point to the right
 qmake executable installed by Qt.
 
 On Fri, Jan 4, 2013 at 5:01 AM, Pradeep Jha pradeep.kumar@gmail.com
 wrote:
 QT_QMAKE_EXECUTABLE
 
 
 ___
 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