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

Installation Help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2007, 14:25
Default Hello, When I try to source
  #1
New Member
 
anonymous
Join Date: Mar 2009
Posts: 1
Rep Power: 0
sandbox is on a distinguished road
Hello,

When I try to source the following error occurs..(Note I am logged in as root)

box:/home # . .bashrc
bash:/home/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/bashrc: Permission denied

Could someone please help me resolve this issue?
Thanks in advance
S.
sandbox is offline   Reply With Quote

Old   June 3, 2007, 14:55
Default Hi S, are you trying to do a
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hi S,
are you trying to do a multi-user installation? If so, follow these hints http://www.mfix.org/mwiki/index.php/Organise_Your_Work_with_OpenFOAM#Working_Wit h_Central_Installation

If not, put the OpenFOAM directory in /home/your_user_name.

P.S. For your security, don't run anything as root, if not strictly necessary :-)

Regards,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   December 3, 2007, 08:08
Default Hi everybody, I recieve the
  #3
New Member
 
Geurts Koen
Join Date: Mar 2009
Posts: 4
Rep Power: 17
koen is on a distinguished road
Hi everybody,

I recieve the same error: /home/koen/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: Permission denied

I installed it as a single user in /home/koen/ and I will only run it from this user account...
...but I used the su to install OpenFOAM in this users directory.

Could this be the cause of the error?

(I am using OpenSuse 10.3)

I hope somebody can help me.

Greetzzz, Koen...
koen is offline   Reply With Quote

Old   December 3, 2007, 08:52
Default To be sure, I just removed the
  #4
New Member
 
Geurts Koen
Join Date: Mar 2009
Posts: 4
Rep Power: 17
koen is on a distinguished road
To be sure, I just removed the entire OpenFOAM directory and re-downloaded all files and re-installed it from scratch, now as the user and not superuser.

It still results in the same error:
bash: /home/koen/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: Permission denied

So know I am realy counting on this forum to help me overcome this problem.

Koen...
koen is offline   Reply With Quote

Old   December 3, 2007, 09:38
Default Don't try to execute the scrip
  #5
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Don't try to execute the script, but "source" it:
source /home/koen/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc

Takuya
7islands is offline   Reply With Quote

Old   December 3, 2007, 09:42
Default I am running on OpenSUSE 10.3
  #6
New Member
 
Dominique Turmel
Join Date: Mar 2009
Location: Québec, Québec, Canada
Posts: 19
Rep Power: 17
doum is on a distinguished road
I am running on OpenSUSE 10.3 and my .bashrc is the following (username = openfoam), and everything is working fine



. /home/openfoam/OpenFOAM/OpenFOAM-1.4.1-dev/.OpenFOAM-1.4.1-dev/bashrc
export WM_64=on
doum is offline   Reply With Quote

Old   December 3, 2007, 09:44
Default Hi Koen, First you should see
  #7
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hi Koen,
First you should see what are the prermisions on that file. For that type:
ls -l /home/koen/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc
id


The first command should give you, among other things, the permissions set on that file. In my case it reads as following:
-rw-r----- 1 dragosm fsd 7257 2007-10-03 14:15 OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc

The second command, will show you the user/group that you actually are logged as. In my case is:
uid=525(dragosm) gid=501(fsd) groups=501(fsd),801(educ),802(ext)

If you fill this is too slow, just mail me on private.
By the way, I have a full instalation of OpenFOAM 1.4.1 that works perfect on OpenSUSE 10.3.

Dragos
dmoroian 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
AMD 64 bit installation maka OpenFOAM Installation 7 January 11, 2009 10:42
Regarding installation vidyaprakash Siemens 0 December 21, 2006 23:03
installation mohammad FLUENT 0 May 4, 2003 10:15
NT 4.0 installation peter.liang Siemens 2 July 4, 2001 12:52
HP-UX installation new here FLUENT 1 October 26, 2000 21:54


All times are GMT -4. The time now is 13:11.