./FoamX
Starting NameServer w
./FoamX
Starting NameServer with inet:console:1234 ... /export/home/heliang/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 122: nsd: command not found when i type which nsd /usr/bin/which: no nsd in (/export/home/heliang/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/platforms/.....) what can i do? |
In my case, I have the nsd in:
In my case, I have the nsd in:
dragosm@lap08:~> which nsd /fsd/home/dragosm/OpenFOAM/OpenFOAM-1.3/src/mico-2.3.11/platforms/linuxAMD64Gcc4 DPOpt/bin/nsd Try to see first if you have it there too! Dragos |
In mico-2.3.11 there is no fol
In mico-2.3.11 there is no folder what's name is platforms,
I havn't this file or folder |
Probably your installation is
Probably your installation is not complete!
Did you first install the sources and then the binaries? If you did it the other way around it might cause you troubles. Dragos |
binary pack?
how to use this
binary pack?
how to use this pack? |
Ok, I suspect you run a 32 bit
Ok, I suspect you run a 32 bit machine, so on short, the installation goes as follows:
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.linuxGcc4DPOpt.gt gz 3. wget http://puzzle.dl.sourceforge.net/sou....1.0.linux.tgz 4. wget http://heanet.dl.sourceforge.net/sou....4.2.linux.tgz 5. wget http://ovh.dl.sourceforge.net/source...2_05.linux.tgz 6. mkdir -p ~/OpenFOAM/linux 7. mkdir ~/OpenFOAM/jobControl 8. cd OpenFOAM 9. tar -zxvf ../OpenFOAM-1.3.General.gtgz 10. tar -zxvf ../OpenFOAM-1.3.linuxGcc4DPOpt.gtgz 11. cd linux 12. tar -zxvf ../../gcc-4.1.0.linux.tgz 13. tar -zxvf ../../paraview-2.4.2.linux.tgz 14. tar -zxvf ../../j2sdk1.4.2_05.linux.tgz 15. cd 16. echo ". ~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc" >> .bashrc That should be all! Dragos |
thanks,I have re-install accor
thanks,I have re-install according your list step
but I receive anthor error: Starting NameServer with inet:console:1234 ... nsd: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory How to solve it regards |
Ok, now you come around http:/
Ok, now you come around http://www.cfd-online.com/OpenFOAM_D...part/happy.gif
This error is simple to solve. Just install whatever package is available for your linux distribution, which contains the libelf.so.0. For instance, in my case,I have Suse 9.3, and the package containing this library is libelf-0.8.5-35.rpm Dragos |
my operate system is Redhat ,d
my operate system is Redhat ,do you what package is available for this ?
thanks very much |
What version?
Here you can fi
What version?
Here you can find a package for RedHat 8.0 ftp://194.199.20.114/linux/redhat/8.0/en/os/i386/RedHat/RPMS/libelf-0.8.2-2.i386 .rpm Dragos |
it is ok
thanks
it is ok
thanks |
I cant install the rpm package
I cant install the rpm package yesterday because i am not administrator of that computer .
just now,after installing the package of libelf.so.0,I meet another error when runing FoamX : [heliang@console heliang]$ FoamX Starting NameServer with inet:console:1234 ... Starting FoamX Host Browser with inet:console:1234 ... FoamXHostBrowser: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by FoamXHostBrowser) runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 32723). I search it from forum, somebody give advice to recompile the source. Do anyone have other method to sovle this problem? |
I cant install the rpm package
I cant install the rpm package yesterday because i am not administrator of that computer .
just now,after installing the package of libelf.so.0,I meet another error when runing FoamX : [heliang@console heliang]$ FoamX Starting NameServer with inet:console:1234 ... Starting FoamX Host Browser with inet:console:1234 ... FoamXHostBrowser: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by FoamXHostBrowser) runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 32723). I search it from forum, somebody give advice to recompile the source. Do anyone have other method to sovle this problem? |
You won't like the other metho
You won't like the other method: upgrade your system to something newer, like fedora core 5.
Dragos |
I dont understand what meaning
I dont understand what meaning
I have re-compiled the source completely.Another problem comes out. [heliang@console OpenFOAM-1.3]$ FoamX Starting NameServer with inet:console:1234 ... Starting FoamX Host Browser with inet:console: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 : Oct 11 2006 Time : 00:13:37 Host : console PID : 782 Root : Case : Nprocs : 1 Caught FoamXError exception in FoamXHostBrowser::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 Finishing FoamXHostBrowser::main(int argc, char **argv) /export/home/heliang/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 131: 780 nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null runFoamXHB : cleanup runFoamXHB: Name server is not running. |
It seems that your FoamXHostBr
It seems that your FoamXHostBrowser is giving you the error.
Try to see if your compilation produced a proper executable: ldd $(which FoamXHostBrowser) It should not give you any "not found" message. If it does, that means you did not recompile everything. Dragos P.S. I still think you should upgrade your system, or you will most likely have problems with paraview |
yes,I did not recompile comple
yes,I did not recompile completely.
I want to know that it can be installed in the redhat 8, do anyone finish this before? P.S what is the meaning "upgrade your system", upgrade the core of system, or use other system? |
By upgrading your system, I me
By upgrading your system, I meant to install a newer library glibc. Though, this is not trivial so maybe you will find easier to install a newer successor of RedHat 8: Fedora Core 5 perhaps.
Dragos |
I have install Fedora Core 5
I have install Fedora Core 5
one more problem: FoamX Starting NameServer with inet:localhost.localdomain:1234 ... Starting FoamX Host Browser with inet:localhost.localdomain:1234 ... FoamXHostBrowser: error while loading shared libraries: /home/Dario/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/libFoamX.so: cannot restore segment prot after reloc: Permission denied runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 29989). Does anybody know what kind of touble is this? |
Well, google is your friend!
Well, google is your friend!
"He" says this problem is cause on modern distributions by a new security layer called selinux. Among other solutions, the simplest is to disable this layer by issuing the following command, as root: /usr/sbin/setenforce 0 That should do the trick! I hope you will find it usefull. Dragos |
All times are GMT -4. The time now is 12:17. |