CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] installing paraview for foam-extend-3.1

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2015, 03:57
Smile installing paraview for foam-extend-3.1
New Member
Join Date: Jul 2015
Posts: 11
Rep Power: 6
a.Asadi is on a distinguished road

I think I found a solution for paraview problem in foam-extend 3.1. I am not sure this is the final solution but it worked for me. actually there is a little code problem and can be solved very easy. you only need to edit 2 files and that will not take more than 2 minute ...

we know that Qt and paraview installs in stage 4. so we need to edit "AllMake.stage4" file first.

go to " /home/user-name/foam/foam-extend-3.1/ThirdParty/ " and open "AllMake.stage4" file. then add the 3 red lines in specified positions :

echo ========================================
echo Starting ThirdParty AllMake: Stage4
echo ========================================

# qt-everywhere-opensource-src-4.8.6
if [ ! -z "$QT_THIRD_PARTY" ]
echo "only a text"
( rpm_make -p qt-everywhere-opensource-src-4.8.6 -s qt-everywhere-opensource-src-4.8.6.spec -u )
echo "Using system installed QT"
echo ""

# Paraview
if [ -z "$PARAVIEW_SYSTEM" ]
echo "only a text"
# Make sure we get the value of QT_BIN_DIR initialized

if [ -d "$QT_BIN_DIR" -a -r "$QT_BIN_DIR"/qmake ]
echo "only a text"
( rpm_make -p ParaView-4.0.1 -s ParaView-4.0.1.spec -u \
-f --define='_qmakePath $QT_BIN_DIR/qmake'
# ( rpm_make -p ParaView-4.2.0 -s ParaView-4.2.0.spec -u \
# -f --define='_qmakePath $QT_BIN_DIR/qmake'
# ( rpm_make -p ParaView-4.2.0 -s ParaView-4.2.0.spec -u \
# -f --define='_qmakePath $QT_BIN_DIR/qmake'
for installing each packages there must be a " .spec " file in this folder :

" /home/user-name/foam/foam-extend-3.1/ThirdParty/rpmBuild/SPECS/ "

and this is the second problem because "qt-everywhere-opensource-src-4.8.6.spec" file is missing. you can create it by editing the "qt-everywhere-opensource-src-4.8.5.spec" file. you only need to change the 4.8.5 to 4.8.6 everywhere you see in the file. I will attach the two edited file.

now go to " /home/user-name/foam/foam-extend-3.1/ThirdParty/ " and run


I hope this works for you.

my English language is poor. if any mistakes in my statements please excuse me.

Attached Files
File Type: gz AllMake.stage4.gz (1.5 KB, 14 views)
File Type: gz qt-everywhere-opensource-src-4.8.6.spec.gz (2.4 KB, 16 views)
a.Asadi is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[] Foam extend 3.1 rpmBuild error. Saideep OpenFOAM Installation 2 September 25, 2016 19:34
[] Error in using paraview in foam-extend 3.1 Srinivasa Rao OpenFOAM Installation 3 September 5, 2015 05:43
[] OF 2.4.0 Paraview not installing correctly cbcoutinho OpenFOAM Installation 3 June 12, 2015 17:03
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 13:24
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41

All times are GMT -4. The time now is 18:27.