basilwatson
April 8th, 2008, 09:53 PM
Have tried to follow the how to but I am not sure how to set up the variables ...here is the output test file ;
Setting the home directory I think is the problem ...but how do I do that .
any Ideas on the problem
Kind regards Stephen
Try to relax and enjoy the crisis.
-- Ashleigh Brilliant
bash: /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: No such file or directory
s@s-desktop:~$ /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest
Executing /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest:
Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: s-desktop
OS: Linux version 2.6.22-14-generic
User: s
User_config: /home/s/.bashrc
Foam_config: /home/s/.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/s/.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.3
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR
java 1.6.0_03
WARNING: Conflicting installations:
foam settings: /bin/java
current path : /usr/bin/java
gzip 1.3.12 /bin/gzip
tar 1.3.12 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR
-------------------------------------------------------------------------------
Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------
Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_s-desktop 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.
s@s-desktop:~$
Setting the home directory I think is the problem ...but how do I do that .
any Ideas on the problem
Kind regards Stephen
Try to relax and enjoy the crisis.
-- Ashleigh Brilliant
bash: /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: No such file or directory
s@s-desktop:~$ /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest
Executing /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest:
Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: s-desktop
OS: Linux version 2.6.22-14-generic
User: s
User_config: /home/s/.bashrc
Foam_config: /home/s/.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/s/.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.3
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR
java 1.6.0_03
WARNING: Conflicting installations:
foam settings: /bin/java
current path : /usr/bin/java
gzip 1.3.12 /bin/gzip
tar 1.3.12 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR
-------------------------------------------------------------------------------
Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------
Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_s-desktop 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.
s@s-desktop:~$