|
[Sponsors] |
November 20, 2009, 18:19 |
OF 1.6 installation on Ubuntu 7.04
|
#1 |
New Member
Jon Mita
Join Date: Nov 2009
Posts: 8
Rep Power: 17 |
Hello everyone,
I've been trying to install OpenFOAM 1.6 32bit on Ubuntu 7.04 Feisty Fawn by following the readme and all goes well until the ". $HOME/.bashrc" line. Terminal shows the following: mstfl@mstfl:~$ . $HOME/.bashrc bash: /etc/bash_completion: Permission denied Any ideas how to remedy this? Thanks |
|
November 20, 2009, 18:32 |
|
#2 |
Member
Scott Ripplinger
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
This may or may not be your problem, but could your permissions on your OpenFOAM directory be messed up? If you used a sudo command when downloading the source package it could have ended up with root only permissions. If that is the case you'll need to go in and add permissions for your user.
|
|
November 21, 2009, 00:02 |
|
#3 |
New Member
Jon Mita
Join Date: Nov 2009
Posts: 8
Rep Power: 17 |
I actually downloaded the files on a different computer, put them on a flash drive and then copied them to my Ubuntu computer. Might this cause problems?
|
|
November 23, 2009, 12:37 |
|
#4 |
Member
Scott Ripplinger
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
Maybe I'm leading you in the wrong direction. If you just close and open your terminal it automatically runs your .bashrc on startup making it unnecessary to source it with . $HOME/.bashrc. If you have edited the .bashrc file already as instructed in the README, try just restarting your terminal and moving to the next step, which I think is running foamInstallationTest.
|
|
November 24, 2009, 19:52 |
|
#5 |
New Member
Jon Mita
Join Date: Nov 2009
Posts: 8
Rep Power: 17 |
When I run the foamInstallationTest terminal gives me the following:
mstfl@mstfl:~$ /home/mstfl/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest Executing /home/mstfl/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- FATAL ERROR: OpenFOAM environment not configured. Please refer to the installation section of the README file: <OpenFOAM installation dir>/OpenFOAM-1.6/README to source the OpenFOAM environment. Also the last few lines of my $HOME/.bashrc file looks like this # sources /etc/bash.bashrc). if [ -f /etc/bash_completion ]; then /etc/bash_completion fi . $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc I really appreciate your help sripplinger as I am new to Linux. |
|
November 25, 2009, 09:42 |
|
#6 |
Senior Member
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18 |
Where have you installed the sources of OpenFoam?
|
|
November 25, 2009, 15:20 |
|
#7 |
New Member
Jon Mita
Join Date: Nov 2009
Posts: 8
Rep Power: 17 |
By sources are you referring to all the .gtgz files? If so they're in $HOME/OpenFOAM
|
|
November 26, 2009, 03:42 |
|
#8 |
Senior Member
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18 |
You are logged in as a user?
Where do you get the .bashrc from? Was this file allready existant as you add the line $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc? Normaly there is no .bashrc in a users home directory as far as I know for ubuntu. So you could create a new empty file and add the line mentioned above. Than type bash in your terminal and OpenFoam should work Fabian |
|
November 26, 2009, 04:31 |
|
#9 |
New Member
Jon Mita
Join Date: Nov 2009
Posts: 8
Rep Power: 17 |
Hi Fabian, I am logged in as a user, "mstfl"
The /home/mstfl/.bashrc file was already there when I looked for it according to the readme. I'll try making a new blank .bashrc file as per your instructions. Thanks, Jon |
|
December 1, 2009, 16:55 |
|
#10 |
New Member
Jon Mita
Join Date: Nov 2009
Posts: 8
Rep Power: 17 |
Well, making a blank .bashrc file did get rid of the "permission denied" readout but the installation test still didn't work.
I downloaded all the files again and started a new clean install and it seems to be working now. Thanks sripplinger and Fabian, Jon |
|
March 27, 2010, 09:34 |
errors when installing OF-1.6
|
#11 |
Member
xianghong wu
Join Date: Mar 2009
Posts: 57
Rep Power: 17 |
Sorry to disturb, but I would like to know if anyone has encountered the problem.
when I "tar xzf OpenFOAM-1.6.linuxGccDPOpt.gtgz", it stopped with: gzip: stdin:invalid compressed data--format violated tar: unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now I can not find the problem. Is there anybody could give me some advice please? thanks a lot. Wendy |
|
March 27, 2010, 11:53 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Wendy,
Download the file again, because it's corrupted To confirm it's corrupted, do: Code:
md5sum OpenFOAM-1.6.linuxGccDPOpt.gtgz Best regards, Bruno |
|
March 29, 2010, 01:18 |
|
#13 |
Member
xianghong wu
Join Date: Mar 2009
Posts: 57
Rep Power: 17 |
Yeah, you are right, I have got the complete download by another try.
Thank you very much. Wendy |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem Installing OF 1.6 Ubuntu 9.10 (64 bit) - How to use GCC 4.4.1 | Future Science | OpenFOAM Installation | 43 | November 10, 2011 08:17 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
OpenFoam 1.6 Permissions in Ubuntu 9.04 | AlanR | OpenFOAM Installation | 14 | December 28, 2009 20:45 |
OpenFOAM Installation Ubuntu 9.04 Problems | Sumontro | OpenFOAM Installation | 8 | July 21, 2009 22:40 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |