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

Installation OpenFOAM-2.3.0 to Ubuntu 12.04

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 17, 2014, 13:21
Default Installation OpenFOAM-2.3.0 to Ubuntu 12.04
  #1
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 8
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, 16:29
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 472
Rep Power: 16
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, 22:16
Default
  #3
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 8
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 19, 2014, 00:43
Post Error in installing OpenFOAM 2.3.0
  #4
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 4
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, 17:20
Default
  #5
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 146
Rep Power: 9
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, 11:41
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,556
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

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
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 05:29
openfoam installation javad814 OpenFOAM 7 January 27, 2012 12:31
openfoam installation for algeria (dz) abbes OpenFOAM Installation 4 July 18, 2011 19:16
OpenFOAM 1.7 installation issue in Ubuntu 10.04 hcmadhu OpenFOAM Installation 7 August 24, 2010 16:55


All times are GMT -4. The time now is 01:47.