|
[Sponsors] |
December 23, 2005, 05:49 |
I use ibm java 142. How do I a
|
#1 |
New Member
r
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
I use ibm java 142. How do I amend the java path in openfoam?
I also have gcc 331 installed. Is this compatible |
|
December 29, 2005, 11:42 |
Below is my error message; can
|
#2 |
New Member
r
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
Below is my error message; can anyone advise please?
Executing ./foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: localhost OS: Linux version 2.4.22-10mdk User: r User_config: /root/.bashrc FATAL ERROR: /root/.OpenFOAM-1.1/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.1/.OpenFOAM-1.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 /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.1 WARNING: Conflicting installations: foam settings: /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR java *** not installed *** gzip 1.2.4 (18 Aug 93) Compilation options: DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H gzip /bin/gzip tar /bin/tar icoFoam *** not installed *** CRITICAL ERROR ------------------------------------------------------------------------------- Checking file/directory permissions... ------------------------------------------------------------------------------- File/directory Set Reqd Crit ------------------------------------------------------------------------------- Checking networking... ------------------------------------------------------------------------------- Action Result Crit ------------------------------------------------------------------------------- Pinging_localhost Successful yes Pinging_localHost Successful yes Test_rsh: Unsuccessful_connection_refused* yes Test_ssh: Unsuccessful_connection_refused* yes FATAL ERROR: No remote shell available. Foam1.1 enviroment requires either ssh and/or rsh. Contact your system administrator. ------------------------------------------------------------------------------- The system test has evoked 2 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. |
|
December 30, 2005, 05:18 |
I can only advise you to insta
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
I can only advise you to install 1.2 instead. Create an installation tree exactly like the installation instructions say (so including gcc, paraview, jave) and it should all work.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Progrmming in JAVA | skg | Main CFD Forum | 2 | August 13, 2008 12:25 |
Java home how to | basilwatson | OpenFOAM Installation | 1 | April 28, 2008 09:37 |
Is there a way to use the default java and gcc | in_flu_ence | OpenFOAM Installation | 1 | March 8, 2007 05:37 |
JAVA and an exersise | Alej | Main CFD Forum | 1 | July 17, 2006 10:25 |
java vs c++ | zxaar | Main CFD Forum | 10 | December 3, 2004 03:05 |