CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Installation

Installation problem 1 critical error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 22, 2005, 14:27
Default OOPS! Sorry about before (mixi
  #1
Ervin Adorean (Adorean)
Guest
 
Posts: n/a
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]$
  Reply With Quote

Old   February 22, 2005, 14:43
Default Hi, Does it work if you do
  #2
Niklas Nordin (Niklas)
Guest
 
Posts: n/a
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
  Reply With Quote

Old   February 22, 2005, 14:48
Default it doesn't work ervin@isi01
  #3
Ervin Adorean (Adorean)
Guest
 
Posts: n/a
it doesn't work

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

mandrake 10.0, it runs KDE (by default)

Ervin
  Reply With Quote

Old   February 22, 2005, 19:12
Default Try the following: Type
  #4
Eugene de Villiers (Eugene)
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   February 23, 2005, 05:40
Default Thanks Eugene! I haven't ins
  #5
Ervin Adorean (Adorean)
Guest
 
Posts: n/a
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
  Reply With Quote

Old   July 15, 2005, 07:10
Default dear Ervin Adorean : how
  #6
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 264
Rep Power: 8
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
dear Ervin Adorean :
how did you solve that problem abtou "iocfoam"
i meet the same problem as you were.
regards
ztdep is offline   Reply With Quote

Old   July 15, 2005, 08:06
Default Hi, You should respect the
  #7
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 68
Rep Power: 7
adorean is on a distinguished road
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
adorean is offline   Reply With Quote

Old   July 15, 2005, 22:54
Default Thank you for your feedback!
  #8
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 264
Rep Power: 8
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
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
ztdep is offline   Reply With Quote

Old   July 16, 2005, 03:18
Default $HOME == /home/{username} if y
  #9
New Member
 
Hao Meng
Join Date: Mar 2009
Location: China
Posts: 5
Rep Power: 7
hamen is on a distinguished road
$HOME == /home/{username} if you do not log on with root

you can try like this

cd $HOME
pwd
hamen is offline   Reply With Quote

Old   July 19, 2005, 02:46
Default thank you again. i have do it
  #10
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 264
Rep Power: 8
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
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
ztdep is offline   Reply With Quote

Old   October 23, 2006, 03:04
Default Hi, I meet the same proble
  #11
mss
Guest
 
Posts: n/a
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

-------------------------------------------------------------------------------
  Reply With Quote

Old   October 23, 2006, 03:29
Default Most likely you did not instal
  #12
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 646
Rep Power: 10
dmoroian is on a distinguished road
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
dmoroian is offline   Reply With Quote

Old   October 23, 2006, 03:38
Default Thank you for reply. Sorry,
  #13
mss
Guest
 
Posts: n/a
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
  Reply With Quote

Old   October 23, 2006, 04:25
Default Hi Rita, For a 64 bit machine
  #14
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 646
Rep Power: 10
dmoroian is on a distinguished road
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
dmoroian is offline   Reply With Quote

Old   October 23, 2006, 04:44
Default Hi Dragos, Thank you very m
  #15
mss
Guest
 
Posts: n/a
Hi Dragos,

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

/Rita
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CRITICAL ERROR on installation OpenFOAM 141 nuovodna OpenFOAM Installation 19 March 23, 2010 00:36
Critical error chris_j_meyer OpenFOAM Installation 2 February 13, 2009 03:39
Critical errors gcc and icoFoam during installation of 15 quartzian OpenFOAM Installation 3 December 12, 2008 13:42
Tow Critical Error about GCC amp icoFoam chnrdu OpenFOAM Installation 4 July 8, 2005 07:14
Critical error in the installation test fabi OpenFOAM Installation 1 March 8, 2005 07:07


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