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

[foam-extend.org] installing paraview for foam-extend-3.1

Register Blogs Community New Posts Updated Threads Search

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

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 :

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

# qt-everywhere-opensource-src-4.8.6
if [ ! -z "$QT_THIRD_PARTY" ]
echo "only a text"
then
( rpm_make -p qt-everywhere-opensource-src-4.8.6 -s qt-everywhere-opensource-src-4.8.6.spec -u http://download.qt-project.org/offic...c-4.8.6.tar.gz )
else
echo "Using system installed QT"
echo ""
fi

# Paraview
if [ -z "$PARAVIEW_SYSTEM" ]
echo "only a text"
then
# Make sure we get the value of QT_BIN_DIR initialized
. $WM_PROJECT_DIR/etc/settings.sh

if [ -d "$QT_BIN_DIR" -a -r "$QT_BIN_DIR"/qmake ]
echo "only a text"
then
( rpm_make -p ParaView-4.0.1 -s ParaView-4.0.1.spec -u http://downloads.sourceforge.net/pro...0.1-source.tgz \
-f --define='_qmakePath $QT_BIN_DIR/qmake'
# ( rpm_make -p ParaView-4.2.0 -s ParaView-4.2.0.spec -u http://www.paraview.org/files/v4.2/P...-source.tar.gz \
# -f --define='_qmakePath $QT_BIN_DIR/qmake'
# ( rpm_make -p ParaView-4.2.0 -s ParaView-4.2.0.spec -u http://downloads.sourceforge.net/pro...2.0-source.tgz \
# -f --define='_qmakePath $QT_BIN_DIR/qmake'
)
else
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

./AllMake.stage4

I hope this works for you.

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

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

Reply


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.org] Foam extend 3.1 rpmBuild error. Saideep OpenFOAM Installation 2 September 25, 2016 19:34
[foam-extend.org] Error in using paraview in foam-extend 3.1 Srinivasa Rao OpenFOAM Installation 3 September 5, 2015 05:43
[OpenFOAM.org] 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 10:19.