|
[Sponsors] |
February 17, 2014, 12:21 |
Installation OpenFOAM-2.3.0 to Ubuntu 12.04
|
#1 |
Member
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 16 |
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 ? |
|
February 17, 2014, 15:29 |
|
#2 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27 |
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
February 17, 2014, 21:16 |
|
#3 | |
Member
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 16 |
Thank you very much, Mr. linnemann.
This problem seems to cause for 32bit platform installation only. Quote:
|
||
February 18, 2014, 23:43 |
Error in installing OpenFOAM 2.3.0
|
#4 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 12 |
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 |
|
February 20, 2014, 16:20 |
|
#5 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17 |
hello sam.ho
You need to be su to do apt-get so sudo apt-get install hope this helps Wouter |
|
February 22, 2014, 10:41 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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 - Code:
sudo -s Keep in mind that after using apt-get, you should exit root mode, by running: Code:
exit Bruno
__________________
|
|
|
|
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 |