CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM installation on SUSE92 problems (http://www.cfd-online.com/Forums/openfoam-installation/57671-openfoam-installation-suse92-problems.html)

derath April 3, 2006 06:11

Hi to all, I'm new user of li
 
Hi to all,
I'm new user of linux o.s. and I am trying to install openFOAM on my pc but when i run foamInstallationTest it report me this:

linux:/home/giuseppe/OpenFOAM/OpenFOAM-1.3/bin # bash foamInstallationTest
Executing foamInstallationTest:

Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux
OS: Linux version 2.6.8-24-default
User: giuseppe
User_config: /root/.bashrc
FATAL ERROR: /root/.OpenFOAM-1.3/bashrc does not appear to be sourced from:
/root/.bashrc

You need the following at the end of your /root/.bashrc file:
. /root/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/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 /root/.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 3.3.4
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.4.2_11
WARNING: Conflicting installations:
foam settings: /usr/lib/jvm/jre/bin/java
current path : /usr/bin/java

gzip 1.3.5 /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 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.

Someone can help me?
thanks
Giuseppe Noviello

hartinger April 3, 2006 06:44

Hi Giuseppe, you need to so
 
Hi Giuseppe,

you need to source the OpenFOAM bashrc-file form your .bashrc

>You need the following at the end of your >/root/.bashrc file:
>. /root/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc

Personnally i wouldn't install it as root, i find it more convenient to install in my local accout
$HOME/OpenFOAM

regards
Markus


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