yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02480
Re: compile YADE on openSUSE 11.2 64 bit OS
Dear Sergei,
You are an angle! I had both freeglut 64 bit and 32 bit installed.
Somehow, scons picked up the 32 bit first.
Now, compilation completed. However, when I run the first example
CohesiveTriaxialTest.xml, the run crashed right away (looks like it is due
to memory corruption).
Messages are attached below.
Pei-Ying
-----------------------
khsieh@tarrytown:~> yade-trunk
Welcome to Yade bzr2064
FIXME: class CSPhys does not register with YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class CapillaryPressureEngine does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class CapillaryRecorder does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class CapillaryStressRecorder does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class CohesiveFrictionalContactInteraction does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class CohesiveFrictionalContactLaw does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class CohesiveFrictionalMat does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class CohesiveFrictionalRelationships does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class CohesiveTriaxialTest does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class ContactStressRecorder does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class HydraulicForceEngine does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class Ip2_BMP_BMP_CSPhys does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class Ip2_MomentMat_MomentMat_MomentPhys does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class
Ip2_SimleViscoelasticMat_SimpleViscoelasticMat_SimpleViscoelasticPhys does
not register with YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class Law2_Dem3Dof_CSPhys_CundallStrack does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class Law2_SCG_MomentPhys_CohesionlessMomentRotation does not
register with YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class Law2_Spheres_Viscoelastic_SimpleViscoelastic does not register
with YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class MomentPhys does not register with YADE_CLASS_BASE_DOC_ATTR*
yet
FIXME: class PositionOrientationRecorder does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class ResetRandomPosition does not register with
YADE_CLASS_BASE_DOC_ATTR*
yet
FIXME: class SimpleElasticRelationshipsWater does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class SimpleViscoelasticMat does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class SimpleViscoelasticPhys does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class TriaxialCompressionEngine does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class TriaxialStateRecorder does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class TriaxialStressController does not register with
YADE_CLASS_BASE_DOC_ATTR* yet
FIXME: class TriaxialTest does not register with YADE_CLASS_BASE_DOC_ATTR*
yet
FIXME: class TriaxialTestWater does not register with
YADE_CLASS_BASE_DOC_ATTR*
yet
TCP python prompt on localhost:9000, auth cookie
`kaucys'
TCP info provider on
localhost:21000
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both,
F9 generator, F8 plot. ]]
Yade [1]:
yade.qt.Generator();
Yade [2]: generating aggregates ... sphere (0.122449 0.592214 0.8563
0.0450842
sphere (0.227229 0.513164 0.410346
0.0604859
sphere (0.719518 0.129991 0.554439 0.0492672
skipping some spheres here......
sphere (0.83497 0.659594 0.874765
0.0536332
sphere (0.563586 0.508922 0.386548
0.0521809
INFO /home/khsieh/yade-source/yade/core/Omega.cpp:279 loadSimulation:
Loading file ./CohesiveTriaxialTest.xml
INFO gui/qt3/GLViewer.cpp:389 centerScene: Less than 1000 bodies, moving
possible. Select with shift, press 'm' to move.
INFO gui/qt3/GLViewer.cpp:389 centerScene: Less than 1000 bodies, moving
possible. Select with shift, press 'm' to move.
INFO gui/qt3/GLViewer.cpp:389 centerScene: Less than 1000 bodies, moving
possible. Select with shift, press 'm' to move.
INFO
/home/khsieh/yade-source/yade/pkg/dem/Engine/PartialEngine/TriaxialCompressionEngine.cpp:165
applyCondition: First run, will initialize!
INFO
/home/khsieh/yade-source/yade/pkg/dem/Engine/PartialEngine/TriaxialCompressionEngine.cpp:116
doStateTransition: State transition from STATE_UNINITIALIZED to
STATE_ISO_COMPACTION
done.
INFO
/home/khsieh/yade-source/yade/pkg/dem/Engine/PartialEngine/TriaxialCompressionEngine.cpp:180
applyCondition: UnbalancedForce=0, rel stress 1
INFO
/home/khsieh/yade-source/yade/pkg/dem/Engine/GlobalEngine/GlobalStiffnessTimeStepper.cpp:89
computeTimeStep: computed timestep 1.79769e+308, BUT timestep is 0.001.
INFO
/home/khsieh/yade-source/yade/pkg/dem/Engine/GlobalEngine/GlobalStiffnessTimeStepper.cpp:89
computeTimeStep: computed timestep 1.79769e+308, BUT timestep is 0.001.
*** glibc detected *** /usr/bin/python: malloc(): memory corruption:
0x00007f5a6c000900
***
======= Backtrace:
=========
/lib64/libc.so.6[0x7f5a9996cc76]
/lib64/libc.so.6[0x7f5a9996fd0e]
/lib64/libc.so.6(__libc_malloc+0x79)[0x7f5a99971a59]
/usr/lib64/gcc/x86_64-suse-linux/4.4/libstdc++.so(_Znwm+0x1d)[0x7f5a98a6f74d]
/home/khsieh/YADE/lib/yade-trunk/py/yade/../../lib/libcore.so(_ZN20InteractionContainer12requestEraseEiib+0x3a)[0x7f5a9437025a]
/home/khsieh/YADE/lib/yade-trunk/plugins/libplugins.so(_ZN28CohesiveFrictionalContactLaw6actionEP5Scene+0x35a)[0x7f5a89792c9a]
/home/khsieh/YADE/lib/yade-trunk/py/yade/../../lib/libcore.so(_ZN5Scene18moveToNextTimeStepEv+0xd1)[0x7f5a9437c1b1]
/home/khsieh/YADE/lib/yade-trunk/py/yade/../../lib/libcore.so(_ZN14SimulationFlow12singleActionEv+0x2d)[0x7f5a943843ad]
/home/khsieh/YADE/lib/yade-trunk/py/yade/../../lib/libcore.so(_ZN12ThreadWorker16callSingleActionEv+0x29)[0x7f5a94377dc9]
/home/khsieh/YADE/lib/yade-trunk/py/yade/../../lib/libcore.so(_ZN12ThreadRunner4callEv+0x31)[0x7f5a9437ee31]
/home/khsieh/YADE/lib/yade-trunk/py/yade/../../lib/libcore.so(_ZN12ThreadRunner3runEv+0x3b)[0x7f5a9437eebb]
/usr/lib64/libboost_python.so.1.39.0(_ZNK5boost9function0IvEclEv+0x34)[0x7f5a96ee2a54]
/usr/lib64/libboost_thread.so.1.39.0(thread_proxy+0x60)[0x7f5a98174010]
/lib64/libpthread.so.0[0x7f5a9a2b765d]
/lib64/libc.so.6(clone+0x6d)[0x7f5a999cae1d]
======= Memory map:
========
00400000-00401000 r-xp 00000000 08:02 15957
/usr/bin/python2.6
00600000-00601000 r--p 00000000 08:02 15957
/usr/bin/python2.6
00601000-00602000 rw-p 00001000 08:02 15957
/usr/bin/python2.6
00602000-01283000 rw-p 00000000 00:00 0
[heap]
41251000-41253000 rwxp 00000000 00:10 3598
/dev/zero
41d8e000-41e13000 rw-p 00000000 00:10 3598
/dev/zero
7f5a6c000000-7f5a6c021000 rw-p 00000000 00:00
0
7f5a6c021000-7f5a70000000 ---p 00000000 00:00
0
7f5a74000000-7f5a74021000 rw-p 00000000 00:00
0
7f5a74021000-7f5a78000000 ---p 00000000 00:00
0
7f5a796b0000-7f5a796b1000 ---p 00000000 00:00
0
7f5a796b1000-7f5a79eb1000 rwxp 00000000 00:00
0
7f5a79eb1000-7f5a79eb2000 ---p 00000000 00:00
0
7f5a79eb2000-7f5a7a6b2000 rwxp 00000000 00:00
0
7f5a7a6b2000-7f5a7a6b3000 ---p 00000000 00:00
0
7f5a7a6b3000-7f5a7aeb3000 rwxp 00000000 00:00
0
7f5a7aeb3000-7f5a7b0b3000 rw-s 22d05e000 00:10 7324
/dev/nvidia0
7f5a7b0b3000-7f5a7b1b3000 rw-s 20f045000 00:10 7324
/dev/nvidia0
7f5a7b1b3000-7f5a7b1cb000 r-xp 00000000 08:02 29237
/usr/lib64/libXmu.so.6.2.0
7f5a7b1cb000-7f5a7b3cb000 ---p 00018000 08:02 29237
/usr/lib64/libXmu.so.6.2.0
7f5a7b3cb000-7f5a7b3cc000 r--p 00018000 08:02 29237
/usr/lib64/libXmu.so.6.2.0
7f5a7b3cc000-7f5a7b3cd000 rw-p 00019000 08:02 29237
/usr/lib64/libXmu.so.6.2.0
7f5a7b3cd000-7f5a7b3ce000 ---p 00000000 00:00
0
7f5a7b3ce000-7f5a7bbce000 rwxp 00000000 00:00
0
7f5a7bbce000-7f5a7bbd8000 r-xp 00000000 08:02 540900
/usr/lib/qt3/plugins/inputmethods/libqxim.lib64.so
7f5a7bbd8000-7f5a7bdd8000 ---p 0000a000 08:02 540900
/usr/lib/qt3/plugins/inputmethods/libqxim.lib64.so
7f5a7bdd8000-7f5a7bdd9000 r--p 0000a000 08:02 540900
/usr/lib/qt3/plugins/inputmethods/libqxim.lib64.so
7f5a7bdd9000-7f5a7bdda000 rw-p 0000b000 08:02 540900
/usr/lib/qt3/plugins/inputmethods/libqxim.lib64.so
7f5a7bdda000-7f5a7bdfe000 r-xp 00000000 08:02 540899
/usr/lib/qt3/plugins/inputmethods/libqsimple.lib64.so
7f5a7bdfe000-7f5a7bffe000 ---p 00024000 08:02 540899
/usr/lib/qt3/plugins/inputmethods/libqsimple.lib64.so
7f5a7bffe000-7f5a7bfff000 r--p 00024000 08:02 540899
/usr/lib/qt3/plugins/inputmethods/libqsimple.lib64.so
7f5a7bfff000-7f5a7c000000 rw-p 00025000 08:02 540899
/usr/lib/qt3/plugins/inputmethods/libqsimple.lib64.so
7f5a7c000000-7f5a7c382000 rw-p 00000000 00:00 0
7f5a7c382000-7f5a80000000 ---p 00000000 00:00 0
7f5a80066000-7f5a800a6000 rw-s 207c4c000 00:10 7324
/dev/nvidia0
7f5a800a6000-7f5a8010b000 rw-p 00000000 00:00 0
7f5a8010b000-7f5a80166000 r--p 00000000 08:02 29577
/var/cache/libx11/compose/l4_030_313cb605_00280cc0
7f5a80166000-7f5a8016a000 r-xp 00000000 08:02 540898
/usr/lib/qt3/plugins/inputmethods/libqimsw-none.lib64.so
7f5a8016a000-7f5a80369000 ---p 00004000 08:02 540898
/usr/lib/qt3/plugins/inputmethods/libqimsw-none.lib64.so
7f5a80369000-7f5a8036a000 r--p 00003000 08:02 540898
/usr/lib/qt3/plugins/inputmethods/libqimsw-none.lib64.so
7f5a8036a000-7f5a8036b000 rw-p 00004000 08:02 540898
/usr/lib/qt3/plugins/inputmethods/libqimsw-none.lib64.so
7f5a8036b000-7f5a80374000 r-xp 00000000 08:02 540897
/usr/lib/qt3/plugins/inputmethods/libqimsw-multi.lib64.so
7f5a80374000-7f5a80573000 ---p 00009000 08:02 540897
/usr/lib/qt3/plugins/inputmethods/libqimsw-multi.lib64.so
7f5a80573000-7f5a80574000 r--p 00008000 08:02 540897
/usr/lib/qt3/plugins/inputmethods/libqimsw-multi.lib64.so
7f5a80574000-7f5a80575000 rw-p 00009000 08:02 540897
/usr/lib/qt3/plugins/inputmethods/libqimsw-multi.lib64.so
7f5a80575000-7f5a80578000 r-xp 00000000 08:02 22949
/usr/lib64/python2.6/lib-dynload/_lsprof.so
7f5a80578000-7f5a80778000 ---p 00003000 08:02 22949
/usr/lib64/python2.6/lib-dynload/_lsprof.so
7f5a80778000-7f5a80779000 r--p 00003000 08:02 22949
/usr/lib64/python2.6/lib-dynload/_lsprof.so
7f5a80779000-7f5a8077a000 rw-p 00004000 08:02 22949
/usr/lib64/python2.6/lib-dynload/_lsprof.so
7f5a8077a000-7f5a8077c000 r-xp 00000000 08:02 22953
/usr/lib64/python2.6/lib-dynload/resource.so
7f5a8077c000-7f5a8097b000 ---p 00002000 08:02 22953
/usr/lib64/python2.6/lib-dynload/resource.so
7f5a8097b000-7f5a8097c000 r--p 00001000 08:02 22953
/usr/lib64/python2.6/lib-dynload/resource.so
7f5a8097c000-7f5a8097d000 rw-p 00002000 08:02 22953
/usr/lib64/python2.6/lib-dynload/resource.so
7f5a8097d000-7f5a809bb000 r-xp 00000000 08:02 1260
/lib64/libncurses.so.5.6
7f5a809bb000-7f5a80bba000 ---p 0003e000 08:02 1260
/lib64/libncurses.so.5.6
7f5a80bba000-7f5a80bbe000 r--p 0003d000 08:02 1260
/lib64/libncurses.so.5.6
7f5a80bbe000-7f5a80bc4000 rw-p 00041000 08:02 1260
/lib64/libncurses.so.5.6
7f5a80bc4000-7f5a80c0e000 r-xp 00000000 08:02 1371
/lib64/libncursesw.so.5.6
7f5a80c0e000-7f5a80e0d000 ---p 0004a000 08:02 1371
/lib64/libncursesw.so.5.6Aborted
khsieh@tarrytown:~> ^C
khsieh@tarrytown:~>
On Sat, Mar 6, 2010 at 4:02 AM, Sergei D. <sj2001@xxxxxxxxx> wrote:
>
> > I tried to compile yade on another computer after installing all required
> > packages (I tried my best). I have attached the log. Basically, I am
> still
> > having problem with freeglut. Below is what jumps out at me:
> >
> >
> /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld:
> > skipping incompatible /usr/lib/libglut.so when searching for -lglut
> >
> > Can someone shed some light on this compatibility issue?
> >
> > I have also attached my config.log.
> >
> > Thanks!
> >
> > Pei-Ying
> >
> >
>
> /usr/lib/libglut.so is 32 bit library probably,
> but you need 64 bit version of it:
>
> freeglut-090301-3.1.x86_64
> freeglut-devel-090301-3.1.x86_64
>
> Also you need to add "/usr/lib64" to LIBPATH in scons.profile-*:
>
> LIBPATH = '/usr/lib64:/usr/lib64/qt3/lib64'
>
> If it don't help, please, attach to next mail you scons.profile-*;
> output of "rpm -qa | grep glut" and "rpm -qf /usr/lib/libglut.so".
>
> S.
>
>
>
> --
> Best regards,
> Sergei D.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References