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

Installing OpenFOAM 2.2.0 on Ubuntu 12.10 i686

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Sbr_CFD

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2013, 03:24
Default Installing OpenFOAM 2.2.0 on Ubuntu 12.10 i686
  #1
New Member
 
Angus Hutchison
Join Date: May 2013
Posts: 6
Rep Power: 13
AHutchison is on a distinguished road
Hey everyone,

I'm a complete beginner with Ubuntu having always been a windows user, but I require OpenFOAM for my thesis.

I'm having trouble with the installation of OpenFOAM 2.2.0 in Ubuntu 12.10 using the i686 architecture.

I have tried both Deb and Source pack installations but I cant get either to work.

I have tried installing by following the steps in this link http://openfoamwiki.net/index.php/In...M-2.2.0/Ubuntu
but there is no 3rd step for i686.

I would like to know:

what is the difference between deb pack and source pack installation?
Which one do I use?
How to install OpenFOAM 2.2.0 for ubuntu 12.10 using i686

Much appreciated, please remember I am completely new to this!
AHutchison is offline   Reply With Quote

Old   May 20, 2013, 18:14
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
Greetings Angus,

Quote:
Originally Posted by AHutchison View Post
I have tried installing by following the steps in this link http://openfoamwiki.net/index.php/In...M-2.2.0/Ubuntu
but there is no 3rd step for i686.
Sorry, my fault, I have a force of habit of writing i386 instead of i686. Nowadays it's almost all the same. Nonetheless, I've updated the wiki page to avoid confusion.

Quote:
Originally Posted by AHutchison View Post
I would like to know:

what is the difference between deb pack and source pack installation?
Which one do I use?
How to install OpenFOAM 2.2.0 for ubuntu 12.10 using i686
Well, the Deb pack is a install-n-play solution for installing OpenFOAM. It meets most of the needs of any OpenFOAM user.
Building from source gives the ability to build on any Linux Distribution, as well as having more control on how things are built. It also makes it easier to modify the source code and build it again.

Quote:
Originally Posted by AHutchison View Post
How to install OpenFOAM 2.2.0 for ubuntu 12.10 using i686
As I wrote in the beginning, you can continue to follow the instructions for i386/i686.
Or you can give some more information on what happened when you tried to install the Deb pack version.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 21, 2013, 20:21
Default
  #3
Member
 
Amir
Join Date: Sep 2012
Posts: 47
Rep Power: 14
Amir1 is on a distinguished road
Guys,

Can you help me how I can install UBUNTO and OPEN FOAM?

Thanks,
Amir
Amir1 is offline   Reply With Quote

Old   May 21, 2013, 23:44
Default
  #4
New Member
 
Angus Hutchison
Join Date: May 2013
Posts: 6
Rep Power: 13
AHutchison is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Angus,


Sorry, my fault, I have a force of habit of writing i386 instead of i686. Nowadays it's almost all the same. Nonetheless, I've updated the wiki page to avoid confusion.


Well, the Deb pack is a install-n-play solution for installing OpenFOAM. It meets most of the needs of any OpenFOAM user.
Building from source gives the ability to build on any Linux Distribution, as well as having more control on how things are built. It also makes it easier to modify the source code and build it again.


As I wrote in the beginning, you can continue to follow the instructions for i386/i686.
Or you can give some more information on what happened when you tried to install the Deb pack version.

Best regards,
Bruno
Here is what i get trying to install the Deb pack version:

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"

