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

FoamX Libelfso ELF file data encoding not littleendian

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2008, 17:03
Default Hello Everybody, i just ins
  #1
New Member
 
Ralf Häßler
Join Date: Mar 2009
Posts: 3
Rep Power: 17
hazl is on a distinguished road
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 is offline   Reply With Quote

Old   May 5, 2008, 17:35
Default Folks, i have found a later or
  #2
New Member
 
Ralf Häßler
Join Date: Mar 2009
Posts: 3
Rep Power: 17
hazl is on a distinguished road
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 is offline   Reply With Quote

Old   May 24, 2008, 19:06
Default No response at all and i am a
  #3
New Member
 
Ralf Häßler
Join Date: Mar 2009
Posts: 3
Rep Power: 17
hazl is on a distinguished road
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
hazl is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PLOT3D ASCII solution file to MATLAB data file Sandeep Rana Main CFD Forum 4 June 11, 2010 10:48
FoamX error shared object file not found mdmk OpenFOAM Pre-Processing 2 June 22, 2008 06:19
FoamX save case file problem rchenglong OpenFOAM Pre-Processing 0 September 26, 2007 21:40
Creating data file Kevin CFX 3 September 8, 2004 23:47
Data file format ales FLUENT 2 March 2, 2001 21:46


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