Hi! All
I have 2 PCs (Here
Hi! All
I have 2 PCs (Here I call these as A and B), and I could run OpenFOAM on both PCs as standalone. But when I tryed to open the case of A from B by using FoamX, FoamX told me that it couldn't open the case. I can access A to B by using ssh and "foamInstalationTest" also tell nothing wrong with setup. Does someone help me? I will show the log of console. [tadashi@tmori oodles]$ Starting NameServer with inet:127.0.0.1:1234 ... Starting FoamX Host Browser with inet:127.0.0.1:1234 ... /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : FoamXHostBrowser Date : Jul 26 2006 Time : 19:38:51 Host : tmori PID : 28999 Root : Case : Nprocs : 1 HostBrowser running..... Using jar /home/tadashi/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/l ib/FoamX.jar Using jar /home/tadashi/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/l ib/jlfgr-1_0.jar Warning: Cannot convert string "-watanabe-mincho-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct Doing (with timeout 0) : "ssh panoutsosvisitor -l tadashi FoamXCaseBrowser -ORBNamingAddr inet:127.0.0.1:1234 &" /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : FoamXCaseBrowser Date : Jul 26 2006 Time : 11:39:22 Host : panoutsosvisitor PID : 2226 Root : Case : Nprocs : 1 Finishing FoamXCaseBrowser::main(int argc, char **argv) Caught FoamXError exception in FoamXCaseBrowser::main(int argc, char **argv) : FoamXError "Unexpected error" In function "FoamX::NameServer::connect(CORBA:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifRB_ptr pOrb)" in file "NameServer.C" at line 220 FoamX.Exceptions.FoamXException: No caseBrowser started on panoutsosvisitor at FoamX.CaseManagement.CaseBrowserModel.getCaseBrows erReference(CaseBrowserModel.j ava:415) at FoamX.CaseManagement.CaseBrowserModel.startCaseBro wser(CaseBrowserModel.java:458 ) at FoamX.CaseManagement.CaseBrowserPanel$StartCaseBro wserAction.actionPerformed(Cas eBrowserPanel.java:1607) at FoamX.CaseManagement.CaseBrowserPanel.handleMouseO pen(CaseBrowserPanel.java:1383 ) at FoamX.CaseManagement.CaseBrowserPanel.OnMouseClick ed(CaseBrowserPanel.java:1246) at FoamX.CaseManagement.CaseBrowserPanel.access$200(C aseBrowserPanel.java:69) at FoamX.CaseManagement.CaseBrowserPanel$2.mouseClick ed(CaseBrowserPanel.java:1149) at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211) at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211) at java.awt.Component.processMouseEvent(Component.jav a:5103) at java.awt.Component.processEvent(Component.java:489 7) at java.awt.Container.processEvent(Container.java:156 9) at java.awt.Component.dispatchEventImpl(Component.jav a:3615) at java.awt.Container.dispatchEventImpl(Container.jav a:1627) at java.awt.Component.dispatchEvent(Component.java:34 77) at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:3207) at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3128) at java.awt.Container.dispatchEventImpl(Container.jav a:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606 ) at java.awt.Component.dispatchEvent(Component.java:34 77) at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456) at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:2 01) at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151 ) at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100) /home/tadashi/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 131: 28999 abort FoamXHostBrowser -ORBNamingAddr $myIOP runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 28995). /home/tadashi/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 66: 28995 abort nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null |
The problem could be the 127.0
The problem could be the 127.0.0.1 instead of the hostname. Do not use 'localhost' and/or change your /etc/hosts.
|
Hi! Mattijs
Thank you for y
Hi! Mattijs
Thank you for your suggestion, but I still have same problem as below. Do you have any other idea? Tadashi [tadashi@tmori oodles]$ Starting NameServer with inet:tmori:1234 ... Starting FoamX Host Browser with inet:tmori:1234 ... /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : FoamXHostBrowser Date : Jul 27 2006 Time : 19:54:55 Host : tmori PID : 11935 Root : Case : Nprocs : 1 HostBrowser running..... Using jar /home/tadashi/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/l ib/FoamX.jar Using jar /home/tadashi/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/l ib/jlfgr-1_0.jar Warning: Cannot convert string "-watanabe-mincho-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct Doing (with timeout 0) : "ssh panoutsosvisitor -l tadashi FoamXCaseBrowser -ORBNamingAddr inet:tmori:1234 &" /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : FoamXCaseBrowser Date : Jul 27 2006 Time : 11:55:19 Host : panoutsosvisitor PID : 7967 Root : Case : Nprocs : 1 Caught FoamXError exception in FoamXCaseBrowser::main(int argc, char **argv) : FoamXError "Unexpected error" In function "FoamX::NameServer::connect(CORBA:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifRB_ptr pOrb)" in file "NameServer.CFinishing FoamXCaseBrowser::main(int argc, char **argv) " at line 220 FoamX.Exceptions.FoamXException: No caseBrowser started on panoutsosvisitor at FoamX.CaseManagement.CaseBrowserModel.getCaseBrows erReference(CaseBrowserModel.j ava:415) at FoamX.CaseManagement.CaseBrowserModel.startCaseBro wser(CaseBrowserModel.java:458 ) at FoamX.CaseManagement.CaseBrowserPanel$StartCaseBro wserAction.actionPerformed(Cas eBrowserPanel.java:1607) at FoamX.CaseManagement.CaseBrowserPanel.handleMouseO pen(CaseBrowserPanel.java:1383 ) at FoamX.CaseManagement.CaseBrowserPanel.OnMouseClick ed(CaseBrowserPanel.java:1246) at FoamX.CaseManagement.CaseBrowserPanel.access$200(C aseBrowserPanel.java:69) at FoamX.CaseManagement.CaseBrowserPanel$2.mouseClick ed(CaseBrowserPanel.java:1149) at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211) at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211) at java.awt.Component.processMouseEvent(Component.jav a:5103) at java.awt.Component.processEvent(Component.java:489 7) at java.awt.Container.processEvent(Container.java:156 9) at java.awt.Component.dispatchEventImpl(Component.jav a:3615) at java.awt.Container.dispatchEventImpl(Container.jav a:1627) at java.awt.Component.dispatchEvent(Component.java:34 77) at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:3207) at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3128) at java.awt.Container.dispatchEventImpl(Container.jav a:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606 ) at java.awt.Component.dispatchEvent(Component.java:34 77) at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456) at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:2 01) at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151 ) at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100) /home/tadashi/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 131: 11935 aborted FoamXHostBrowser -ORBNamingAddr $myIOP runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 11933). /home/tadashi/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 66: 11933 aborted nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null |
Works for me.
Running hostb
Works for me.
Running hostbrowser on a macine 'hunt', starting casebrowser on 'dm': Doing (with timeout 0) : "ssh dm -l mattijs FoamXCaseBrowser -ORBNamingAddr inet:hunt:1234 &" CaseBrowser running..... Guess your panoutsosvisitor machine does not 'know' tmori (from the nameserver address inet:tmori:1234) or the port 1234 is already taken. |
Dear Mattijs
Thanks for you
Dear Mattijs
Thanks for your reply. I changed port from 1234 to another by changing the file ~/OpenFOAM/.OpenFOAM-1.3/apps/FoamX/FoamXClient.cfg and also checked host name by pinging. But still I have same problem, only one thing that I found is that "echo $HOST" reply nothing. Does it make problem and what can I do for, if it makes problem? |
You will need a valid hostname
You will need a valid hostname and a single entry in /etc/hosts for it.
E.g. if I grep for my machine: grep hunt /etc/hosts I get: 10.0.0.159 hunt hunt.opencfd.co.uk |
Dear Mattijs
Yep,
When I c
Dear Mattijs
Yep, When I checked as you said, it showed as below. grep tmori /etc/hosts I got ***.198.69.210 tmori (I just hide first 3 digit ) ? |
Check the ns.ref that gets wri
Check the ns.ref that gets written by nsd (inside the runFoamXHB script). Check that both computers can read it. Check the contents with iordump or iordecode (I forget which). Check the machine name in there (has to be exactly the same as the machine in /etc/hosts, including domain name).
|
Dear Mattijs
I checked the
Dear Mattijs
I checked the contents of ns.ref by using iordump. Does something wrong with it, please refer as below? ----------------------------------------------------------- Repo Id: IDL:omg.org/CosNaming/NamingContextExt:1.0 IIOP Profile Version: 1.0 Address: inet:***.198.69.210:1234 Location: corbaloc::***.198.69.210:1234/NameService Key: 4e 61 6d 65 53 65 72 76 69 63 65 NameService Multiple Components Profile Components: Native Codesets: normal: ISO 8859-1:1987; Latin Alphabet No. 1 wide: ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit form Key: (empty) |
Dear Mattijs
At last, I cou
Dear Mattijs
At last, I could solve the problem. The problem was just the FIREWALL setting. Thanks a lot of your advices. |
All times are GMT -4. The time now is 20:09. |