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

OpenFoam 2.3.0 on Ubuntu 14.04

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2014, 00:55
Default OpenFoam 2.3.0 on Ubuntu 14.04
  #1
New Member
 
Chris Hagen
Join Date: Oct 2014
Posts: 4
Rep Power: 11
CHagen is on a distinguished road
I am new to both ubuntu and openfoam. I followed the instructions found on the open foam website here

http://www.openfoam.org/download/ubuntu.php

The following is what happened up to step 2

step 1

ubuntu@ubuntu:~$ VERS=$(lsb_release -cs)
ubuntu@ubuntu:~$ sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"

step2

ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo apt-get update
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2) trusty InRelease
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2) trusty/main Translation-en_US
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2) trusty/main Translation-en
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2) trusty/restricted Translation-en_US
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2) trusty/restricted Translation-en
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Ign http://archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security Release
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Ign http://archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Ign http://www.openfoam.org trusty InRelease
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/main Translation-en
Ign http://www.openfoam.org trusty Release.gpg
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://archive.ubuntu.com trusty Release
Ign http://www.openfoam.org trusty Release
Get:2 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:3 http://archive.ubuntu.com trusty-updates/main amd64 Packages [336 kB]
Err http://www.openfoam.org trusty/main amd64 Packages
404 Not Found
Ign http://www.openfoam.org trusty/main Translation-en_US
Ign http://www.openfoam.org trusty/main Translation-en
Get:4 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [208 kB]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 611 kB in 5s (107 kB/s)
W: Failed to fetch http://www.openfoam.org/download/ubu...amd64/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


Being new this all seems pretty cryptic. The "Installation issues" section on the link above doesnt seem to provide an answer as it gives the same result. I was hoping someone could give some direction.
CHagen is offline   Reply With Quote

Old   October 6, 2014, 02:34
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

here's a quote from the site:

Quote:
OpenFOAM and Paraview are currently available for the following versions of Ubuntu:

12.04 LTS, codename precise
12.10, codename quantal
13.04, codename raring
13.10, codename saucy
so "cryptic"

Code:
W: Failed to fetch http://www.openfoam.org/download/ubu...amd64/Packages 404 Not Found
just means "there's no binary distribution for 14.04". I guess you should go with Source Pack installation (or maybe binary from 13.10 will work, in this case you need to edit /etc/apt/sources.list.d/openfoam.list so it points to 13.10 debs)
alexeym is offline   Reply With Quote

Old   October 6, 2014, 05:59
Default
  #3
New Member
 
Y
Join Date: Feb 2013
Location: The Earth
Posts: 25
Rep Power: 13
peteryuan is on a distinguished road
nope, i tried that, using "saucy" in the .list file,
paraviewopenfoam could be installed, and openfoam230 could be found, but it says
Code:
openfoam230 : Depends: libboost-thread1.53.0 but it is not installable
               Depends: libopenmpi1.3 but it is not installable
I checked that in synaptic, ubuntu already has the latest version of the two.
so i guess the source build is the best solution.
by the way, isn't the git version better to be played with anyway??
peteryuan is offline   Reply With Quote

Old   October 6, 2014, 07:25
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Quote:
Originally Posted by peteryuan View Post
by the way, isn't the git version better to be played with anyway??
It depends. If you need to play, use whatever version you'd like, if you need to run simulations that can be reproduced by others in general it is better to use release version.
peteryuan likes this.
alexeym is offline   Reply With Quote

Old   October 6, 2014, 09:53
Default
  #5
New Member
 
Chris Hagen
Join Date: Oct 2014
Posts: 4
Rep Power: 11
CHagen is on a distinguished road
I havent installed Ubuntu yet so I could always just get one of the versions listed. No that part wasnt cryptic just over looked. Thanks for pointing that out Ill give it another try today.
CHagen 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
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
OpenFoam 2.1.x /2.2.0 compilation failed on Ubuntu 12.04/10 64bit keepfit OpenFOAM Installation 2 March 26, 2013 09:43
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56
OpenFOAM vs Ubuntu 10.10 64 bit vkrastev OpenFOAM Installation 12 April 23, 2011 10:14
Error in apt-get update for installation of OpenFoam 1.7.1 on Ubuntu 10.10 StuntedChicken OpenFOAM Installation 1 January 9, 2011 10:43


All times are GMT -4. The time now is 09:56.