|
[Sponsors] |
April 5, 2008, 16:02 |
Dear all,
I am quite new to
|
#1 |
New Member
indiana
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Dear all,
I am quite new to OF and am experiencing some problems with the installation: I have unpacked the source & binaries and installed in /home/indy/OpenFOAM I changed the .bashrc in the home/indy folder and it looks as it is sourced correctly. However, when I run the foamInstallation test I get the following: Executing ./foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: dhcppc1 OS: Linux version 2.6.22.5-31-default User: indy User_config: /home/indy/.bashrc Foam_config: /home/indy/.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/indy/.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 ...figure WARNING: Conflicting installations: foam settings: /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR java 1.5.0_12 WARNING: Conflicting installations: foam settings: /usr/lib64/jvm/jre/bin/java current path : /usr/bin/java gzip 1.3.12 /usr/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_dhcppc1 No_entry_for_"dhcppc1"_in_/etc/hosts yes WARNING: CRITICAL ERROR Pinging_localHost Successful yes Test_rsh: Not_active* yes Test_ssh: Not_active* yes FATAL ERROR: No remote shell available. Foam1.4.1 enviroment requires either ssh and/or rsh. Contact your system administrator. ------------------------------------------------------------------------------- The system test has evoked 1 fatal error(s). The foam installation contains 3 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. So my question is: How do I setup the right installation? (the error given by: Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/olli/.foam2.3/bashrc) And secondly, are the other errors dependend on the first or what would I have to do to solve this? Thank you very much for any help !!!!!!!! Indy |
|
April 6, 2008, 09:11 |
Hi,
I somehow (dont ask me
|
#2 |
New Member
indiana
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Hi,
I somehow (dont ask me why!:-)) have now made it to here, but there are still 1 fatal and 1 critical error I am struggling with... Can anybody help me with these, or do you not need those variables when you are running on a single Linux PC??? Thanks & and sorry for the long post:!! Executing ./foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: dhcppc1 OS: Linux version 2.6.22.5-31-default User: indy User_config: /home/indy/.bashrc Foam_config: /home/indy/.OpenFOAM-1.4.1/bashrc sourced correctly. ------------------------------------------------------------------------------- Checking main FOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/indy/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/indy/OpenFOAM yes no $FOAM_JOB_DIR /home/indy/OpenFOAM yes yes ------------------------------------------------------------------------------- Checking the FOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/olli/OpenFOAM yes yes yes $FOAM_USER_APPBIN ...FOAM/OpenFOAM-1.4.1/applications/bin yes yes no $FOAM_APPBIN ...4.1/applications/bin/linux64GccDPOpt yes yes yes $WM_DIR /home/indy/OpenFOAM/OpenFOAM-1.4.1/wmake yes yes yes $FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes yes yes $CEI_HOME --------- env variable not set --------- no $JAVA_PATH ...i/OpenFOAM/linux64/j2sdk1.4.2_05/bin yes yes no $MICO_ARCH_PATH ...ico-2.3.12/platforms/linux64GccDPOpt yes yes 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 ...M/OpenFOAM-1.4.1/lib/linux64GccDPOpt yes yes yes $FOAM_USER_LIBBIN .../OpenFOAM-1.4.1/lib//linux64GccDPOpt yes yes no $LAM_ARCH_PATH --------- env variable not set --------- yes ------------------------------------------------------------------------------- Software versions ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc ...figure /usr/bin/gcc java 1.5.0_12 WARNING: Conflicting installations: foam settings: /home/olli/OpenFOAM/linux64/j2sdk1.4.2_05/bin/java current path : /usr/bin/java gzip 1.3.12 /usr/bin/gzip tar 1.3.12 /bin/tar icoFoam ...penFOAM-1.4.1/applications/bin/linux64GccDPOpt/icoFoam ------------------------------------------------------------------------------- Checking file/directory permissions... ------------------------------------------------------------------------------- File/directory Set Reqd Crit ------------------------------------------------------------------------------- Checking networking... ------------------------------------------------------------------------------- Action Result Crit ------------------------------------------------------------------------------- Pinging_dhcppc1 No_entry_for_"dhcppc1"_in_/etc/hosts yes WARNING: CRITICAL ERROR Pinging_localHost Successful yes Test_rsh: Not_active* yes Test_ssh: Not_active* yes FATAL ERROR: No remote shell available. Foam1.4.1 enviroment requires either ssh and/or rsh. Contact your system administrator. ------------------------------------------------------------------------------- The system test has evoked 1 fatal error(s). The foam installation contains 1 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. Thanks for any help!! |
|
April 6, 2008, 10:36 |
Hi Indiana,
note the sectio
|
#3 |
Member
Graeme Cottrell
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
Hi Indiana,
note the section: Pinging_localHost Successful yes Test_rsh: Not_active* yes Test_ssh: Not_active* yes FATAL ERROR: No remote shell available. Foam1.4.1 enviroment requires either ssh and/or rsh. Contact your system administrator. I suggest you install openssh and try again. On my system it is in packages openssh-client and openssh-server. On some distributions simply installing ssh pulls both of these in. Note that you also have a potential problem with java. I don't know if that is going to bite you. Regards, Graeme. |
|
April 6, 2008, 13:01 |
Hi Graeme,
thanks for you h
|
#4 |
New Member
indiana
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Hi Graeme,
thanks for you help,.......! what i dont understand is, that I have openssh installed (version 4.6, came with SUSE 10.3) so it should actually be fine I have luckily solved the java problem by pointing to the SUSE 10.3 java path which looks ok now. I am not sure if the $LAM_ARCH_PATH has to be specified (isnt this just for parallel computing?) Further on, I have followed the installation guide and am stuck now at the first test: indy@dhcppc1:~/OpenFOAM/indy-1.4.1/run/tutorials> icoFoam dotFoam(const fileName&) : Couldn't find file /home/indy//home/indy/OpenFOAM/OpenFOAM-1.4.1/controlDict or /home/indy/OpenFOAM/OpenFOAM-1.4.1//home/indy/OpenFOAM/OpenFOAM-1.4.1/controlDic t Has this something to do with the environmental variables in the .bashrc file Sorry again for the long post...!! Indiana |
|
April 7, 2008, 09:39 |
> thanks for you help,.......!
|
#5 |
Member
Graeme Cottrell
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
> thanks for you help,.......!
Not a problem. > what i dont understand is, that I have openssh installed (version 4.6, came with SUSE 10.3) so it should actually be fine That seems odd. Have you tried 'ssh dhcppc1' from a shell prompt? > I have luckily solved the java problem by pointing to the SUSE 10.3 java path which looks ok now. > I am not sure if the $LAM_ARCH_PATH has to be specified (isnt this just for parallel computing?) Yes, I think so. > Further on, I have followed the installation guide and am stuck now at the first test: > indy@dhcppc1:~/OpenFOAM/indy-1.4.1/run/tutorials> icoFoam > dotFoam(const fileName&) : Couldn't find file /home/indy//home/indy/OpenFOAM/OpenFOAM-1.4.1/controlDict or > /home/indy/OpenFOAM/OpenFOAM-1.4.1//home/indy/OpenFOAM/OpenFOAM-1.4.1/controlDic t This doesn't look like any error message I've seen. It looks like you tried to run the icoFoam solver with no arguments, but when I do that I get an error message that looks quite different. Try changing directories to the .../run/tutorials/icoFoam directory like it says in the README, and run ./Allclean blockMesh . cavity icoFoam . cavity Maybe it'll behave differently. > Has this something to do with the environmental variables in the .bashrc file There are some obviously wrong paths mentioned in that error message, but I don't know where they're coming from. Did you just add the line . $HOME/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc to the ~/.bashrc file like the README says? > Sorry again for the long post...!! It's okay. Regards, Graeme. |
|
April 7, 2008, 14:59 |
Hi,
I heard that the ssh FA
|
#6 |
New Member
indiana
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Hi,
I heard that the ssh FATAL ERRROR isn't such a problem for stand alone cases, so that should be fine I hope.. I did the ./Allclean commands and it did not change anything. I copied the tutorials to the directory as it was in the README file... same as with the sourcing . $HOME/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc to the ~/.bashrc file if anybody has an idea, that would be most appreciated.. thanks |
|
April 8, 2008, 11:31 |
> I heard that the ssh FATAL E
|
#7 |
Member
Graeme Cottrell
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
> I heard that the ssh FATAL ERRROR isn't such a problem for stand alone cases, so that should be fine I hope..
I just tried icoFoam without a working sshd, and it works fine, so you're right - it isn't that. I can't help thinking that the fact that it's looking for the controlDict in /home/indy//home/indy/OpenFOAM/OpenFOAM-1.4.1/controlDict or /home/indy/OpenFOAM/OpenFOAM-1.4.1//home/indy/OpenFOAM/OpenFOAM-1.4.1/controlDic t has something to do with the problem - like your environment isn't set up properly. Notice the repeats and the occurrences of // - not good. Failing that, I'm almost out of ideas. Finally, what type of CPU do you have? Regards, Graeme. |
|
April 3, 2009, 10:40 |
ssh
|
#8 |
New Member
Andrea
Join Date: Apr 2009
Posts: 1
Rep Power: 0 |
Hi ,
i had the same "fatal error", ... FATAL ERROR: No remote shell available. Foam1.4.1 enviroment requires either ssh and/or rsh. Contact your system administrator. ... even if i was able to run the icoFoam tutorial. After that thread i opened synaptic packet manager, ad installed: ssh , that also automatically installed openssh-server . I already had openssh-client installed but , the fatal error was fixed after i installed ssh . ... Test_rsh: Unsuccessful_connection_refused* yes Test_ssh: Successful yes (*) Only one of rsh or ssh is required by the Foam enviroment. ... I run ubntu 8.10. Bye |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installation problems | ianz8802 | OpenFOAM Installation | 37 | January 30, 2009 14:20 |
Installation Problems | honcho | OpenFOAM Installation | 0 | January 14, 2008 11:48 |
Problems on 64bit Installation | Dietmar Schmidt | Siemens | 4 | April 18, 2007 07:36 |
Installation problems | shellbell1999 | OpenFOAM Installation | 9 | April 6, 2006 14:29 |
Problems with installation | jonititan | OpenFOAM Installation | 4 | November 6, 2005 05:16 |