Re: [Paraview] Linker error with OpenMPI 1.6.2

2013-01-04 Thread Stephan Rogge
Utkarsh,

I've used the latest git master version. I'll send you the CmakeCache.txt
with a separate mail.

Best regards,
Stephan

-Ursprüngliche Nachricht-
Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] 
Gesendet: Donnerstag, 3. Januar 2013 15:52
An: Stephan Rogge
Cc: ParaView
Betreff: Re: [Paraview] Linker error with OpenMPI 1.6.2

What version of ParaView is this? Can you attach your CmakeCache.txt file?

Utkarsh

On Thu, Jan 3, 2013 at 9:46 AM, Stephan Rogge stephan.ro...@tu-cottbus.de
wrote:
 Happy new year,



 I’ve tried to use a newer version of OpenMPI (1.4.4 = 1.6.2) with PV 
 from git master. Unfortunately, I was not able to build ParaView
successfully.

 A linker error comes from the vtkParallelMPI project. When I look into 
 the project file I can see that libmpi.lib and libmpi_cxx.lib are set
correctly.



 vtkMPICommunicator.cxx.obj : error LNK2001: Unknown external Symbol 
 ompi_mpi_file_null.

 vtkMPIController.cxx.obj : error LNK2001: Unknown external Symbol 
 ompi_mpi_file_null.

 …



 I have no idea, why this failure occurs. Compiling the same PV from 
 git master with OpenMPI 1.4.4 still works.



 Thanks,

 Stephan


 ___
 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


[Paraview] Error with Qt while installing Paraview

2013-01-04 Thread Pradeep Jha
Hello,

I am trying to install the developmental version of Paraview on Mac OS X 10.8. 
I was following the instructions given on this 
(http://paraview.org/Wiki/ParaView:Build_And_Install) page. I have also 
installed the latest version of Qt for Mac from this 
(http://qt-project.org/downloads) page. Still, when I am running the ccmake 
command, it gives me the following error:


Make Error at CMakeLists.txt:313 (message):
   Qt 4.7.0 or greater not found.  Please check the QT_QMAKE_EXECUTABLE
   variable.

 CMake Error at /Applications/CMake
 
2.8-10.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
 (message):
   Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
   QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
   QT_QTCORE_LIBRARY) (Required is at least version 4.7.0)
 Call Stack (most recent call first):
   /Applications/CMake 
2.8-10.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291
 (_FPHSA_FAILURE_MESSAGE)
   /Applications/CMake 
2.8-10.app/Contents/share/cmake-2.8/Modules/FindQt4.cmake:1223
 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   VTK/GUISupport/Qt/CMakeLists.txt:57 (find_package)


Any ideas what am I doing wrong?

Thanks,
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


Re: [Paraview] Error with Qt while installing Paraview

2013-01-04 Thread Utkarsh Ayachit
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] Linker error with OpenMPI 1.6.2

2013-01-04 Thread Utkarsh Ayachit
Looking at your cache, it is possible that MPI_C_LIBRARIES and
MPI_CXX_LIBRARIES cmake variables need to include some more libraries.
There's some argument to mpicc that will tell you the link link. Can
you ensure that all the libraries are setup as required. I vaguely
remember there are other ompi libraries that need to be included as
well.

Utkarsh

On Fri, Jan 4, 2013 at 4:18 AM, Stephan Rogge
stephan.ro...@tu-cottbus.de wrote:
 Utkarsh,

 I've used the latest git master version. I'll send you the CmakeCache.txt
 with a separate mail.

 Best regards,
 Stephan

 -Ursprüngliche Nachricht-
 Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
 Gesendet: Donnerstag, 3. Januar 2013 15:52
 An: Stephan Rogge
 Cc: ParaView
 Betreff: Re: [Paraview] Linker error with OpenMPI 1.6.2

 What version of ParaView is this? Can you attach your CmakeCache.txt file?

 Utkarsh

 On Thu, Jan 3, 2013 at 9:46 AM, Stephan Rogge stephan.ro...@tu-cottbus.de
 wrote:
 Happy new year,



 I’ve tried to use a newer version of OpenMPI (1.4.4 = 1.6.2) with PV
 from git master. Unfortunately, I was not able to build ParaView
 successfully.

 A linker error comes from the vtkParallelMPI project. When I look into
 the project file I can see that libmpi.lib and libmpi_cxx.lib are set
 correctly.



 vtkMPICommunicator.cxx.obj : error LNK2001: Unknown external Symbol
 ompi_mpi_file_null.

 vtkMPIController.cxx.obj : error LNK2001: Unknown external Symbol
 ompi_mpi_file_null.

 …



 I have no idea, why this failure occurs. Compiling the same PV from
 git master with OpenMPI 1.4.4 still works.



 Thanks,

 Stephan


 ___
 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


