CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   FoamX Libelfso ELF file data encoding not littleendian (https://www.cfd-online.com/Forums/openfoam-installation/57376-foamx-libelfso-elf-file-data-encoding-not-littleendian.html)

hazl April 10, 2008 17:03

Hello Everybody, i just ins
 
Hello Everybody,

i just installed OpenFOAM 1.4.1 under Suse Linux 10.3 64 bit running a bash shell. 'foamInstallationTest' produces no errors. Following the installation README worked perfect and also the icofoam tutorial (Blockmesh...) worked well.

However i cannot get FoamX to start:

ralf@Bollerhannes:~> FoamX &
[1] 4642
ralf@Bollerhannes:~> Starting NameServer with inet:Bollerhannes:1234 ...
nsd: error while loading shared libraries: /usr/lib64/libelf.so.0: ELF file data encoding not little-endian

I have to manually kill -9 it as otherwise it won't stop. My libelf-version is:

/usr/lib64/libelf.so.0 -> libelf.so.0.8.9
/usr/lib64/libelf.so.0.8.9

Is it too new/old? Is it the 32 Bit Version (i downloaded the latest 64 Bit version).

Any hint is appreciated. The kindest regards, Ralf

hazl May 5, 2008 17:35

Folks, i have found a later or
 
Folks, i have found a later or older version of libelf, compiled it, linked it to libelf.so.0 and guess what...?
Yessss it does start, however i get a new error message, hopefully not linked to my tweaking libelf:

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

Exec : FoamXHostBrowser
Date : May 05 2008
Time : 21:37:44
Host : Bollerhannes
PID : 5027
Root :
Case :
Nprocs : 1
HostBrowser running.....
Setting LANG to en_EN
Using jar /home/ralf/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/preProcessing/FoamX/li b/FoamX.jar
Using jar /home/ralf/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/preProcessing/FoamX/li b/jlfgr-1_0.jar
java: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
/home/ralf/OpenFOAM/OpenFOAM-1.4.1/bin/FoamX: line 244: 5035 Abgebrochen $jdkhome/bin/java -cp "$jars" -DFoamX.SystemPath=$WM_PROJECT_DIR -DFoamX.SystemConfigPath=$FOAMX_CONFIG -DFoamX.UserConfigPath=$FOAMX_CONFIG FoamX.App $orbArgs $args
/home/ralf/OpenFOAM/OpenFOAM-1.4.1/bin/runFoamXHB: line 139: 5027 Getötet FoamXHostBrowser -ORBNamingAddr $myIOP
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 5020).
/home/ralf/OpenFOAM/OpenFOAM-1.4.1/bin/runFoamXHB: line 66: 5020 Getötet nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref < /dev/null

As you may notice, there are some german phrases in between, 'getötet' means 'killed', 'abgebrochen' means 'stopped'.

As i mentioned before, everything else works fine, paraview is great and so on. I think i did not tweak my OS in any way. Has anyone done this with Suse 10.3 64 Bit before? Shall i rather get an older one?

Thanks in advance, regards, Ralf

hazl May 24, 2008 19:06

No response at all and i am a
 
No response at all and i am a little surprised.

Googling the error message above brought me to a workaround:

export LIBXCB_ALLOW_SLOPPY_LOCK=1

before starting FoamX somehow helped (don't ask why). I copied the line to the FoamX-Script. That should do.

Regards, Ralf


All times are GMT -4. The time now is 05:22.