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

Ubuntu:unable to install openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By nimasam
  • 1 Post By nimasam
  • 1 Post By HighOrderCFD
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2012, 10:19
Default Ubuntu:unable to install openfoam
  #1
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 13
zaynah04 is on a distinguished road
Dear all,

I am new to openfoam.
I have downloaded a version from http://www.openfoam.org/download/source.php

and i have used the following instructions to install it. http://www.openfoam.org/download/ubuntu.php

but arriving at number 3. in the instructions, i get the following error messages..

Quote:
The following packages have unmet dependencies:
openfoam211 : 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.
can anyone please explain to me what must i do now??

Regards

zaynah
zaynah04 is offline   Reply With Quote

Old   November 5, 2012, 12:13
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
Are you going to install a source pack or a debain pack?
zaynah04 likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   November 5, 2012, 12:39
Default
  #3
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 13
zaynah04 is on a distinguished road
Dear sir,

i will import mesh from gambit to openfoam and process.
I myself do not know the difference between source and debain pack.
zaynah04 is offline   Reply With Quote

Old   November 5, 2012, 14:01
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
if you have ubuntu ,
you need to go to this page
http://www.openfoam.org/download/ubuntu.php

and follow commands line by line
just be connected to Internet
it will download and install OpenFOAM by itself
zaynah04 likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   November 5, 2012, 14:34
Default
  #5
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 13
zaynah04 is on a distinguished road
E: Unable to locate package openfoam211
each time i get same error message..
zaynah04 is offline   Reply With Quote

Old   November 5, 2012, 14:39
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
could you describe what step you did one by one?
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   November 5, 2012, 14:46
Default
  #7
New Member
 
Join Date: Sep 2012
Posts: 3
Rep Power: 13
HighOrderCFD is on a distinguished road
Good evening

If you downloaded from http://www.openfoam.org/download/source.php then you must follow the instructions shown in the same page (even for Ubuntu).

If you want OpenFOAM with a simpler (and faster) procedure but also without being able to modify it then you do what is described in http://www.openfoam.org/download/ubuntu.php
zaynah04 likes this.
HighOrderCFD is offline   Reply With Quote

Old   November 5, 2012, 16:33
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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!

@zaynah: There are at least two possibilities:
  1. Your Ubuntu machine does not have a working Internet connection.
  2. The "universe" repository might be turned off.
To determine if it's a problem with a missing Internet connection, try running this command:
Code:
ping www.openfoam.org
If it says it's unable to find it, then you don't have the Internet connection properly configured.


If you do have Internet connection, then you can try the following instructions: https://github.com/themiwi/OpenFOAM-Installer - it's a very simple script that does automatically for you the instructions shown for the Debian or RPM packages. Simply follow the instructions and you should be good to go!


Best regards,
Bruno
zaynah04 likes this.
__________________
wyldckat is offline   Reply With Quote

Old   November 7, 2012, 07:07
Default
  #9
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 13
zaynah04 is on a distinguished road
hi burno,

i have checked and i have good internet connections.

I have done as the link suggested in ur post.

but each time i use openfoam do i have to run it all first?O.o
zaynah04 is offline   Reply With Quote

Old   November 7, 2012, 07:47
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Zay Nah,

If you followed the instructions from here: https://github.com/themiwi/OpenFOAM-Installer - then it depends on the answer you gave to this question:
Quote:
Create /etc/profile.d/openfoam.sh [Y/n]?
Best regards,
Bruno
__________________
wyldckat 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
how to install openfoam on ubuntu 1.4 ? seyedashraf OpenFOAM Installation 8 August 23, 2011 05:50
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32
help wanted to Install OpenFOAM 11 on SunOS version 59 gd_jin OpenFOAM Installation 3 April 8, 2005 04:56


All times are GMT -4. The time now is 10:25.