Re: [Paraview] paraview installation error

2013-03-12 Thread David E DeMarle
These look like two separate issues to me.

On Tue, Mar 12, 2013 at 1:40 AM, Pradeep Jha 
prad...@ccs.engg.nagoya-u.ac.jp wrote:

 I am trying to install Paraview on a supercomputer with OSMesa support. I
 have installed OSMesa and everything else required and set my
 configurations according to this 
 pagehttp://paraview.org/Wiki/ParaView/Users_Guide/Parallel_Rendering#Offscreen_Software_Rendering_via_OSMesain
  the cmake file.

 The only thing is I cannot find the libGLU.so on the computer. To install
 the libGLU, when I use the rpm file, I get the following output:

 
 [k00603@fe01p08 HH-1298]$rpm2cpio
 /home/hp120242/k00603/distfiles/HH-1298/mesa-libGLU-6.5.1-7.10.el5.x86_64.rpm
 | cpio -id
 cpio: ./usr/lib64/libGLU.so.1 not created: newer or same age version exists
 cpio: ./usr/lib64/libGLU.so.1.3.060501 not created: newer or same age
 version exists
 1026 blocks

 

 When I did:
 ---
 [k00603@fe01p09 ~]$locate libGLU
 /usr/lib/libGLU.so.1
 /usr/lib/libGLU.so.1.3.060501
 /usr/lib64/libGLU.so.1
 /usr/lib64/libGLU.so.1.3.060501
  
 so I set the OPENGL_glu_LIBRARY environment to /usr/lib64/libGLU.so.1
 and generate the Makefile using Cmake.


That seems like it should be fine. The RPM is just telling you that you
already have a GLU.
FWIW: Personally I've always just downloaded Mesa source and built it
myself locally rather than using the package manager to install it for
everyone. Doing so I'm sure to use the libGLU that comes with mesa.


After this when I run the make command, I am getting the following error:

 
 [ 87%] Built target vtkRenderingMatplotlibCS
 [ 88%] Built target vtkPVServerManagerRenderingCS
 [ 89%] Built target vtkRenderingLODCS
 [ 90%] Built target vtkPVServerManagerDefaultCS
 Linking CXX shared library ../../../lib/
 libvtkPVServerManagerApplication-pv3.98.sohttp://libvtkpvservermanagerapplication-pv3.98.so/
 CMakeFiles/vtkPVServerManagerApplication.dir/vtkInitializationHelper.cxx.o:
 In function `PARAVIEW_CSSTREAMS_INITIALIZE(vtkClientServerInterpreter*)':
 vtkInitializationHelper.cxx:(.text+0x355): undefined reference to
 `vtkFiltersParallelMPICS_Initialize'
 collect2: ld returned 1 exit status
 make[2]: *** [lib/libvtkPVServerManagerApplication-pv3.98.so.1] Error 1
 make[1]: ***
 [ParaViewCore/ServerManager/SMApplication/CMakeFiles/vtkPVServerManagerApplication.dir/all]
 Error 2
 make: *** [all] Error 2
 
 


This error is entirely different and doesn't have anything to do with Mesa.
It is saying that the vtk library vtkFiltersParallelMPI isn't right. Are
you using an external VTK by any chance, and one without MPI turned on in
cmake? If so, don't. The ability to use an external VTK, rather than the
one that comes inside VTK is still brand new in ParaView 3.98. If not, can
you send me the CMakeCache.txt in you build tree? I might be able to spot
what is wrong from that.


 Any ideas what am I doing wrong?

 ___
 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] VTK error in server mode

2013-03-12 Thread Ryan Abernathey
Hello,

I have been running paraview in client server mode. I recently decided to
upgrade my setup for version 3.14 to the latest version. My client version
is now 3.98.1 64-bit on Mac OS 10.7.5. It works fine.

On the server, I build paraview from source with MPI support following the
online instructions. I updated my git repository, which apparently gave me
version 3.98.1-112-g9dd3ee9. Is this correct? Is this a stable version? I
don't understand the subtleties of git.

The build goes fine, and I am able to run pvserver and connect to it from
my client as usual.

The problem arises when I try to read in a VTK file. This file worked
absolutely fine on the server in version 3.14. It also works fine on my
local machine in 3.98.1. However, when I try to load it on the server in
version 3.98.1-112-g9dd3ee9, I get this error:

ERROR: In
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVArrayInformation.cxx,
line 721
vtkPVArrayInformation (0x11ca92270): Error parsing range of component.

In the information tab, the data range shows as
THETA: double [1e+299,-1e+299]
To me this looks like an error in endianness or something like that.
(For reference, the vtk file is online here:
http://www-pord.ucsd.edu/~rpa/THETA.00.vtr)

I don't understand this error. I fear that I am using some sort of unstable
development branch, but I don't know how to check out / build a different
version.

Any advice you have would be greatly appreciated.

-Ryan Abernathey
___
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] VTK error in server mode

2013-03-12 Thread Utkarsh Ayachit
 On the server, I build paraview from source with MPI support following the
 online instructions. I updated my git repository, which apparently gave me
 version 3.98.1-112-g9dd3ee9. Is this correct? Is this a stable version? I
 don't understand the subtleties of git.


You've checked out a development version. To work with the 3.98.1
ParaView client, checkout 3.98.1 as follows;

 git checkout v3.98.1
 git submodule update

The version mismatch explains the errors that you're seeing.

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