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

Installation OpenFOAM-2.3.0 to Ubuntu 12.04

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By wouter
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2014, 12:21
Default Installation OpenFOAM-2.3.0 to Ubuntu 12.04
  #1
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 16
Ohbuchi is on a distinguished road
Hi,

I downloaded OpenFOAM-2.3.0.tgz from OpenCFD and tried to install it.
When I move to wmake/src directory and run a make command to build wmake tools, following error message was shown.

error: /usr/include/predefs.h: No such file or directory

What kind of package needed to build this new OpenFOAM-2.3.0 ?
Ohbuchi is offline   Reply With Quote

Old   February 17, 2014, 15:29
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
Hi

A simple google gave this

http://ubuntuforums.org/showthread.php?t=1877944

Best
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   February 17, 2014, 21:16
Default
  #3
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 16
Ohbuchi is on a distinguished road
Thank you very much, Mr. linnemann.
This problem seems to cause for 32bit platform installation only.


Quote:
Originally Posted by linnemann View Post
Hi

A simple google gave this

http://ubuntuforums.org/showthread.php?t=1877944

Best
Ohbuchi is offline   Reply With Quote

Old   February 18, 2014, 23:43
Post Error in installing OpenFOAM 2.3.0
  #4
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 12
sam.ho is on a distinguished road
Hi FOAMERS

I had OpenFOAM 2.2.1 on UBUNTU initially and uninstalled through Ubuntu Software Centre. But when i open a new terminal its giving as follows
bash: /home/sml5kor/OpenFOAM/OpenFOAM-2.2.1/etc/bashrc: No such file or directory

why is it so ?

And when i proceeded to install OpenFOAM-2.3.0 then got an error as attached in the screen shot .
Please help me
Attached Images
File Type: jpg Screenshot from 2014-02-19 10:04:36.jpg (29.3 KB, 27 views)
sam.ho is offline   Reply With Quote

Old   February 20, 2014, 16:20
Default
  #5
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17
wouter is on a distinguished road
hello sam.ho

You need to be su to do apt-get so sudo apt-get install

hope this helps
Wouter
sam.ho likes this.
wouter is offline   Reply With Quote

Old   February 22, 2014, 10:41
Default
  #6
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!

@sam.ho: Please read this wiki page: http://openfoamwiki.net/index.php/In...with_the_Shell - it should prove to be very useful for you to diagnose why you got the first error message, after uninstalling OpenFOAM 2.2.1.

To complement Wouter's answer, in the official source installation instructions: http://www.openfoam.org/download/source.php - it mentions that the command:
Code:
sudo su -
should be used prior to running apt-get. If that does not work, try:
Code:
sudo -s
Both will switch you to root mode.
Keep in mind that after using apt-get, you should exit root mode, by running:
Code:
exit
Best regards,
Bruno
sam.ho likes this.
__________________
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
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 zordiack OpenFOAM Installation 1 October 26, 2013 13:08
OpenFOAM 1.7 installation on Redhat linux maxims OpenFOAM Installation 2 November 30, 2012 04:29
openfoam installation javad814 OpenFOAM 7 January 27, 2012 11:31
openfoam installation for algeria (dz) abbes OpenFOAM Installation 4 July 18, 2011 19:16


All times are GMT -4. The time now is 12:43.