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

[OpenFOAM.org] Error in installing OF211 on ubuntu 16.10

Register Blogs Community New Posts Updated Threads Search

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 29
Rep Power: 12
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, 10 views)
k.farnagh is offline   Reply With Quote

Old   December 13, 2016, 17:23
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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: 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: 29
Rep Power: 12
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: 4
Rep Power: 10
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
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: 29
Rep Power: 12
k.farnagh is on a distinguished road
Thank you Bruno and Vitor for your great guidance.
k.farnagh is offline   Reply With Quote

Old   January 8, 2018, 12:21
Default Bash Ubuntu Installation
  #7
New Member
 
Join Date: Jan 2018
Posts: 1
Rep Power: 0
firlyrubani is on a distinguished road
Hello, I'm new to OpenFoam, must install the version 2.1.1 cause I want the RisingBubble Tutorial to work out.

I installed this in bash Ubuntu on Windows 10 and got a lots of errors. Does the installation also applicable for bash Ubuntu Windows 10?
Thank you.
firlyrubani is offline   Reply With Quote

Old   January 14, 2018, 12:55
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 firlyrubani View Post
Hello, I'm new to OpenFoam, must install the version 2.1.1 cause I want the RisingBubble Tutorial to work out.

I installed this in bash Ubuntu on Windows 10 and got a lots of errors. Does the installation also applicable for bash Ubuntu Windows 10?
Thank you.
Quick answer: I'm not certain if Ubuntu on Windows 10 is using Ubuntu 16.04 or 17.04 or 17.10.
If it is using Ubuntu 16.04, and if you tried following the instructions given here: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.10 - Then please follow the instructions written there that tell you how to package the log files and attach them to your next post.
__________________
wyldckat is offline   Reply With Quote

Old   October 24, 2019, 13:05
Default Issues With installation of OF2.1.1 on Ubuntu 16.04
  #9
New Member
 
Nicolas Cerulus
Join Date: Oct 2019
Location: Liverpool, United Kingdom
Posts: 4
Rep Power: 7
NCerulus is on a distinguished road
Hi I hope you can help me here,

I am trying to install OpenFOAM version 2.1.1 on Ubuntu 16.04 and am following the guide that Bruno posted:

https://openfoamwiki.net/index.php/I...u#Ubuntu_16.10

however when i run step #8 i get the following errors:

Cannot open configuration file /home/sgncerul/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/share/openmpi/mpicc-wrapper-data.txt
Error parsing data file mpicc: Not found
Cannot open configuration file /home/sgncerul/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/share/openmpi/mpicc-wrapper-data.txt
Error parsing data file mpicc: Not found

I've checked and mpicc is present however the platforms folder isn't which from what i've understood gets created when you run Allwmake, so i'm not sure why this is an error before running the Allwmake command. can anyone help?

thanks
Nic
NCerulus 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
[OpenFOAM.org] icoFoam: Command not found in OpenFOAM 3.0.1 installation on Ubuntu 16.10 febriyan91 OpenFOAM Installation 2 July 27, 2020 01:23
Prolem installing OpenFOAM Ver 2.3.0 source in Ubuntu 13.1.0 on VMware zandi OpenFOAM Installation 5 March 31, 2014 04:57
Please help: Installing OpenFOAM-1.5-dev on Ubuntu 9.04 aat OpenFOAM Installation 23 July 21, 2013 07:31
Installing OpenFOAM 2.2.0 on Ubuntu 12.10 i686 AHutchison OpenFOAM Installation 6 June 4, 2013 13:11
Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10 wyldckat OpenFOAM Installation 14 February 12, 2013 05:43


All times are GMT -4. The time now is 00:03.