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

install openfoam in fedora

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2010, 10:44
Default
  #21
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Fantastic Maysam! Well done!
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 2, 2010, 11:19
Default how to install the gcc-4.3.3 in the right place
  #22
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
please how to write the gcc-4.3.3 to the right place ?
and how to install it. when i do this command
$ export ~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/compile=~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux/gcc-4.3.3
this appairs
bash: export: `~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/compile=~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux/gcc-4.3.3': not a valid identifier

Last edited by Ahmed Khattab; March 3, 2010 at 19:15.
Ahmed Khattab is offline   Reply With Quote

Old   March 8, 2010, 20:12
Default
  #23
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 16
bruxellois is on a distinguished road
Hi gwierink
I see that you are a professional in Linux and openfoam, please help me to install openfoam in fedora 11, i didn't understand anything i don't exaggerate if i say that my future depends help me plzzz. I downloaded all the files and i created the openfoam directory but I’m stopped there, how to install it and how to install the gcc I’m not good in Linux can you please write to me the codes step by step pleasssssse. I'm under fedora 64bit
Thanks a lot.
bruxellois is offline   Reply With Quote

Old   March 10, 2010, 04:06
Default
  #24
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi guys,

@Ahmed:
Quote:
please how to write the gcc-4.3.3 to the right place ?
and how to install it.
Please read the post, it is explained above.

Quote:
when i do this command
$ export ~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/compile=~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux/gcc-4.3.3
You don't need this. Are you trying to set the right environment variables? This is explained in this thread.


@Abdelhafidh:
Quote:
I see that you are a professional in Linux and openfoam
Well, thank you, but I'm just a PhD student playing around with it a bit .

Have you followed the method higher up in this thread? That should do the trick.
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   April 19, 2010, 12:55
Default
  #25
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by maysmech View Post
i find directories to paraview directory but not more because not same as your format!

/home/maysmech/OpenFOAM/ThirdParty-1.6/ParaView3.6.1
no it because you have removed it
rm -rf /$home/OpenFOAM/ThirdPArty-1.6/paraview-3.6.1/pltforms
Ahmed Khattab is offline   Reply With Quote

Old   April 19, 2010, 14:30
Default
  #26
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
please can you explain the steps you done after downloading qt
Ahmed Khattab is offline   Reply With Quote

Old   April 19, 2010, 14:33
Default
  #27
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by maysmech View Post
my problem was solved.
i update my Qt version by typing this command on terminal.



Code:
su -c 'yum update qt'


Now paraView works.
thank you dear Gijsbert.
please can you explain the steps you done after downloading qt
Ahmed Khattab is offline   Reply With Quote

Old   April 20, 2010, 07:16
Default
  #28
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
First, go to a convenient directory. In my case I make a directory containing all kinds of loose things, called "tmp" in my home dir). So, open up a terminal and
Code:
mkdir tmp && cd tmp
Now you're in your newly made tmp directory, get Qt-4.3.5
Code:
wget http://ftp3.ie.freebsd.org/pub/trolltech/pub/qt/source/qt-x11-opensource-src-4.3.5.tar.gz
Then, extract it
Code:
tar xzf qt-x11-opensource-src-4.3.5.tar.gz
Go into the inflated qt directory
Code:
cd qt-x11-opensource-src-4.3.5.tar.gz
and configure Qt for building by
Code:
./configure
Then, make Qt by
Code:
make
or
Code:
gmake
Finally, become root and actually install Qt
Code:
su
Code:
make install
or
Code:
gmake install
(you need to be root (su=superuser) to have write permission in /usr/, which is what you need when installing).

To get your system and OF find Qt, add its path to $HOME/.bashrc by

Code:
gedit $HOME/.bashrc
and add the lines
Code:
PATH=/home/gijsbert/tmp/qt-x11-opensource-src-4.3.5/bin:$PATH
export PATH
Save $HOME/.bashrc and source it by
Code:
. $HOME/.bashrc
(don't forget the dot (".") at the beginning).

Hope this helps you on your way .
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   April 20, 2010, 12:13
Unhappy paraview
  #29
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
thanks for you
after i did that i tried to install paraview

cd /home/ahmed/OpenFOAM/ThirdParty-1.6
./makeParaView

Error: cannot find qmake either at $QMAKE_PATH or in current $PATH

what can i do
Ahmed Khattab is offline   Reply With Quote

Old   April 20, 2010, 12:29
Default
  #30
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hmm, ok, what do
Code:
which qmake
and
Code:
qmake --version
say?

PS Just to be sure, you did add the Qt path (as above in this thread), source command for OpenFOAM to $HOME/.bashrc and source the latter, right?
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   April 21, 2010, 03:45
Lightbulb
  #31
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
1111111111

Last edited by maysmech; May 3, 2010 at 13:40.
maysmech is offline   Reply With Quote

Old   September 23, 2011, 11:35
Default
  #32
New Member
 
M.Sanchez
Join Date: Sep 2011
Posts: 2
Rep Power: 0
MSAN is on a distinguished road
Hello
I am attempting to run OF on fedora 15 32 bits. I have built the sources as explained in the tutorial:
http://www.openfoam.com/download/source.php

but now, I have the same probleme as Rebel Ahmed, i.e:
when executing:
Code:
cd /home/ahmed/OpenFOAM/ThirdParty-1.6
./makeParaView
the reply is:
Code:
Error: cannot find qmake either at $QMAKE_PATH or in current $PATH
Qt4 is already installed and up to date ...

my bash do not reconize the "qmake" command but there is a "qmake-qt4" command

I saw in the "makeParaView" file that I could change the qmake path but I am unable to locate it ...

If someone would help me ...

THX

M.
MSAN is offline   Reply With Quote

Old   September 23, 2011, 12:11
Default
  #33
New Member
 
M.Sanchez
Join Date: Sep 2011
Posts: 2
Rep Power: 0
MSAN is on a distinguished road
I found the answer by my own:
in a terminal:
Code:
whereis qmake-qt4
answer:
Code:
/usr/bin/qmake-qt4
then I edited the makeParaView file and replaced
Code:
QMAKE_PATH=""
by
Code:
QMAKE_PATH="/usr/bin/qmake-qt4"
ran
Code:
./makeParaView
and that was ok ...


/!\ On Fedora it is VERY IMPORTANT to run this before building ParaView!!!
Code:
sed -i -e 's=ptrdiff_t=std::ptrdiff_t='  ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx
maysmech likes this.

Last edited by MSAN; September 23, 2011 at 14:05.
MSAN is offline   Reply With Quote

Reply

Tags
fedora, install, openfoam


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
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
install openfoam 1.6 on opensuse 11.0 andresbh OpenFOAM Installation 8 September 30, 2009 01:48
Installation of OpenFOAM on Fedora 11 jits_aps90 OpenFOAM Installation 0 August 20, 2009 03:23
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 12:32
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 23:45.