CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem installing on 64bit with ver13 (http://www.cfd-online.com/Forums/openfoam-installation/57646-problem-installing-64bit-ver13.html)

jonititan April 28, 2006 05:49

i'm obviously doing something
 
i'm obviously doing something wrong but i'm to much of a newbie to know how to fix it
it looks like the bashrc but i have no idea how to edit that over ssh



Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: comp26
OS: Linux version 2.6.9-22.0.1.ELsmp
User: mea02jgp
User_config: /home1/me/mea02jgp/.bashrc
FATAL ERROR: /home1/me/mea02jgp/.OpenFOAM-1.3/bashrc does not appear to be sourced from:
/home1/me/mea02jgp/.bashrc

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

java 1.5.0_05
WARNING: Conflicting installations:
foam settings: /usr/local/packages/java/jdk1.5.0_05/bin/java
current path : /usr/local/packages/java/jdk1.5.0_05/bin//java

gzip 1.3.3 /bin/gzip tar 1.3.3 /bin/tar icoFoam *** not installed ***
CRITICAL ERROR

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


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


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_comp26 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.

hartinger April 28, 2006 07:14

look at that part: FATAL ER
 
look at that part:

FATAL ERROR: /home1/me/mea02jgp/.OpenFOAM-1.3/bashrc does not appear to be sourced from:
/home1/me/mea02jgp/.bashrc

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

hartinger April 28, 2006 08:07

> but i have no idea how to ed
 
> but i have no idea how to edit that over ssh
use vi, not my favourite, but it is installed on any system

jonititan April 28, 2006 12:32

cool i've nailed the bashrc pr
 
cool i've nailed the bashrc problem but it still isn't recognising commands such as blockMesh
i think its because the gcc compiler is out of date
or something like that

mattijs April 28, 2006 13:14

If you make sure your director
 
If you make sure your directory structure is exactly like

http://www.opencfd.co.uk/openfoam/linux.html

and then unpack (tar xzf ...) all, the whole setup should work once you do that

. /home1/me/mea02jgp/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc

jonititan May 12, 2006 18:42

is there any way to change the
 
is there any way to change the install path?
i tried messing with the bashrc file in .openfoam-1.2
but that dosen't seem to have worked


All times are GMT -4. The time now is 06:27.