CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation problem 1 critical error (https://www.cfd-online.com/Forums/openfoam-installation/57605-installation-problem-1-critical-error.html)

Ervin Adorean (Adorean) February 22, 2005 13:27

OOPS! Sorry about before (mixi
 
OOPS! Sorry about before (mixing with another message).

Hello. I'm new to OpenFOAM. The installationtest gives 1 critical error: icoFoam *** not installed *** . Can anybody help me? Thanks.
Ervin

Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: isi014.mot.upv.es
OS: Linux version 2.6.3-7mdk
User: ervin
User_config: /home/ervin/.bashrc
Foam_config: /home/ervin/.OpenFOAM-1.0.2/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/ervin/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/ervin/OpenFOAM/ervin-1.0.2 no no
$FOAM_JOB_DIR /home/ervin/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/ervin/OpenFOAM/OpenFOAM-1.0.2 yes yes yes

$FOAM_USER_APPBIN ...rvin-1.0.2/applications/bin/linuxOpt no no
$FOAM_APPBIN ...FOAM-1.0.2/applications/bin/linuxOpt yes yes yes
$WM_DIR .../ervin/OpenFOAM/OpenFOAM-1.0.2/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes yes yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH /home/ervin/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH ...2/src/mico-2.3.11/platforms/linuxOpt no yes
$LAM_ARCH_PATH ...0.2/src/lam-7.1.1/platforms/linuxOpt no 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 ...OpenFOAM/OpenFOAM-1.0.2/lib/linuxOpt yes yes yes
$FOAM_USER_LIBBIN ...in/OpenFOAM/ervin-1.0.2/lib/linuxOpt no no
$LAM_ARCH_PATH ...0.2/src/lam-7.1.1/platforms/linuxOpt no yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 3.4.3 /home/ervin/OpenFOAM/linux/gcc-3.4.3/bin/gcc
java 1.4.2_05 /home/ervin/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
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_isi014.mot.upv.es 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 1 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.

[ervin@isi014 bin]$

Niklas Nordin (Niklas) February 22, 2005 13:43

Hi, Does it work if you do
 
Hi,

Does it work if you do this?

1. logout
2. login

or do you get the same message?
mdk.. is mandrake right?
and I think it runs gnome
by default, which for some reason refuses to
update the environment variables in a new window.

N

Ervin Adorean (Adorean) February 22, 2005 13:48

it doesn't work ervin@isi01
 
it doesn't work

[ervin@isi014 bin]$ logout
bash: logout: not login shell: use `exit'

mandrake 10.0, it runs KDE (by default)

Ervin

Eugene de Villiers (Eugene) February 22, 2005 18:12

Try the following: Type
 
Try the following:

Type
$FOAM_APPBIN/icoFoam

If it starts an openFoam executable with an error message, then your PATH variable is somehow set incorrectly (unlikely).

If it says "file not found" then you have installed the binary package incorrectly.

If something else, well at least we will have eliminated some possible causes.

Ervin Adorean (Adorean) February 23, 2005 04:40

Thanks Eugene! I haven't ins
 
Thanks Eugene!
I haven't installed the binary package correctly before.
Now that I did, the foamInstallationTest gives no errors.
I'll begin now to learn how to use it.

Thanks again to all the OpenFOAM team.

Ervin

ztdep July 15, 2005 06:10

dear Ervin Adorean : how
 
dear Ervin Adorean :
how did you solve that problem abtou "iocfoam"
i meet the same problem as you were.
regards

adorean July 15, 2005 07:06

Hi, You should respect the
 
Hi,

You should respect the directory structure as described on the download page of OpenFOAM.

For example:

Make a "OpenFOAM" directory in /home/yourusername/
Put here the OpenFOAM-1.1.General.gtgz and the OpenFOAM-1.1.linuxOpt.gtgz files. Uncompress them from the command line. You'll get a OpenFOAM-1.1 directory.
Make a "linux" directory in /home/yourusername/OpenFOAM/
Put here the gcc, java and paraview compressed files. Uncompress them from a terminal.

Then make a "yourusername-1.1" directory in home/yourusername/OpenFOAM/ and copy the tutorials here.

Ervin

ztdep July 15, 2005 21:54

Thank you for your feedback!
 
Thank you for your feedback!
but the directory structure gived by the openfoam is "$HOME/OpenFOAM/OpenFOAM-1.1/"
not include the "yourusername".
what is the difference
thank you

hamen July 16, 2005 02:18

$HOME == /home/{username} if y
 
$HOME == /home/{username} if you do not log on with root

you can try like this

cd $HOME
pwd

ztdep July 19, 2005 01:46

thank you again. i have do it
 
thank you again. i have do it .
but i meet another proble about my network.
Test rsh and Test rrh can not pass ,

what is the reason .

thankyou very much

mss October 23, 2006 02:04

Hi, I meet the same proble
 
Hi,

I meet the same problem as you were. But I have installed OpenFOAM-1.3 (essential to all platform).

Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.0 /home/margst/OpenFOAM/linuxAMD64/gcc-4.1.0/bin/gcc
java 1.4.2_05 /home/margst/OpenFOAM/linuxAMD64/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR

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

dmoroian October 23, 2006 02:29

Most likely you did not instal
 
Most likely you did not install the binary package. Try it again! If you have a 32 bit processor download: OpenFOAM-1.3.linuxGcc4DPOpt.gtgz and install it.
For a step by step procedure you cand take a look at the following thread: Installation Steps

I hope you will find that useful,
Dragos

mss October 23, 2006 02:38

Thank you for reply. Sorry,
 
Thank you for reply.
Sorry, I am beginer in Linux and OpenFoam.
I have a 64 bit prosessor, should I dpwnload : OpenFOAM-1.3.linuxGcc4DPOpt.gtgz ?

/Rita

dmoroian October 23, 2006 03:25

Hi Rita, For a 64 bit machine
 
Hi Rita,
For a 64 bit machine the steps should be:

0. cd
1. wget http://ovh.dl.sourceforge.net/source...3.General.gtgz
2. wget http://switch.dl.sourceforge.net/sourceforge/foam/OpenFOAM-1.3.linuxAMD64Gcc4DPO pt.gtgz
3. wget http://switch.dl.sourceforge.net/sou...linuxAMD64.tgz
4. wget http://heanet.dl.sourceforge.net/sou...linuxAMD64.tgz
5. wget http://kent.dl.sourceforge.net/sourc...linuxAMD64.tgz
6. mkdir -p ~/OpenFOAM/linuxAMD64
7. mkdir ~/OpenFOAM/jobControl
8. cd OpenFOAM
9. tar -zxvf ../OpenFOAM-1.3.General.gtgz
10. tar -zxvf ../OpenFOAM-1.3.linuxAMD64Gcc4DPOpt.gtgz
11. cd linux
12. tar -zxvf ../../gcc-4.1.0.linuxAMD64.tgz
13. tar -zxvf ../../paraview-2.4.2.linuxAMD64.tgz
14. tar -zxvf ../../j2sdk1.4.2_05.linuxAMD64.tgz
15. cd
16. echo ". ~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc" >> .bashrc

That should be all!

Dragos

mss October 23, 2006 03:44

Hi Dragos, Thank you very m
 
Hi Dragos,

Thank you very much for help.
Now the installation test is ok.

/Rita


All times are GMT -4. The time now is 03:32.