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

RunFoamX error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2005, 00:19
Default $ runFoamX ls: /home/ndt/Open
  #1
New Member
 
Martin/Run DU
Join Date: Mar 2009
Location: Hong Kong
Posts: 25
Rep Power: 17
chnrdu is on a distinguished road
Send a message via Skype™ to chnrdu
$ runFoamX
ls: /home/ndt/OpenFOAM/jobControl/runningJobs: No such file or directory
ls: /home/ndt/OpenFOAM/jobControl/finishedJobs: No such file or directory
Starting NameServer with inet:ndt09:1234 ...
/home/ndt/OpenFOAM/OpenFOAM-1.1/bin/runFoamXHB: line 122: nsd: command not found

Jobs overview (from $FOAM_JOB_DIR):
Running : 0
Finished : 0

Some of the jobs reported as running might actually no longer be running.
You can these remove old jobInfo using the FoamX ProcessEditor or with the
foamCheckJobs script.

***********************
(then nothing happens.)
__________________
rdu
------------------
Martin/Run Du
chnrdu is offline   Reply With Quote

Old   May 26, 2005, 14:48
Default It cannot find 'nsd' which is
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
It cannot find 'nsd' which is one of the mico executables and should be in the distribution.

If I do 'which nsd' I get

.../OpenFOAM/OpenFOAM-1.1.1/src/mico-2.3.11/platforms/linuxGcc4Opt/bin/nsd

(this is for a slightly different version though to the one you are running)
mattijs is offline   Reply With Quote

Old   May 27, 2005, 19:14
Default _I have the same problem_ unde
  #3
New Member
 
Chris Chiasson
Join Date: Mar 2009
Posts: 1
Rep Power: 0
chrischiasson is on a distinguished road
_I have the same problem_ under Fedora Core 3 (no updates). OpenFOAM is in /usr/local/OpenFOAM

which nsd
/usr/local/OpenFOAM/OpenFOAM-1.1/src/mico-2.3.11/platforms/linuxOpt/bin/nsd

I symlinked:
/usr/local/OpenFOAM/linux/gcc-3.4.3/bin to /usr/bin
and
/usr/local/OpenFOAM/linux/j2sdk1.4.2_05/bin to /usr/bin

What is the solution?
chrischiasson is offline   Reply With Quote

Old   June 2, 2005, 04:26
Default Restart your computer, then tr
  #4
New Member
 
Martin/Run DU
Join Date: Mar 2009
Location: Hong Kong
Posts: 25
Rep Power: 17
chnrdu is on a distinguished road
Send a message via Skype™ to chnrdu
Restart your computer, then try it. I do nothing excpet restarting make it work well.
__________________
rdu
------------------
Martin/Run Du
chnrdu is offline   Reply With Quote

Old   July 8, 2005, 15:26
Default I had the same problem with th
  #5
New Member
 
Georg Birmes
Join Date: Mar 2009
Posts: 1
Rep Power: 0
idefix3010 is on a distinguished road
I had the same problem with the nsd. I changed the directory but now I have '/home/birmes/OpenFOAM/OpenFOAM-1.1/bin/runFoamXHB: line 122: /home/birmes/OpenFOAM/OpenFOAM-1.1/src/mico-2.3.11/platforms/linuxOpt/bin/nsd: cannot execute binary file'
what can I do?
idefix3010 is offline   Reply With Quote

Old   July 14, 2005, 02:38
Default I have the problem that shows
  #6
New Member
 
Hao Meng
Join Date: Mar 2009
Location: China
Posts: 5
Rep Power: 17
hamen is on a distinguished road
I have the problem that shows "Default name service could not be contacted".
Could anyone give me some suggestion, many thanks in advance.

$ runFoamX
Starting NameServer with inet:Emma:1234 ...
ls: /home/duxju/OpenFOAM/jobControl/runningJobs: No such file or directory
ls: /home/duxju/OpenFOAM/jobControl/finishedJobs: No such file or directory