[Paraview] Crash after loading a state with plots at time unequal zero

2013-01-04 Thread Christian Andreas

Hello,
I wrote a paraview reader (paraview 3.14.1  64 bit - self compiled - on 
a kubuntu linux machine )  for a custom file format using two outputs 
with unstructured grid data as well as time dependency. As long as only 
3D filters (clipping, contour, etc. ) are applied to the outputs, state 
files can be saved and loaded again without problems.
Trouble starts, when I use 2D filters such as Histogram or Plot-Lines. 
The filters can be applied, which results in the typical behavior of 
Paraview such as  splitting of the view into a 3D and a 2D region. A 
state file can be saved and the program works stable as long as the 
state is open.
If I try to open a saved state file again it works if the state was 
saved at t=0, which is the first time value. For higher time values 
paraview crashes during the loading procedure with error message


X Error: BadColor (invalid Colormap parameter) 12
Major opcode: 1 (X_CreateWindow)
Resource id:  0x821

Some more observations:
1. While for the t=0 state files the layout is split into the 3d and the 
2d region, it remains gray (without a 3D or 2D region) for state files 
with t0.
2. The error occurs after the RequestData of my reader and for a short 
moment a window with the 2D data is shown on the screen as a decoupled 
window.
3. I removed the Bar/line view and saved the state at t0. In that case 
the state can be loaded properly too.
4. There is no difference between using the first or the second output 
of the reader as input for the Histogram.


I would be very happy if someone could give me a hint to solve this problem.

Best regards
Christian





--
Christian Andreas
IPCMS - Department of Magnetic Objets on the NanoScale (DMONS)
23, rue du Loess
BP 43
F-67034 STRASBOURG CEDEX 2
FRANCE

Phone : (33) 3 88 10 70 84
Fax : (33) 3 88 10 72 49

___
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] Display integration point centered data

2013-01-04 Thread Eduardo
Burlen:

I got the paper and it seems to be what I need. I was just wondering
though if there is any example that can be opened with Paraview. As
far as I can understood, there is a code example. But what I really
would like to have is a file example with data at integration point
(let say a scalar or vector) to be displayed.

Many thanks,
Eduardo

On Wed, Jan 2, 2013 at 3:07 PM, Burlen Loring blor...@lbl.gov wrote:
 Hi Eduardo,

 You could visualize data on quadrature points, see
 http://www.vtk.org/Wiki/File:VTK-Quadrature-Point-Design-Doc.pdf for some
 details. There is a ctest that demonstrates the functionality, and those
 filters are found in ParaView. There may be some newer features that I don't
 know of, but this should get you started.

 Burlen


 On 01/02/2013 06:07 AM, Eduardo wrote:

 Hi all,

 I am looking for how I can display data that is centered at
 integration quadrature point of elements in a mesh. Is that possible
 or I can only display data that is centered at vertices and elements?

 Can someone give some pointers on how I can do that. I couldn't find
 googling the web.

 Thanks in advance,
 Eduardo
 ___
 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


[Paraview] ParaView 3.98 NRRD reader does not support ASCII encoding

