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

[OpenFOAM.org] Install OpenFOAM-2.1.1 on Fedora 17

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2012, 07:52
Default
  #21
Member
 
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14
dark lancer is on a distinguished road
Quote:
[hadi@hadi ~]$ cd OpenFOAM
[hadi@hadi OpenFOAM]$ module load openmpi-i386
[hadi@hadi OpenFOAM]$ source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc WM_NCOMPPROCS=7 WM_MPLIB=SYSTEMOPENMPI
[hadi@hadi OpenFOAM]$ module load openmpi-i386
[hadi@hadi OpenFOAM]$ echo "module load openmpi-i386" >> $HOME/.bashrc
[hadi@hadi OpenFOAM]$ echo "source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc $FOAM_SETTINGS" >> $HOME/.bashrc
[hadi@hadi OpenFOAM]$ cd OpenFOAM-2.1.1
[hadi@hadi OpenFOAM-2.1.1]$ ./Allwmake > make.log 2>&1
[hadi@hadi OpenFOAM-2.1.1]$ ./Allwmake > make.log 2>&1
[hadi@hadi OpenFOAM-2.1.1]$
successfuly run the ''./Allwmake > make.log 2>&1''
now what should I do for editing the make.log?
dark lancer is offline   Reply With Quote

Old   August 11, 2012, 09:57
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Hadi,

I guess the easiest is to run the commands as explained in the official instructions - start reading from the section "Getting Started": http://www.openfoam.org/download/source.php#x6-37000

A quick test is to run:
Code:
icoFoam -help
If there is no error, then you're ready to go.

Oh, as for ParaView, simply follow the instructions starting from section "Compiling Paraview 3.12.0 and the PV3FoamReader Module": http://www.openfoam.org/download/source.php#x6-35000

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 11, 2012, 11:06
Default
  #23
Member
 
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14
dark lancer is on a distinguished road
I'm so stupid, so I really do apologize to you for tacking your time.

when I run this order I see this error:
Quote:
[hadi@hadi OpenFOAM-2.1.1]$ cd $WM_THIRD_PARTY_DIR
[hadi@hadi ThirdParty-2.1.1]$ ./makeParaView
*** Error: cannot find qmake either at $QMAKE_PATH or in current $PATH
I pack the ''make.log'' but I do not understand Where do I attach?
dark lancer is offline   Reply With Quote

Old   August 11, 2012, 11:51
Default
  #24
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Hadi,

I didn't test this myself before... anyway, as root run:
Code:
yum install cmake
As normal user, makeParaView has to be executed like this:
Code:
./makeParaView -qmake $(which qmake-qt4)
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 11, 2012, 12:32
Default
  #25
Member
 
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14
dark lancer is on a distinguished road
hi Bruno

Quote:
[hadi@hadi PV3Readers]$ wmSET
[hadi@hadi PV3Readers]$ ./Allwclean
+ wclean libso vtkPV3Readers
wclean vtkPV3Readers
+ PV3blockMeshReader/Allwclean
+ rm -f '/home/hadi/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libPV3blockMeshReader*'
+ rm -rf PV3blockMeshReader/Make
+ wclean libso vtkPV3blockMesh
wclean vtkPV3blockMesh
+ PV3FoamReader/Allwclean
+ rm -f '/home/hadi/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libPV3FoamReader*'
+ rm -rf PV3FoamReader/Make
+ wclean libso vtkPV3Foam
wclean vtkPV3Foam
Quote:
[hadi@hadi PV3Readers]$ ./Allwmake 2>&1 | tee log_Allwmake
+ '[' -d /home/hadi/OpenFOAM/ThirdParty-2.1.1/platforms/linuxGcc/paraview-3.12.0 -a -r /home/hadi/OpenFOAM/ThirdParty-2.1.1/platforms/linuxGcc/paraview-3.12.0 ']'
when I run the cavity example in this order I see this error
Quote:
[hadi@hadi cavity]$ paraFoam

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake

[hadi@hadi cavity]$
dark lancer is offline   Reply With Quote

Old   August 11, 2012, 12:48
Default
  #26
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Hadi,

edit: I forgot to mention: start a new terminal and do these steps in this new terminal.

I'm testing this as well and found out that ParaView won't build properly without some more help. Run these commands:
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
./makeParaView -qmake $(which qmake-qt4) -no-config
If there is not error message at the end, run:
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers 
wmSET $FOAM_SETTINGS
./Allwclean 
./Allwmake
Best regards,
Bruno

PS: created wiki page where this is now documented: http://openfoamwiki.net/index.php/In...M-2.1.1/Fedora
dark lancer likes this.
__________________

Last edited by wyldckat; August 11, 2012 at 13:04. Reason: see "edit:" and "PS:"
wyldckat is offline   Reply With Quote

Old   August 11, 2012, 13:35
Default
  #27
Member
 
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14
dark lancer is on a distinguished road
I thank you very much and hope that one day I can repay the favor you.
I wish the best for you.
thanks and thanks very much
dark lancer is offline   Reply With Quote

Old   August 11, 2012, 13:55
Default
  #28
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
You're welcome! Have fun using OpenFOAM
And don't forget: details are reaaaally important when it comes to using OpenFOAM
__________________
wyldckat is offline   Reply With Quote

Old   August 19, 2016, 12:42
Default
  #29
Member
 
Linyan X
Join Date: Dec 2015
Posts: 43
Rep Power: 10
linyanx is on a distinguished road
Quote:
Originally Posted by dark lancer View Post
this is results:
I copy the files of openfoam and thirdparty after ''cd openfoam'' because Idownload it and then unpack
Same question I've faced. Currently struggling for that.
linyanx is offline   Reply With Quote

Old   August 20, 2016, 18:49
Default
  #30
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by linyanx View Post
Same question I've faced. Currently struggling for that.
Please provide more details, namely:
  1. Which Linux Distribution are you using?
  2. Which installation instructions are you following?
  3. At which step of the installation instructions are you having problems?
  4. What is the exact problem you're having?
__________________
wyldckat 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
install openfoam in fedora Ahmed Khattab OpenFOAM Installation 32 September 23, 2011 12:11


All times are GMT -4. The time now is 07:35.