CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

paraview installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2012, 01:03
Default paraview installation
  #1
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 21
Rep Power: 8
tikulju is on a distinguished road
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 is offline   Reply With Quote

Old   April 19, 2012, 04:59
Default solution found
  #2
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 21
Rep Power: 8
tikulju is on a distinguished road
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
tikulju is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 18:26
Installation problem with ParaView 3.8.0 on openSUSE 11.2 aero_ OpenFOAM Paraview & paraFoam 14 August 2, 2010 18:13
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 12:59


All times are GMT -4. The time now is 05:31.