Jobs overview (from $FOAM_JOB_DIR):
Running : 0
Finished : 0

Some of the jobs reported as running might actually no longer be running.
You can these remove old jobInfo using the FoamX ProcessEditor or with the
foamCheckJobs script.

Starting FoamX Host Browser with inet:Emma:1234 ...


Exec : FoamXHostBrowser
Date : Jul 14 2005
Time : 06:36:54
Host : Emma
PID : 7481
Root :
Case :
Nprocs : 1
HostBrowser running.....
Using jar /home/duxju/OpenFOAM/OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/lib /FoamX.jar
Using jar /home/duxju/OpenFOAM/OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/lib /jlfgr-1_0.jar
FoamX.Exceptions.FoamXException: Default name service could not be contacted.
at FoamX.App.initialiseHostBrowser(App.java:512)
at FoamX.App.initialise(App.java:343)
at FoamX.App.main(App.java:186)


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: Emma
OS: Linux version 2.6.11-1.1369_FC4
User: duxju
User_config: /home/duxju/.bashrc
Foam_config: /home/duxju/.OpenFOAM-1.1/bashrc sourced correctly.
-------------------------------------------------------------------------------


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

$FOAM_USER_APPBIN .../duxju-1.1/applications/bin/linuxOpt yes yes no
$FOAM_APPBIN ...enFOAM-1.1/applications/bin/linuxOpt yes yes yes
$WM_DIR /home/duxju/OpenFOAM/OpenFOAM-1.1/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH /home/duxju/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH ...1/src/mico-2.3.11/platforms/linuxOpt yes yes yes
$LAM_ARCH_PATH ...1.1/src/lam-7.1.1/platforms/linuxOpt 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 ...u/OpenFOAM/OpenFOAM-1.1/lib/linuxOpt yes yes yes
$FOAM_USER_LIBBIN ...uxju/OpenFOAM/duxju-1.1/lib/linuxOpt yes yes no
$LAM_ARCH_PATH ...1.1/src/lam-7.1.1/platforms/linuxOpt yes yes yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 3.4.3 /home/duxju/OpenFOAM/linux/gcc-3.4.3/bin/gcc
java 1.4.2_05 /home/duxju/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam ...penFOAM/OpenFOAM-1.1/applications/bin/linuxOpt/icoFoam
-------------------------------------------------------------------------------


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


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_Emma 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.

Critical systems ok.
hamen is offline   Reply With Quote

Old   July 18, 2005, 15:58
Default none response? http://www.cfd-
  #7
New Member
 
Hao Meng
Join Date: Mar 2009
Location: China
Posts: 5
Rep Power: 17
hamen is on a distinguished road
none response?
hamen is offline   Reply With Quote

Old   July 19, 2005, 06:06
Default Try and change the port number
  #8
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Try and change the port number. Run runFoamXHB by itself, check for any errors and if nsd is still running.
Then run runFoamX (which should detect a running runFoamXHB/nsd)
mattijs is offline   Reply With Quote

Old   July 19, 2005, 11:50
Default Hi Mattijs, Thanks for your
  #9
New Member
 
Hao Meng
Join Date: Mar 2009
Location: China
Posts: 5
Rep Power: 17
hamen is on a distinguished road
Hi Mattijs,

Thanks for your guidence, but i didn't catch what you mean. What is the 'port number' and how to change it? Could you explain a little bit more detail?

I input 'runFoamXHB', which came out as follows:

Starting NameServer with inet:Emma:1234 ...
Starting FoamX Host Browser with inet:Emma:1234 ...
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : FoamXHostBrowser
Date : Jul 19 2005
Time : 15:44:02
Host : Emma
PID : 6031
Root :
Case :
Nprocs : 1
HostBrowser running.....


And then it hangs there :S
hamen is offline   Reply With Quote

Old   July 19, 2005, 16:05
Default port number: in your $FOAMX_US
  #10
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
port number: in your $FOAMX_USER_CONFIG/FoamXClient.cfg file uncomment and change the

