CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

FoamX error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2008, 12:04
Default Hi, I am new to Linux. I
  #1
New Member
 
prem
Join Date: Mar 2009
Posts: 1
Rep Power: 0
illan is on a distinguished road
Hi,

I am new to Linux. I loaded OpenFOAM in Fedora. After the installation I checked the installation with command "foamInstallationTest" and got the following message.

checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: prem-comp.localdomain
OS: Linux version 2.6.21-1.3194.fc7
User: prem
User_config: /home/prem/.bashrc
Foam_config: /home/prem/.OpenFOAM-1.4/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/prem/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/prem/OpenFOAM/prem-1.4 yes no
$FOAM_JOB_DIR /home/prem/OpenFOAM/jobControl 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/prem/OpenFOAM/OpenFOAM-1.4 yes yes yes

$FOAM_USER_APPBIN ...prem-1.4/applications/bin/linuxDPOpt yes yes no
$FOAM_APPBIN ...FOAM-1.4/applications/bin/linuxDPOpt yes yes yes
$WM_DIR /home/prem/OpenFOAM/OpenFOAM-1.4/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH /home/prem/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH ...src/mico-2.3.12/platforms/linuxDPOpt yes yes yes
$LAM_ARCH_PATH ...4/src/lam-7.1.2/platforms/linuxDPOpt yes yes 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.4/lib/linuxDPOpt yes yes yes
$FOAM_USER_LIBBIN ...rem/OpenFOAM/prem-1.4/lib/linuxDPOpt yes yes no
$LAM_ARCH_PATH ...4/src/lam-7.1.2/platforms/linuxDPOpt yes yes yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.2
WARNING: Conflicting installations:
foam settings: /home/prem/OpenFOAM/linux/gcc-3.4.3/bin/gcc
current path : /usr/lib/ccache/gcc
CRITICAL ERROR

java 1.4.2_05 /home/prem/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.11 /usr/bin/gzip
tar 1.3.11 /bin/tar
icoFoam ...nFOAM/OpenFOAM-1.4/applications/bin/linuxDPOpt/icoFoam
-------------------------------------------------------------------------------


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


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
...prem-comp.localdomain 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.
-----------------------------------------------
->> ( One critical error ocured. I want to know whether the istallation is complete).
------------------------------------------------

Then I typed FoamX and got the following error message:
$ FoamX
Starting NameServer with inet:prem-comp.localdomain:1234 ...
Starting FoamX Host Browser with inet:prem-comp.localdomain:1234 ...
/home/prem/OpenFOAM/OpenFOAM-1.4/bin/runFoamXHB: line 139: FoamXHostBrowser: command not found
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 6592).
/home/prem/OpenFOAM/OpenFOAM-1.4/bin/runFoamXHB: line 66: 6592 Killed nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref < /dev/null
eehome/prem/OpenFOAM/OpenFOAM-1.4/bin/runFoamXHB: line 139: FoamXHostBrowser: com mand not found
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 6226)

There are many postings related to the above mentioed FoamX error and I could not find the soution from the existing discussion. Could anyone point out the problem in my installation?

Prem
illan is offline   Reply With Quote

Old   May 22, 2008, 00:45
Default Hi Prem, Here are some thou
  #2
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Hi Prem,

Here are some thoughts,
1. What's your ultimate goal to use OpenFOAM? So, don't be burnt out by the FOAMX, try to use shell command instead, you will get used to it, and it is more powerful and flexible.
2. Your FOAM's setting is not correct, that's mean when you type "which gcc", you will get /usr/lib/ccache/gcc, so try to modify the ~/.bashrc file. (You need to have a little linux knowledge, it's useful.)

Have fun,
Daniel
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FoamX error lawrencelkl OpenFOAM Installation 5 May 23, 2008 02:29
Foamx error rengu OpenFOAM Pre-Processing 1 April 24, 2008 07:04
Error with FoamX skabilan OpenFOAM Installation 0 March 25, 2008 17:20
FoamX Error yinyajun436 OpenFOAM Pre-Processing 1 November 19, 2007 12:05
FoamX error derath OpenFOAM Pre-Processing 2 April 25, 2007 06:51


All times are GMT -4. The time now is 18:46.