Step 2 -
ubuntu@ubuntu:~$ sudo apt-get update
Ign cdrom://Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal InRelease
Ign cdrom://Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/main Translation-en_US
Ign cdrom://Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/main Translation-en
Ign cdrom://Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/restricted Translation-en_US
Ign cdrom://Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/restricted Translation-en
Ign http://security.ubuntu.com quantal-security InRelease
Ign http://archive.ubuntu.com quantal InRelease
Ign http://www.openfoam.org quantal InRelease
Ign http://archive.ubuntu.com quantal-updates InRelease
Hit http://security.ubuntu.com quantal-security Release.gpg
Ign http://www.openfoam.org quantal Release.gpg
Hit http://archive.ubuntu.com quantal Release.gpg
Hit http://security.ubuntu.com quantal-security Release
Get:1 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]
Ign http://www.openfoam.org quantal Release
Hit http://security.ubuntu.com quantal-security/main i386 Packages
Hit http://archive.ubuntu.com quantal Release
Ign http://www.openfoam.org quantal/main i386 Packages/DiffIndex
Get:2 http://archive.ubuntu.com quantal-updates Release [49.6 kB]
Hit http://security.ubuntu.com quantal-security/restricted i386 Packages
Hit http://security.ubuntu.com quantal-security/main Translation-en
Hit http://archive.ubuntu.com quantal/main i386 Packages
Hit http://archive.ubuntu.com quantal/restricted i386 Packages
Hit http://security.ubuntu.com quantal-security/restricted Translation-en
Hit http://archive.ubuntu.com quantal/main Translation-en
Hit http://archive.ubuntu.com quantal/restricted Translation-en
Get:3 http://archive.ubuntu.com quantal-updates/main i386 Packages [235 kB]
Ign http://security.ubuntu.com quantal-security/main Translation-en_US
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US
Hit http://www.openfoam.org quantal/main i386 Packages
Ign http://www.openfoam.org quantal/main Translation-en_US
Ign http://www.openfoam.org quantal/main Translation-en
Get:4 http://archive.ubuntu.com quantal-updates/restricted i386 Packages [4,841 B]
Hit http://archive.ubuntu.com quantal-updates/main Translation-en
Hit http://archive.ubuntu.com quantal-updates/restricted Translation-en
Ign http://archive.ubuntu.com quantal/main Translation-en_US
Ign http://archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_US
Fetched 291 kB in 12s (24.0 kB/s)
Reading package lists... Done

Step 3 -
ubuntu@ubuntu:~$ sudo apt-get install openfoam220
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
openfoam220 : Depends: csh but it is not installable
Depends: libopenmpi1.3 but it is not installable
Depends: libptscotch-5.1 but it is not installable
Depends: libscotch-5.1 but it is not installable
Depends: libscotch-dev but it is not installable
Depends: libopenmpi-dev but it is not installable
Depends: openmpi-bin but it is not installable
Recommends: libptscotch-dev but it is not installable
E: Unable to correct problems, you have held broken packages.


Which is where i think things are going wrong (step 3)
AHutchison is offline   Reply With Quote

Old   May 22, 2013, 19:40
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
Hi Angus,

The "universe" repository isn't turned on. For more information on how to turn it on: http://askubuntu.com/questions/78613...e-command-line

After turning it back on, don't forget to do step #2 once again!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 22, 2013, 20:53
Default
  #6
New Member
 
Angus Hutchison
Join Date: May 2013
Posts: 6
Rep Power: 13
AHutchison is on a distinguished road
Hi Bruno,

Everything seems to be installing quite nicely now, thank you very much! You're probably my favourite person at the moment!

Gus
AHutchison is offline   Reply With Quote

Old   June 4, 2013, 13:11
Unhappy
  #7
New Member
 
SBR
Join Date: May 2013
Posts: 4
Rep Power: 13
Sbr_CFD is on a distinguished road
-----------------------------

My problem in installing the OpenFOAM was solved.

Best Regards
Attached Files
File Type: gz make.log.tar.gz (25.6 KB, 6 views)
wyldckat likes this.

Last edited by Sbr_CFD; June 4, 2013 at 20:00. Reason: The problem solved
Sbr_CFD 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
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 12:43
OF-1.6-ext: compiling fails on ubuntu 12.10 A.Wendy OpenFOAM Installation 1 March 22, 2013 07:47
Ubuntu 12.10 64bit: To compile or not? CrazyFatDude OpenFOAM Installation 2 January 14, 2013 05:18
Installing OpenFOAM 2.1 and enGrid aerospain OpenFOAM Installation 7 April 1, 2012 06:19
Trouble with installing OpenFOAM on Ubuntu Milos OpenFOAM Installation 16 November 16, 2009 03:44


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