CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Install Openfoam in Suse 100 setup environment (https://www.cfd-online.com/Forums/openfoam-installation/57615-install-openfoam-suse-100-setup-environment.html)

h34gk1 September 26, 2006 18:57

Hi,folks, please apologize for
 
Hi,folks, please apologize for my very basic linux knowledge. I have installed the openfoam in my linuz suse 10. I did not know how to setup the environment. This showed the result when i ran the installation test. Can anyone help me please? Thank you
Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux
OS: Linux version 2.6.13-15.12-default
User: hengky
User_config: /home/hengky/.bashrc
FATAL ERROR: /home/hengky/.OpenFOAM-1.3/bashrc does not appear to be sourced from:
/home/hengky/.bashrc

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

java *** not installed ***

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 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.

hengky@linux:~/OpenFoam/OpenFOAM-1.3/bin>

taufik September 26, 2006 20:08

if you read the README file in
 
if you read the README file in the /OpenFOAM-1.3 directory you'll notice an instruction to modify your .bashrc to add the following lines:
. /home/hengky/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc

and you should be allright after that.

achmad


All times are GMT -4. The time now is 21:24.