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

Installation problems Canbt open OpenFOAM13bashrc

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 7, 2007, 12:03
Default Hello, I am a new user of l
  #1
dim
New Member
 
Dimitri
Join Date: Mar 2009
Posts: 6
Rep Power: 8
dim is on a distinguished road
Hello,

I am a new user of linux and I have to work on OpenFOAM for my studies. But I cannot install it. I have allready unzip all files in proper directories. but when I start the installation, this is what I get :


dim@dim-laptop:~$ echo $SHELL
/bin/bash
dim@dim-laptop:~$ cd OpenFOAM/OpenFOAM-1.3/
dim@dim-laptop:~/OpenFOAM/OpenFOAM-1.3$ .OpenFOAM-1.3/bashrc
bash: .OpenFOAM-1.3/bashrc: Permission non accordée %% (which means that I do not have the permission)
dim@dim-laptop:~/OpenFOAM/OpenFOAM-1.3$ sh OpenFOAM-1.3/bashrc
sh: Can't open OpenFOAM-1.3/bashrc

So I do not know how to open OpenFOAM-1.3/bashrc and I cannot go on the setup.

Thank you for your help

PS : I am French, sorry for my English.
dim is offline   Reply With Quote

Old   March 7, 2007, 12:05
Default something more, I work on Ubun
  #2
dim
New Member
 
Dimitri
Join Date: Mar 2009
Posts: 6
Rep Power: 8
dim is on a distinguished road
something more, I work on Ubuntu, I do not know if it is important for you.
dim is offline   Reply With Quote

Old   March 7, 2007, 12:13
Default you're missing a dot: .~/Op
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,763
Rep Power: 21
hjasak will become famous soon enough
you're missing a dot:

.~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc

See it: at the beginning it says: dot space "name of file"

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   March 7, 2007, 12:26
Default Thank you for your help. But w
  #4
dim
New Member
 
Dimitri
Join Date: Mar 2009
Posts: 6
Rep Power: 8
dim is on a distinguished road
Thank you for your help. But when I type this, I have the result : Permission non accordée, so I am not allowed to access to it.
Or maybe I do not understand what you say. Is it the command you want me to type? if not, could you please tell me what I have to type.
dim is offline   Reply With Quote

Old   March 7, 2007, 12:33
Default Ok sorry I have just understoo
  #5
dim
New Member
 
Dimitri
Join Date: Mar 2009
Posts: 6
Rep Power: 8
dim is on a distinguished road
Ok sorry I have just understood what you wanted to say.
Thank you very much, it works.
dim is offline   Reply With Quote

Old   March 7, 2007, 12:52
Default I need help again.. I tested
  #6
dim
New Member
 
Dimitri
Join Date: Mar 2009
Posts: 6
Rep Power: 8
dim is on a distinguished road
I need help again..
I tested the installation with foamInstallationTest, and it returns it :

Executing bash:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: dim-laptop
OS: Linux version 2.6.17-10-generic
User: dim
User_config: /home/dim/.bashrc
FATAL ERROR: /home/dim/.OpenFOAM-1.3/bashrc does not appear to be sourced from:
/home/dim/.bashrc

You need the following at the end of your /home/dim/.bashrc file:
. /home/dim/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc
or equivalent depending on the location of the OpenFOAM installation.

-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/dim/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/dim/OpenFOAM/dim-1.3 yes no
$FOAM_JOB_DIR /home/dim/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/dim/OpenFOAM/OpenFOAM-1.3 yes yes yes

$FOAM_USER_APPBIN ...-1.3/applications/bin/linuxGcc4DPOpt yes yes no
$FOAM_APPBIN ...-1.3/applications/bin/linuxGcc4DPOpt yes yes yes
$WM_DIR /home/dim/OpenFOAM/OpenFOAM-1.3/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH /home/dim/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH ...mico-2.3.11/platforms/linuxGcc4DPOpt yes yes yes
$LAM_ARCH_PATH ...c/lam-7.1.1/platforms/linuxGcc4DPOpt yes yes yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...FOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt yes yes yes
$FOAM_USER_LIBBIN .../OpenFOAM/dim-1.3/lib/linuxGcc4DPOpt yes yes no
$LAM_ARCH_PATH ...c/lam-7.1.1/platforms/linuxGcc4DPOpt yes yes yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.0 /home/dim/OpenFOAM/linux/gcc-4.1.0/bin/gcc
java 1.4.2_05 /home/dim/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /bin/gzip
tar 1.3.5 /bin/tar
icoFoam ...M/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_dim-laptop Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Unsuccessful_connection_refused* yes
FATAL ERROR: No remote shell available.
Foam1.3 enviroment requires either ssh and/or rsh.
Contact your system administrator.


-------------------------------------------------------------------------------

The system test has evoked 2 fatal error(s).

Critical systems ok.

Review the output for warning messages and consult
the installation guide for trouble shooting.


Could you please tell me how to solve these fatal errors ? Sorry I do not understand lots of things whith linux...

Dim
dim is offline   Reply With Quote

Old   March 8, 2007, 04:15
Default Hi Dimitri, As it is right no
  #7
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Hi Dimitri,
As it is right now, you may use OpenFOAM in serial, but first you have to type:
source ~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc
Then you can use all the top level solvers available... probably you will try the tutorials.

To automate a little bit more, just do what foamTestInstallation says:
You need the following at the end of your /home/dim/.bashrc file:
. /home/dim/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc
or equivalent depending on the location of the OpenFOAM installation.


For parallel computations, you will need an rshd or sshd server running on your machine.

Dragos
dmoroian is offline   Reply With Quote

Old   March 9, 2007, 03:59
Default hi first y should show all f
  #8
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 8
hamcer is on a distinguished road
hi
first y should show all files typing 'ls -a' command and type 'gedit bashrc' and the line recommanded in the readme and allwmake and test installation.

you will resol your pb
hamcer is offline   Reply With Quote

Old   March 9, 2007, 18:27
Default Hi, sorry for being so slow to
  #9
dim
New Member
 
Dimitri
Join Date: Mar 2009
Posts: 6
Rep Power: 8
dim is on a distinguished road
Hi, sorry for being so slow to answer I was too busy.
Thank you, I have tested what you said, and it works.
dim 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
Installation problems indy OpenFOAM Installation 7 April 3, 2009 09:40
Installation problems ianz8802 OpenFOAM Installation 37 January 30, 2009 14:20
ParaView 33 canbt open OpenFoam file hariya03 OpenFOAM Paraview & paraFoam 7 September 25, 2008 17:33
Installation Problems honcho OpenFOAM Installation 0 January 14, 2008 11:48
Installation of Open foam 12 ds2taieb OpenFOAM Installation 1 January 16, 2006 00:46


All times are GMT -4. The time now is 15:56.