CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   paraview installation (http://www.cfd-online.com/Forums/openfoam-installation/100038-paraview-installation.html)

tikulju April 19, 2012 01:03

paraview installation
 
Hi all!
I'm trying to install paraview 3.12.0 to Centos-5-x86_64, but every time the build process terminates at

Code:

[ 82%] Building CXX object ParaViewCore/ServerImplementation/CMakeFiles/vtkPVServerImplementation.dir/vtkPVSessionCore.cxx.o
In file included from /opt/share/apps/OpenFOAM/ThirdParty-2.1.0/ParaView-3.12.0/ParaViewCore/ServerImplementation/vtkPVSessionBase.cxx:22:0:
/opt/share/apps/OpenFOAM/ThirdParty-2.1.0/ParaView-3.12.0/ParaViewCore/ServerImplementation/vtkSMMessage.h:30:29: serious error: vtkPVMessage.pb.h: no such file or directory
compilation terminated.

and later

Code:

/opt/share/apps/OpenFOAM/ThirdParty-2.1.0/build/linux64Gcc45/paraview-3.12.0/bin/protoc: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.10' not found (required by /opt/share/apps/OpenFOAM/ThirdParty-2.1.0/build/linux64Gcc45/paraview-3.12.0/bin/libprotobuf.so)
/opt/share/apps/OpenFOAM/ThirdParty-2.1.0/build/linux64Gcc45/paraview-3.12.0/bin/protoc: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.10' not found (required by /opt/share/apps/OpenFOAM/ThirdParty-2.1.0/build/linux64Gcc45/paraview-3.12.0/bin/libprotoc.so)
/opt/share/apps/OpenFOAM/ThirdParty-2.1.0/build/linux64Gcc45/paraview-3.12.0/bin/protoc: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /opt/share/apps/OpenFOAM/ThirdParty-2.1.0/build/linux64Gcc45/paraview-3.12.0/bin/libprotoc.so)
/opt/share/apps/OpenFOAM/ThirdParty-2.1.0/build/linux64Gcc45/paraview-3.12.0/bin/protoc: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /opt/share/apps/OpenFOAM/ThirdParty-2.1.0/build/linux64Gcc45/paraview-3.12.0/bin/libprotoc.so)

Any ideas? I've tried to use different cmake and qt versions, but no luck so far. Below is the setup of makeParaview script:

Code:

withMPI=true
MPI_MAX_PROCS=32

# Python support:
# note: script will try to determine the appropriate python library.
#      If it fails, specify the path using the PYTHON_LIBRARY variable
withPYTHON=true
#PYTHON_LIBRARY="/usr/lib64/libpython2.4.so.1.0"
 PYTHON_LIBRARY="/usr/lib64/libpython2.6.so.1.0"

# MESA graphics support:
withMESA=true
MESA_INCLUDE="/usr/include/GL"
MESA_LIBRARY="/usr/lib64/libOSMesa.so"

# extra QT gui support (useful for some third party apps)
withQT=true

# Set the path to the Qt-4.5 (or later) qmake if the system Qt is older
QMAKE_PATH="/opt/share/apps/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc45/qt-4.6.2/bin/qmake"

# Set the path to cmake
CMAKE_PATH="/opt/share/apps/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc45/cmake-2.8.3/bin"

Cheers,
Timo

tikulju April 19, 2012 04:59

solution found
 
Hi!
Ok, I found the solution. Installing OpenFOAM with centFOAM, and compiling ParaView-3.10.1 instead of 3.12.0 solved the problem. In addition one has to modify the
Quote:

$WM_PROJECT_DIR/etc/config/paraview.sh
, so that
Quote:

ParaView_VERSION=3.10.1.
More hints and detailed instructions can be found from
http://www.cfd-online.com/Forums/blo...-qt-4-6-4.html

Cheers,
Timo


All times are GMT -4. The time now is 01:48.