CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 (http://www.cfd-online.com/Forums/openfoam-installation/107396-installation-problem-paraview-3-12-0-scientific-linux-5-7-a.html)

Wley September 26, 2012 06:57

Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7
 
1 Attachment(s)
Dear All,

Being a newbie in Linux I am trying to install Openfoam-ParaView on Scientific Linux 5.7. I would be grateful to a forum member who could provide me with a hint to solve a problem with ParaView 3.12.0 installation.

I have to compile OpenFOAM and ParaView from source packages. After downloading OpenFOAM-2.1.1.tgz and ThirdParty-2.1.1.tgz, unpacking them I have finally succeeded in compiling OpenFOAM (after installing gcc-4.7.1).

Now, however, I am struggling with the compilation process of ParaView. First, I installed cmake (version 2.8.9) and Qt (version 4.7.3). Nevertheless, something is still wrong with the installation process of ParaView. I attach the make.log file and would be very grateful if someone could tell me what the problem is and how I can manage it.

Thank you!
Wley

treima September 26, 2012 09:53

Hi,

perhaps this is no the answer you expected and I think there are others who can help you here.

But if you canīt manage it to install Paraview, you can download the binaries from the homepage and work with these.
http://www.paraview.org/paraview/resources/software.php


regards

treima

wyldckat September 28, 2012 06:06

Greetings to all!

@Wley: I've been testing and writing instructions on how to build OpenFOAM and ParaView in several Linux Distributions. Last night I finished writing instructions for CentOS 5.8 + OpenFOAM 2.1.1 and ParaView 3.12.0: http://openfoamwiki.net/index.php/In...HEL#CentOS_5.8

But there are big differences in versions, at least related to Gcc and Qt. Since you're trying to build with Gcc 4.7.1, ParaView needs a small fix:
Code:

cd $WM_THIRD_PARTY_DIR
sed -i -e 's/ClearAndSelect = Clear | Select/ClearAndSelect = static_cast<int>(Clear) | static_cast<int>(Select)/' \
ParaView-3.12.0/Qt/Core/pqServerManagerSelectionModel.h

I got this from the instructions for Fedora 17: http://openfoamwiki.net/index.php/In...dora#Fedora_17

As for Qt: it's better to use Qt 4.6.4, because there is a very annoying bug in Qt 4.7.3: https://bugreports.qt-project.org/browse/QTBUG-18910


You'll find on the first link on this post instructions for easily getting and building Qt 4.6.4 and ParaView with. Along with the fix I mentioned afterwards, you should get a working installation after a few hours of compiling ;)

Best regards,
Bruno


All times are GMT -4. The time now is 02:34.