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

[OpenFOAM.org] OpenFOAM 2.3.0 Installation error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2016, 08:33
Default OpenFOAM 2.3.0 Installation error
  #1
Member
 
Suman Chakraborty
Join Date: Sep 2014
Location: Mumbai, India
Posts: 42
Rep Power: 11
suman91 is on a distinguished road
Hi,

I am trying to install OpenFOAM 2.3.0 on Ubuntu. Am getting error during the build. I have attached a snapshot of the error I am getting. My gcc version is 5.4.0. cmake version is 3.5.1.

I have also attached a second snap of the message I get when I do "foamInstallationTest".

Summary reads as follows:
Base configuration ok.
The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for troubleshooting.

Done

Please help me out.
Attached Images
File Type: jpg ErrorMessageOFBuild.jpg (201.9 KB, 17 views)
File Type: jpg foamInstallationTest.jpg (106.3 KB, 12 views)
suman91 is offline   Reply With Quote

Old   September 11, 2016, 12:47
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Quick answer: Sorry for the late reply. You need to run the following commands to fix the problem with Flex:
Code:
#Go into OpenFOAM's main source folder
cd $WM_PROJECT_DIR
 
#Change how the flex version is checked
find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
Then try again running Allwmake.


If you were installing OpenFOAM 2.4.0, you could have followed the installation instructions that are given here: http://openfoamwiki.net/index.php/In...u#Ubuntu_16.04
__________________
wyldckat is offline   Reply With Quote

Old   September 20, 2016, 07:20
Default
  #3
Member
 
Suman Chakraborty
Join Date: Sep 2014
Location: Mumbai, India
Posts: 42
Rep Power: 11
suman91 is on a distinguished road
Thanks a lot for the reply.
suman91 is offline   Reply With Quote

Reply

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
Compile calcMassFlowC aurore OpenFOAM Programming & Development 13 March 23, 2018 08:43
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 10:40
[swak4Foam] installing funkySetFields igo OpenFOAM Community Contributions 1 November 20, 2012 21:16
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07


All times are GMT -4. The time now is 16:17.