Re: [Paraview] compiling from CVS, vtkSocketCommunicator.cxx:420: error

2009-06-30 Thread Brad King

Utkarsh Ayachit wrote:

Can you check is a file named VTK/Parallel/vtkSocketCommunicatorHash.h
was generated. Look at it's contents. Does it look something as such:

#ifndef vtkSocketCommunicatorHash
# define vtkSocketCommunicatorHash 5827858305bd3f3ec0c8b5e8836b390f
#endif


What version of CMake are you using (cmake --version)?

Also, the file

  VTK/Parallel/CMakeFiles/vtkParallel.dir/build.make

should appear in the build tree.  Please post it.

Thanks,
-Brad
___
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] compiling from CVS, vtkSocketCommunicator.cxx:420: error

2009-06-30 Thread Brad King

Ricardo Reis wrote:

On Tue, 30 Jun 2009, Brad King wrote:


Ricardo Reis wrote:

$ ../../bin/vtkHashSource
../../bin/vtkHashSource: error while loading shared libraries: 
libvtksys.so.pv3.7: cannot open shared object file: No such file or 
directory


Ah, so the executable fails to run because it cannot find shared
libraries it needs.  Did you change any RPATH options when configuring
paraview in ccmake?  Please post your CMakeCache.txt file.


I always set VTK_USE_RPATH NO

because if not I'm unable to install it to other dir (I usually use 
/opt/paraview).


Okay, I've committed a fix to make vtkHashSource always use RPATH.
It is not installed and it only needs to run from the build tree.

-Brad

___
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] compiling from CVS, vtkSocketCommunicator.cxx:420: error

2009-06-30 Thread Ricardo Reis

On Tue, 30 Jun 2009, Brad King wrote:


I always set VTK_USE_RPATH NO

because if not I'm unable to install it to other dir (I usually use 
/opt/paraview).


Okay, I've committed a fix to make vtkHashSource always use RPATH.
It is not installed and it only needs to run from the build tree.


just to make shure, I think I might have induced you in error, I meant

RPATH OFF

(it was NO of NOT and not NO of dislexic ON)

 my apologies for the possible confusion


 Ricardo Reis

 'Non Serviam'

 PhD candidate @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/___
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] compiling from CVS, vtkSocketCommunicator.cxx:420: error

2009-06-30 Thread Brad King
Ricardo Reis wrote:
 On Tue, 30 Jun 2009, Brad King wrote:
 
 I always set VTK_USE_RPATH NO

 because if not I'm unable to install it to other dir (I usually use
 /opt/paraview).

 Okay, I've committed a fix to make vtkHashSource always use RPATH.
 It is not installed and it only needs to run from the build tree.
 
 just to make shure, I think I might have induced you in error, I meant
 
 RPATH OFF
 
 (it was NO of NOT and not NO of dislexic ON)
 
  my apologies for the possible confusion

I understood.  The problem is that vtkHashSource needs to run at build
time and it needs to find libvtksys.so when it runs.  Without RPATH
it cannot find the shared library it needs.  The fix is to use RPATH
for that executable regardless of the value of VTK_USE_RPATH.

A full fix would be to create a launcher for the tool just like those
created for the main paraview executables.  However, the executable is
not installed so that is overkill.

-Brad
___
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] compiling from CVS, vtkSocketCommunicator.cxx:420: error

2009-06-30 Thread Ricardo Reis


 everything working like a charm.

 thanks!

 Ricardo Reis

 'Non Serviam'

 PhD candidate @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/___
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] compiling from CVS, vtkSocketCommunicator.cxx:420: error

2009-06-29 Thread Moreland, Kenneth
It looks like perhaps CMake did not generate a header file correctly.  You 
might try doing a clean build.  That is, delete your binary directory and make 
a new build from scratch.

-Ken


On 6/28/09 9:10 AM, Ricardo Reis rr...@aero.ist.utl.pt wrote:



  I'm having this error compiling paraview. I did a fresh checkout from
cvs.

  [ 34%] Built target vtkVolumeRenderingPython
[ 34%] Building CXX object
VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkSocketCommunicator.o
/home/rreis/on_hold/src/ParaView3/VTK/Parallel/vtkSocketCommunicator.cxx:
In member function âint vtkSocketCommunicator::ServerSideHandshake()â:
/home/rreis/on_hold/src/ParaView3/VTK/Parallel/vtkSocketCommunicator.cxx:420:
error: âvtkSocketCommunicatorHashâ was not declared in this scope
/home/rreis/on_hold/src/ParaView3/VTK/Parallel/vtkSocketCommunicator.cxx:
In member function âint vtkSocketCommunicator::ClientSideHandshake()â:
/home/rreis/on_hold/src/ParaView3/VTK/Parallel/vtkSocketCommunicator.cxx:556:
error: âvtkSocketCommunicatorHashâ was not declared in this scope
make[2]: ***
[VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkSocketCommunicator.o] Error 1
make[1]: *** [VTK/Parallel/CMakeFiles/vtkParallel.dir/all] Error 2
make: *** [all] Error 2

  any ideas?

  this is a linux machine

  best,

  Ricardo Reis

  'Non Serviam'

  PhD candidate @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/rreis/



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] compiling from CVS, vtkSocketCommunicator.cxx:420: error

2009-06-29 Thread Ricardo Reis

On Mon, 29 Jun 2009, Moreland, Kenneth wrote:

It looks like perhaps CMake did not generate a header file correctly. 
You might try doing a clean build.  That is, delete your binary 
directory and make a new build from scratch.


Using that hint I did:

 - rm -rf all dirs

 - fresh checkout

 - ccmake ../ParaView3, make and the error persisted

 but the error persists :|




 Ricardo Reis

 'Non Serviam'

 PhD candidate @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/___
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