2013-01-04 Thread Russell M. Taylor II
The NRRD specification 
(http://teem.sourceforge.net/nrrd/format.html#general.4, paragraph 4) 
states that all readers must support raw and ASCII encoding, but when 
I open a NRRD file with either ascii or ASCII encoding, ParaView 
reports ERROR: In 
C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\Image\vtkNrrdReader.cxx, 
line 377 vtkPNrrdReader (0CF65C70): Unsupported encoding: ascii.


If I lie to it and tell it that it is raw encoding, the file loading 
completes (with garbage values, of course), so it does not seem to be 
a problem with the format of the NRRD header file I am using.


Unfortunately, this is preventing me from switching from legacy VTK 
readers to the NRRD reader as my conversion example in by 
visualization class being taught this spring.  I like the 
detatched-headers feature of NRRD, which keeps folks from having to 
hand-edit their giant data files, but I do need to be able to have 
them support the reading of ASCII files.


Is implementing ASCII support on the future list?  If so, any idea of 
the timeline?


Thanks,
Russ


---
Russell M. Taylor II, Ph.D.   tayl...@cs.unc.edu
CB #3175, Sitterson Hallwww.cs.unc.edu/~taylorr
University of North Carolina, Voice: (919) 962-1701
Chapel Hill, NC 27599-3175FAX:   (919) 962-1799  


___
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


[Paraview] ParaView 3.98 contour filter Compute scalars misbehaves

2013-01-04 Thread Russell M. Taylor II
After loading a data file with more than one data set in it (for 
example, the VTK file stored in 
http://www.cs.unc.edu/~taylorr/temp/Mcneil_CNTs.zip), application of 
the contour filter does not allow me to click the Compute Scalars 
checkbox (it is grayed out).  If I compute a range of values (Delete 
All/New Range) and Contour by Result1, it does not carry Result1 
into the output.  Therefore, I cannot color the contours by the value 
I used to generate them.


Workaround shows another problem: If I use the Calculator on the 
original data set and make a Result1copy data set from Result1 and 
then Contour the output of the calculator by Result1, then it carries 
through Result1 and Result2 but not Result1copy.  I would have 
expected it to keep Result2 and Result1copy.  If I contour by 
Result1copy, it still carries through Result1 and Result2.


I'll add the workaround into my homework description for the class 
this semester, but it would be good if the checkbox was not grayed 
out so we could select the behavior that we usually want from this 
filter.  It used to work in an older version.


Thanks,
Russ


---
Russell M. Taylor II, Ph.D.   tayl...@cs.unc.edu
CB #3175, Sitterson Hallwww.cs.unc.edu/~taylorr
University of North Carolina, Voice: (919) 962-1701
Chapel Hill, NC 27599-3175FAX:   (919) 962-1799  


___
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 3.98 NRRD reader does not support ASCII encoding

2013-01-04 Thread Moreland, Kenneth
I hadn't any plans to implement ASCII encoding in the NRRD reader, and I
don't know of anyone else making any edits to it.


The problem with ASCII encoding is that there is no straightforward way to
implement parallel reading of the data (because offsets cannot be
determined), and one of the main practical functions of the NRRD reader is
to be able to read very large raw arrays from files.

I wouldn't think it would be too hard to implement ASCII encodings.  It
could just fail or do something stupid if run in parallel.

-Ken

On 1/4/13 2:15 PM, Russell M. Taylor II tayl...@cs.unc.edu wrote:

The NRRD specification
(http://teem.sourceforge.net/nrrd/format.html#general.4, paragraph 4)
states that all readers must support raw and ASCII encoding, but when
I open a NRRD file with either ascii or ASCII encoding, ParaView
reports ERROR: In 
C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\Image\vtkNrrdReader.cxx,
line 377 vtkPNrrdReader (0CF65C70): Unsupported encoding: ascii.

If I lie to it and tell it that it is raw encoding, the file loading
completes (with garbage values, of course), so it does not seem to be
a problem with the format of the NRRD header file I am using.

Unfortunately, this is preventing me from switching from legacy VTK
readers to the NRRD reader as my conversion example in by
visualization class being taught this spring.  I like the
detatched-headers feature of NRRD, which keeps folks from having to
hand-edit their giant data files, but I do need to be able to have
them support the reading of ASCII files.

Is implementing ASCII support on the future list?  If so, any idea of
the timeline?

Thanks,
Russ


---
Russell M. Taylor II, Ph.D.   tayl...@cs.unc.edu
CB #3175, Sitterson Hallwww.cs.unc.edu/~taylorr
University of North Carolina, Voice: (919) 962-1701
Chapel Hill, NC 27599-3175FAX:   (919) 962-1799

___
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-04 Thread Pradeep Jha
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


[Paraview] Paraview is running slow

2013-01-04 Thread Pradeep Jha
Hello,

I installed Paraview on my Macbook Air with 1 processor and on a Linux
Machine with 32 processors. On both the systems I installed the the binary
form of Paraview (not from source code). I opened the same binary data file
on both systems which is 512 MB in size, but I find that the Paraview on
Linux is running far slower than the Mac. I am executing Paraview on both
machines by simply calling the paraview executable from command line.

I am the only user on both machines, so it is not affected by other users.

The processor information of both machines are given below.  Any ideas if I
am doing something wrong?

Thank you,
Pradeep

=
Processor information:
=

--
Mac
--
[pradeep@laptop ~]$sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz
[pradeep@laptop ~]$system_profiler | grep Processor
  Processor Name: Intel Core i7
  Processor Speed: 2 GHz
  Number of Processors: 1

--
Linux
--
processor : 31
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2687W 0 @ 3.10GHz
stepping : 7
cpu MHz : 1200.000
cache size : 20480 KB
physical id : 1
siblings : 16
core id : 7
cpu cores : 8
apicid : 47
initial apicid : 47
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp
lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc
aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16
xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat
epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 6184.20
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
___
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


[Paraview] Paraview crashing on CentOs

2013-01-04 Thread Pradeep Jha
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