org.omg.CORBA.ORBInitialPort=1234

setting.

Now open a second shell and runFoamX in that. It should find the ns.ref file which runFoamXHB has written (check for that one as well) and ask whether you want to use that one.

You can put some print statements in both scripts to find out exactly what it does.
mattijs is offline   Reply With Quote

Old   July 20, 2005, 09:04
Default Hi Mattijs, Thanks again.
  #11
New Member
 
Hao Meng
Join Date: Mar 2009
Location: China
Posts: 5
Rep Power: 17
hamen is on a distinguished road
Hi Mattijs,

Thanks again.
I uncommented and changed the port, and i runFoamXHB in one terminal, the result was same as before that it hung there.
I opened another terminal tab and runFoamX, it was what you said, it detected a running nsd as follows:

Warning: a server already seems to be running.
(Detected server reference /home/duxju/OpenFOAM/OpenFOAM-1.1/.OpenFOAM-1.1/apps/FoamX/ns.ref)
Do you want to kill this server ? (n)

Then, either i chose yes or no, the results were same as the situation i post firstly,

ls: /home/duxju/OpenFOAM/jobControl/runningJobs: No such file or directory
ls: /home/duxju/OpenFOAM/jobControl/finishedJobs: No such file or directory

Jobs overview (from $FOAM_JOB_DIR):
Running : 0
Finished : 0

Some of the jobs reported as running might actually no longer be running.
You can these remove old jobInfo using the FoamX ProcessEditor or with the
foamCheckJobs script.

Using jar /home/duxju/OpenFOAM/OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/lib /FoamX.jar
Using jar /home/duxju/OpenFOAM/OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/lib /jlfgr-1_0.jar
FoamX.Exceptions.FoamXException: Default name service could not be contacted.
at FoamX.App.initialiseHostBrowser(App.java:512)
at FoamX.App.initialise(App.java:343)
at FoamX.App.main(App.java:186)


$ cat ns.ref
IOR:010000002b00000049444c3a6f6d672e6f72672f436f73 4e616d696e672f4e616d696e67436f 6e746578744578743a312e30000002000000000000002f0000 0001010000160000006c6f63616c68 6f73742e6c6f63616c646f6d61696e00b0040b0000004e616d 655365727669636500010000002400 00000100000001000000010000001400000001000000010001 00000000000901010000000000

what are these codes?
hamen is offline   Reply With Quote

Old   April 11, 2006, 22:40
Default Hi all, I have the same pro
  #12
New Member
 
Richard Morgans
Join Date: Mar 2009
Posts: 16
Rep Power: 17
rmorgans is on a distinguished road
Hi all,

I have the same problem as Georg Birmes (http://www.cfd-online.com/cgi-bin/Op...=3070#POST3070) when trying to run FoamX on knoppix.

I installed the openfoam1.3 from the website. When I run FoamX it somes up with an error that ends with...

nsd: cannot execute binary file

I've moved the the appropriate directory in mico and run it by hand (i.e. typed nsd) and I get the same error as above. Does anyone have any ideas as to what this could be?

I thought it might not be compiled correctly and did a Allwmake or whatever to recompile openfoam... didn't help.

I did a ./configure and make in the mico subdirectory.

I have ssh running.

I can ping my machine (knoppix) and localhost by hand - for some reason it doesn't work in the installation check script.

Not sure where to go from here... any ideas?

Cheers and best regards

Rick Morgans
rmorgans 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
RunFoamX doesnbt seem to be installed OpenFOAM 13 richmaes OpenFOAM Pre-Processing 1 January 24, 2007 03:55
Fatal error error writing to tmp No space left on device maka OpenFOAM Installation 2 April 3, 2006 09:48
RunFoamX fails jvn OpenFOAM Installation 12 August 11, 2005 12:12
RunFoamX and IP address billy OpenFOAM Installation 2 July 19, 2005 02:50
Error: Floating point error: invalid number Bob FLUENT 3 June 3, 2005 19:11


All times are GMT -4. The time now is 01:25.