CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Problem about FoamXHB

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 6, 2006, 14:24
Default Hi All! I have a problem wi
  #1
New Member
 
Simon Zhang
Join Date: Mar 2009
Posts: 18
Rep Power: 7
osimonsimon is on a distinguished road
Hi All!

I have a problem with opening FoamX. The messages are pasted below. It seems like I cannot get the HostBrowser working. I am a beginner and I'm using Fedora 5. Could someone please help me solve this problem? I've been searching the old threads here but cann't find the right answer for this. It still not working after I tried every suggestions for similiar problems. Many Thanks!!

Simon

[simon@BILDMLINUX ~]$ FoamX
Starting NameServer with inet:BILDMLINUX:1234 ...
Starting FoamX Host Browser with inet:BILDMLINUX:1234 ...
FoamXHostBrowser: error while loading shared libraries: /home/simon/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/libFoamX.so: cannot restore segment prot after reloc: Permission denied
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 4950).
/home/simon/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 66: 4950 Killed nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null
osimonsimon is offline   Reply With Quote

Old   October 7, 2006, 08:57
Default You could check: - does anyth
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
You could check:
- does anything else run fine? e.g. blockMesh, or icoFoam.
- are you using the correct c++ compiler for your OpenFOAM version?
- if other programs run correctly maybe libFoamX (uses MICO libraries) was not compiled correctly?
mattijs is offline   Reply With Quote

Old   October 7, 2006, 08:57
Default You could check: - does anyth
  #3
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
You could check:
- does anything else run fine? e.g. blockMesh, or icoFoam.
- are you using the correct c++ compiler for your OpenFOAM version?
- if other programs run correctly maybe libFoamX (uses MICO libraries) was not compiled correctly?
mattijs is offline   Reply With Quote

Old   October 8, 2006, 19:53
Default Hi Mattijs, Yes, the blockMes
  #4
New Member
 
Simon Zhang
Join Date: Mar 2009
Posts: 18
Rep Power: 7
osimonsimon is on a distinguished road
Hi Mattijs,
Yes, the blockMesh and icoFoam are running fine. I believe I am using a correct c++ compiler cuz I download everything from the download page. Sorry I am very fresh to this. I didn't do anything except unzip all the files and putting them into recommended folders. Then I tried to run FoamX and it gives the libelf.so.0 problem, which I have fixed according you guys help in one old thread. Does it compiles every time it runs? Thank you for your time on my maybe ignorant question.
osimonsimon is offline   Reply With Quote

Old   October 9, 2006, 04:56
Default Looks weird. - check what
  #5
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
Looks weird.

- check what libraries libFoamX.so pulls in with ldd.

- recompile Mico
See $FOAM_SRC/Allwmake, section on Mico on how to recompile it.

- recompile FoamX.
See $FOAM_UTILITIES/preProcessing/FoamX/Allwmake.
mattijs is offline   Reply With Quote

Old   October 10, 2006, 16:01
Default Hi Mattijs, I check the lib
  #6
New Member
 
Simon Zhang
Join Date: Mar 2009
Posts: 18
Rep Power: 7
osimonsimon is on a distinguished road
Hi Mattijs,

I check the libraries that libFoamX.so pulls with ldd. Here is the info it comes out. I have no idea what it says. I am recompiling Mico using $FOAM_SRC/Allwmake. It seems it will take a while to finish....I'll let you know once it is done. Everything else works pretty well. Is that possible something was screwed up when the IT guy helped me set up the Fedora Systems? Because I think something might be wrong with the host setup. Thank you again for your help!


[simon@BILDMLINUX linuxGcc4DPOpt]$ ldd libFoamX.so
linux-gate.so.1 => (0x00f14000)
libdl.so.2 => /lib/libdl.so.2 (0x0074b000)
libstdc++.so.6 => /home/simon/OpenFOAM/linux/gcc-4.1.0/lib/libstdc++.so.6 (0x0074f000)
libm.so.6 => /lib/libm.so.6 (0x00dee000)
libgcc_s.so.1 => /home/simon/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 (0x0082f000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0083a000)
libc.so.6 => /lib/libc.so.6 (0x0084e000)
/lib/ld-linux.so.2 (0x009b5000)
osimonsimon is offline   Reply With Quote

Old   October 12, 2006, 10:04
Default Problems remains the same afte
  #7
New Member
 
Simon Zhang
Join Date: Mar 2009
Posts: 18
Rep Power: 7
osimonsimon is on a distinguished road
Problems remains the same after recomplied FoamX amd MICO...
osimonsimon is offline   Reply With Quote

Old   October 12, 2006, 11:27
Default Try this: http://www.cfd-onli
  #8
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 646
Rep Power: 10
dmoroian is on a distinguished road
Try this:
http://www.cfd-online.com/OpenFOAM_D...tml?1160648197
dmoroian is offline   Reply With Quote

Old   October 13, 2006, 10:35
Default Fantastic, problem solved!! T
  #9
New Member
 
Simon Zhang
Join Date: Mar 2009
Posts: 18
Rep Power: 7
osimonsimon is on a distinguished road
Fantastic, problem solved!!
Thank you Dragos!
osimonsimon is offline   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
Problem in Modelling Heat Transfer Problem Deepak R FLUENT 1 December 6, 2007 10:37
Problem in cavity flow problem saad Main CFD Forum 4 November 1, 2007 09:45
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Problem in Tutorial problem of fluent Phanindra FLUENT 5 April 17, 2007 10:57
problem in solving "wave generation" problem san FLUENT 2 April 4, 2006 00:37


All times are GMT -4. The time now is 11:21.