CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem in installation of OpenFOAM (https://www.cfd-online.com/Forums/openfoam-installation/57448-problem-installation-openfoam.html)

sachin January 20, 2008 16:58

I have been trying to solve my
 
I have been trying to solve my intsalation problem but no use ...it is out of my reach ....can somebody help me out....I have run the foamInstallationtest it gives this
Executing foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux-oivb
OS: Linux version 2.6.16.13-4-smp
User: sachin
User_config: /home/sachin/.bashrc
FATAL ERROR: /home/sachin/.OpenFOAM-1.4.1/bashrc does not appear to be sourced f rom:
/home/sachin/.bashrc

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


FATAL ERROR Foam install directory not set.

Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/sachin/.foam2.3/ bashrc
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR --------- env variable not set --------- yes
$WM_PROJECT_USER_DIR --------- env variable not set --------- no
$FOAM_JOB_DIR --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR --------- env variable not set --------- yes

$FOAM_USER_APPBIN --------- env variable not set --------- no
$FOAM_APPBIN --------- env variable not set --------- yes
$WM_DIR --------- env variable not set --------- yes
$FOAMX_PATH --------- env variable not set --------- yes
$CEI_HOME --------- env variable not set --------- no

$JAVA_PATH --------- env variable not set --------- no
$MICO_ARCH_PATH --------- env variable not set --------- yes
$LAM_ARCH_PATH --------- env variable not set --------- 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 --------- env variable not set --------- yes
$FOAM_USER_LIBBIN --------- env variable not set --------- no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.0
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/local/bin/gcc
CRITICAL ERROR

java 1.5.0_06
WARNING: Conflicting installations:
foam settings: /usr/lib/jvm/java/bin/java
current path : /usr/bin/java

gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR

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


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


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_linux-oivb Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

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

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

The foam installation contains 2 critical error(s).

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

lakeat January 20, 2008 23:40

Easy, maybe you need some basi
 
Easy, maybe you need some basic *nix knowledge.

--------------------
User_config: /home/sachin/.bashrc
FATAL ERROR: /home/sachin/.OpenFOAM-1.4.1/bashrc does not appear to be sourced f rom:
/home/sachin/.bashrc

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

mike_jaworski January 21, 2008 00:18

Also, if you did not unpack th
 
Also, if you did not unpack the binaries for gcc, java and paraview in the correct locations, it won't find you material either.

sachin January 21, 2008 05:12

Thanks for these replies could
 
Thanks for these replies could give some more details as I am using linux for the first time

sachin January 21, 2008 05:15

Also I have placed the gcc and
 
Also I have placed the gcc and paraview inisde linux folder in OpenFOAM-1.4.1.....i hope i am write .......plz let me know if i am wrong

mike_jaworski January 21, 2008 12:32

Sachin, I think at this po
 
Sachin,
I think at this point it might be best if you were to get on google and search for some basic linux tutorials. You'll want to learn about the file system, text editors and some of the other basics. That way if we tell you that the OpenFOAM bashrc file needs to sourced for OpenFOAM to work, it'll make a lot more sense.

Best of luck,
Mike J.

sachin January 22, 2008 01:35

Well I did some changes and re
 
Well I did some changes and reached here .....I couldnt get the variable set how can I do that ....I hope i still have to grill for basic linux tutorials
Executing foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux-oivb
OS: Linux version 2.6.16.13-4-smp
User: sachin
User_config: /home/sachin/.bashrc
Foam_config: /home/sachin/.OpenFOAM-1.4.1/bashrc sourced correctly.

FATAL ERROR Foam install directory not set.

Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/sachin/.foam2.3/bashrc
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR --------- env variable not set --------- yes
$WM_PROJECT_USER_DIR --------- env variable not set --------- no
$FOAM_JOB_DIR --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR --------- env variable not set --------- yes

$FOAM_USER_APPBIN --------- env variable not set --------- no
$FOAM_APPBIN --------- env variable not set --------- yes
$WM_DIR --------- env variable not set --------- yes
$FOAMX_PATH --------- env variable not set --------- yes
$CEI_HOME --------- env variable not set --------- no

$JAVA_PATH --------- env variable not set --------- no
$MICO_ARCH_PATH --------- env variable not set --------- yes
$LAM_ARCH_PATH --------- env variable not set --------- 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 --------- env variable not set --------- yes
$FOAM_USER_LIBBIN --------- env variable not set --------- no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.2.1
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/local/bin/gcc
CRITICAL ERROR

java 1.5.0_06
WARNING: Conflicting installations:
foam settings: /usr/lib/jvm/java/bin/java
current path : /usr/bin/java

gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR

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


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


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_linux-oivb Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

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

Base configuration ok.

The foam installation contains 2 critical error(s).

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

sachin January 22, 2008 01:40

...slight mistake in last post
 
...slight mistake in last post ....I wanted to say I hope not more of linux basic tutorials ...http://www.cfd-online.com/OpenFOAM_D...part/happy.gif....jokes apart....i will do it later but i need openFOAM to work as early as possible ...


All times are GMT -4. The time now is 09:50.