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

Error in installing OF211 on ubuntu 16.10

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

Like Tree6Likes
  • 1 Post By wyldckat
  • 2 Post By vitormoura
  • 3 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   December 11, 2016, 05:55
Default Error in installing OF211 on ubuntu 16.10
  #1
New Member
 
Kasra
Join Date: Aug 2014
Posts: 28
Rep Power: 5
k.farnagh is on a distinguished road
Hi everybody,

I've applied installation guide which exists in
http://openfoam.org/download/2-1-1-source/

It should be mentioned the GCC version of ubuntu 16.10 is 6.2 but in below link noted that is not supported for OF211.
http://openfoamwiki.net/index.php/In...ibility_Matrix

A attached file is provided to diagnose the building process and errors.

Would you please guide me to solve them.

Sincerely Yours
Kasra
Attached Files
File Type: gz log.make.tar.gz (23.0 KB, 9 views)
k.farnagh is offline   Reply With Quote

Old   December 13, 2016, 17:23
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,036
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quick answer: I don't have time to try this out myself with OpenFOAM 2.1.1, but a few weeks ago I wrote the instructions for installing OpenFOAM 2.4.0 on Ubuntu 16.10: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.10
Steps #3, #8 and #9 are the ones I expect you will need to use as well for 2.1.1.
k.farnagh likes this.
__________________
wyldckat is offline   Reply With Quote

Old   December 14, 2016, 01:39
Default
  #3
New Member
 
Kasra
Join Date: Aug 2014
Posts: 28
Rep Power: 5
k.farnagh is on a distinguished road
Thank you Bruno.
You are always helpful to me.
k.farnagh is offline   Reply With Quote

Old   December 15, 2016, 00:11
Default
  #4
New Member
 
Vitor Moura
Join Date: Dec 2016
Posts: 2
Rep Power: 0
vitormoura is on a distinguished road
Kasra,

I passed 2 entirely days trying to solve OpenFOAM 2.1.1 and Ubuntu 16.04, got alot problems with packages. After those days, I could make OpenFOAM works, but without Paraview.

I can give you 4 tips:
1 - flex --version = 2.5.35
http://repository.timesys.com/builds...-2.5.35.tar.gz
(install instructions inside file)
Reason: OpenFoam v2.1.1 for Ubuntu 16.04

2 - gcc --version = 2.7.x
g++ --version = 2.7.x
http://askubuntu.com/questions/26498...-and-g-version
(download and install instructions inside file)
Reason: http://openfoamwiki.net/index.php/In...tion_.28GCC.29

3 - qt = 4.6.3 (qmake --version)
http://download.qt.io/archive/qt/4.6...c-4.6.3.tar.gz
(install instructions on link below)
Qt version of Paraview 3.8.0 in OpenFOAM 1.7

After all those hacks, OpenFOAM runs perfect on 16.04, but ParaView keeps giving me COPY_FILE erro on VTK and doesn't got make file on the path /OpenFOAM-2.1.1/wmake/rules/linux64Gcc47. (Already downgrade Ubuntu 14.04, don't got make.logs)

4 - If you can, install on Ubuntu 14.04.
Is easy to do it, just do what is saying on for Ubuntu 12.10
https://openfoamwiki.net/index.php/I...M-2.1.1/Ubuntu
only difference is on package I include this:
Code:
 sudo apt-get libqt4-opengl-dev freeglut3-dev libqtwebkit-dev  libscotch-dev
I don't know if must add those, but work that way.
wyldckat and k.farnagh like this.

Last edited by vitormoura; December 16, 2016 at 03:46. Reason: unwanted bold text
vitormoura is offline   Reply With Quote

Old   December 17, 2016, 17:47
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,036
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings to all!

I've finished writing and testing the complete instructions for building OpenFOAM 2.1.1 in Ubuntu 16.10: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.10

@Kasra: If you are still having trouble building it, hopefully these instructions will make things easier to follow.


@Vitor: Many thanks for sharing your experience!
I'm going to test the instructions I wrote for 16.10 on 16.04 and let you know if they also work for that version. But it should allow building ParaView with Ubuntu's own build of Qt 4.8. I'll edit this post once I'm finished.

edit: I've confirmed that the instructions also work on Ubuntu 16.04

Best regards,
Bruno
k.farnagh, sibo and vitormoura like this.

Last edited by wyldckat; December 17, 2016 at 20:26. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   December 18, 2016, 08:00
Default
  #6
New Member
 
Kasra
Join Date: Aug 2014
Posts: 28
Rep Power: 5
k.farnagh is on a distinguished road
Thank you Bruno and Vitor for your great guidance.
k.farnagh is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing SVN in Ubuntu (for later installing PyFoam for OpenFOAM) immortality Lounge 2 May 24, 2014 03:05
Please help: Installing OpenFOAM-1.5-dev on Ubuntu 9.04 aat OpenFOAM Installation 23 July 21, 2013 06:31
Installing OpenFOAM 2.2.0 on Ubuntu 12.10 i686 AHutchison OpenFOAM Installation 6 June 4, 2013 12:11
Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10 wyldckat OpenFOAM Installation 14 February 12, 2013 05:43
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50


All times are GMT -4. The time now is 21:26.