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

Ubuntu:unable to install openfoam

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 5, 2012, 11:19
Default Ubuntu:unable to install openfoam
  #1
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 5
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, 13:13
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
Are you going to install a source pack or a debain pack?
zaynah04 likes this.
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   November 5, 2012, 13:39
Default
  #3
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 5
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, 15:01
Default
  #4
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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.
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   November 5, 2012, 15:34
Default
  #5
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 5
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, 15:39
Default
  #6
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
could you describe what step you did one by one?
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   November 5, 2012, 15:46
Default
  #7
New Member
 
Join Date: Sep 2012
Posts: 3
Rep Power: 4
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, 17:33
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 08:07
Default
  #9
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 5
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, 08:47
Default
  #10
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

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
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 05:00.