yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01060
collider benchmark errors
-
To:
Yade Development Group <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Sat, 28 Feb 2009 22:16:03 +0100
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
out of curiosity I launched the benchmark, thanks to the fact that it
is so easy to do. It's a 16core X7350@2.93GHz
here's my scons profile:
PREFIX = '/home/3S-LAB/jkozicki/TMP-trunk/YADE'
exclude = 'none'
features = 'python'
jobs = 32
buildPrefix = '/tmp'
version = 'trunk'
QTDIR = ['/usr/share/qt3', '/usr/lib/qt', '/usr/lib/qt3', '/usr/qt/3', '/usr/lib/qt-3.3']
CXXFLAGS = []
SHCCFLAGS = ['-fPIC']
hmm, I didn't notice, it looks like a debug build.
Anyway, attached is for example a perf.2k.log file (they all fail in
the same way).
--
Janek Kozicki |
INFO core/yade.cpp:244 main: Loading /home/3S-LAB/jkozicki/.yade-trunk/preferences.xml
INFO core/yade.cpp:246 main: Loading plugins
WARNING: cannot open file used for capillary law, in TriaxalTestWater
Python TCP server listening on localhost:9014, auth cookie is `ceykds'
Running script perf.py
Parameter name: nSpheres n
Parameter name: collider c
Generating packing
INFO pkg/dem/PreProcessor/TriaxialTest.cpp:280 generate: Mean radius value of 0.001 requested, scaling 3 dimensions by 0.0322398
INFO pkg/dem/PreProcessor/TriaxialTest.cpp:715 GenerateCloud: Generating aggregates ...
INFO gui/py/yadeControl.cpp:620 generate: SUCCESS:
File /tmp/filethMYIz.xml.bz2 generated successfully.
generation time: 00:00:01
save time: 00:00:02
Generated a sample with 2000spheres inside box of dimensions: (0.03223983908032939,0.03223983908032939,0.03223983908032939).
INFO core/Omega.cpp:218 loadSimulation: Loading file /tmp/filethMYIz.xml.bz2
Packing packing-2k.spheres done
INFO gui/py/yadeControl.cpp:620 generate: SUCCESS:
File /tmp/filesAy258.xml.bz2 generated successfully.
generation time: 00:00:00
save time: 00:00:01
INFO core/Omega.cpp:218 loadSimulation: Loading file /tmp/filesAy258.xml.bz2
[DEBUG] BexContainer: Resized to 2006
INFO pkg/dem/Engine/StandAloneEngine/GlobalStiffnessTimeStepper.cpp:189 computeTimeStep: computed timestep 1.51287e+154, BUT timestep is 0.001.
INFO pkg/dem/Engine/DeusExMachina/TriaxialCompressionEngine.cpp:226 applyCondition: First run, will initialize!
INFO pkg/dem/Engine/DeusExMachina/TriaxialCompressionEngine.cpp:146 doStateTransition: State transition from STATE_UNINITIALIZED to STATE_ISO_COMPACTION done.
INFO pkg/dem/Engine/DeusExMachina/TriaxialCompressionEngine.cpp:258 applyCondition: UnbalancedForce=0
Name Count Time Rel. time
-------------------------------------------------------------------------------------------------------
PhysicalActionContainerReseter 1 54us 0.01%
BoundingVolumeMetaEngine 1 1757us 0.20%
PersistentSAPCollider 1 874599us 99.00%
InteractionGeometryMetaEngine 1 57us 0.01%
InteractionPhysicsMetaEngine 1 10us 0.00%
ElasticContactLaw 1 8us 0.00%
GlobalStiffnessCounter 1 3us 0.00%
GlobalStiffnessTimeStepper 1 1263us 0.14%
TriaxialCompressionEngine 1 1521us 0.17%
TriaxialStateRecorder 1 2247us 0.25%
NewtonsDampedLaw 1 1918us 0.22%
TOTAL 883442us 100.00%
INFO pkg/dem/Engine/StandAloneEngine/GlobalStiffnessTimeStepper.cpp:189 computeTimeStep: computed timestep 1.51287e+154, BUT timestep is 0.001.
INFO pkg/dem/Engine/DeusExMachina/TriaxialCompressionEngine.cpp:258 applyCondition: UnbalancedForce=0
yade-trunk: pkg/dem/Engine/DeusExMachina/TriaxialStressController.cpp:309: void TriaxialStressController::computeStressStrain(MetaBody*): Assertion `height>0' failed.
SIGSEGV/SIGABRT handler called; gdb batch file is `/home/3S-LAB/jkozicki/.yade-trunk/gdb_crash_batch-pid16117'
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f4e140a96f0 (LWP 16117)]
[New Thread 0x4115d950 (LWP 16134)]
[New Thread 0x41fb3950 (LWP 16120)]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 0000000000000120
0x00007f4e13a420e1 in nanosleep () from /lib/libpthread.so.0
No symbol "info" in current context.
Thread 3 (Thread 0x41fb3950 (LWP 16120)):
#0 0x00007f4e13a41a5b in accept () from /lib/libpthread.so.0
#1 0x00007f4dde83ae3b in ?? () from /usr/lib/python2.5/lib-dynload/_socket.so
#2 0x00007f4e13d13fb3 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#3 0x00007f4e13d15375 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#4 0x00007f4e13d15375 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#5 0x00007f4e13d15375 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#6 0x00007f4e13d15bed in PyEval_EvalCodeEx () from /usr/lib/libpython2.5.so.1.0
#7 0x00007f4e13cac55e in ?? () from /usr/lib/libpython2.5.so.1.0
#8 0x00007f4e13c892a3 in PyObject_Call () from /usr/lib/libpython2.5.so.1.0
#9 0x00007f4e13c91290 in ?? () from /usr/lib/libpython2.5.so.1.0
#10 0x00007f4e13c892a3 in PyObject_Call () from /usr/lib/libpython2.5.so.1.0
#11 0x00007f4e13d0e001 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.5.so.1.0
#12 0x00007f4e13d4231d in ?? () from /usr/lib/libpython2.5.so.1.0
#13 0x00007f4e13a3afc7 in start_thread () from /lib/libpthread.so.0
#14 0x00007f4e105a05ad in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x4115d950 (LWP 16134)):
#0 0x00007f4e1056e99f in waitpid () from /lib/libc.so.6
#1 0x00007f4e1050ee11 in ?? () from /lib/libc.so.6
#2 0x00007f4e1050f18c in system () from /lib/libc.so.6
#3 0x0000000000599b39 in sigHandler (sig=6) at core/yade.cpp:62
#4 <signal handler called>
#5 0x00007f4e10502ed5 in raise () from /lib/libc.so.6
#6 0x00007f4e105043f3 in abort () from /lib/libc.so.6
#7 0x00007f4e104fbdc9 in __assert_fail () from /lib/libc.so.6
#8 0x00007f4df432d70d in TriaxialStressController::computeStressStrain (this=0x25dec60, ncb=0x2aa4020) at pkg/dem/Engine/DeusExMachina/TriaxialStressController.cpp:309
#9 0x00007f4df432e86f in TriaxialStressController::applyCondition (this=0x25dec60, ncb=0x2aa4020) at pkg/dem/Engine/DeusExMachina/TriaxialStressController.cpp:261
#10 0x00007f4df391a5a2 in TriaxialCompressionEngine::applyCondition (this=0x25dec60, ncb=0x2aa4020) at pkg/dem/Engine/DeusExMachina/TriaxialCompressionEngine.cpp:267
#11 0x0000000000511836 in DeusExMachina::action (this=0x25dec60, b=0x2aa4020) at core/DeusExMachina.cpp:15
#12 0x000000000053a2e6 in MetaBody::moveToNextTimeStep (this=0x2aa4020) at core/MetaBody.cpp:88
#13 0x000000000059213d in SimulationFlow::singleAction (this=0x1a49540) at core/SimulationFlow.cpp:18
#14 0x0000000000593f4b in ThreadWorker::callSingleAction (this=0x1a49540) at core/ThreadWorker.cpp:71
#15 0x000000000059388a in ThreadRunner::call (this=0x289ea60) at core/ThreadRunner.cpp:44
#16 0x00000000005938f0 in ThreadRunner::run (this=0x289ea60) at core/ThreadRunner.cpp:23
#17 0x0000000000593cfe in boost::_mfi::mf0<void, ThreadRunner>::operator() (this=0x4115d108, p=0x289ea60) at /usr/include/boost/bind/mem_fn_template.hpp:49
#18 0x0000000000593d6b in boost::_bi::list1<boost::_bi::value<ThreadRunner*> >::operator()<boost::_mfi::mf0<void, ThreadRunner>, boost::_bi::list0> (this=0x4115d118, f=@0x4115d108, a=@0x4115d06f) at /usr/include/boost/bind.hpp:231
#19 0x0000000000593da8 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ThreadRunner>, boost::_bi::list1<boost::_bi::value<ThreadRunner*> > >::operator() (this=0x4115d108) at /usr/include/boost/bind/bind_template.hpp:20
#20 0x0000000000593dc7 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ThreadRunner>, boost::_bi::list1<boost::_bi::value<ThreadRunner*> > >, void>::invoke (function_obj_ptr=@0x4115d108) at /usr/include/boost/function/function_template.hpp:158
#21 0x00007f4e133dc42e in boost::function0<void, std::allocator<boost::function_base> >::operator() () from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
#22 0x00007f4e133dc0d2 in ?? () from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
#23 0x00007f4e13a3afc7 in start_thread () from /lib/libpthread.so.0
#24 0x00007f4e105a05ad in clone () from /lib/libc.so.6
#25 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f4e140a96f0 (LWP 16117)):
#0 0x00007f4e13a420e1 in nanosleep () from /lib/libpthread.so.0
#1 0x00007f4de2f94ad3 in pyOmega::wait (this=0x1d89470) at gui/py/yadeControl.cpp:494
#2 0x00007f4de2f94b52 in pyOmega::run (this=0x1d89470, numIter=100, doWait=true) at gui/py/yadeControl.cpp:490
#3 0x00007f4de2f94b7d in omega_run_overloads::non_void_return_type::gen<boost::mpl::vector4<void, pyOmega&, long, bool> >::func_2 (obj=@0x1d89470, arg0=100, arg1=true) at gui/py/yadeControl.cpp:617
#4 0x00007f4de2e5b561 in boost::python::detail::invoke<int, void (*)(pyOmega&, long, bool), boost::python::arg_from_python<pyOmega&>, boost::python::arg_from_python<long>, boost::python::arg_from_python<bool> > (f=@0x1bf1a88, ac0=@0x7fff1c1dce40, ac1=@0x7fff1c1dce20, ac2=@0x7fff1c1dce00) at /usr/include/boost/python/detail/invoke.hpp:81
#5 0x00007f4de2f23dde in boost::python::detail::caller_arity<3u>::impl<void (*)(pyOmega&, long, bool), boost::python::default_call_policies, boost::mpl::vector4<void, pyOmega&, long, bool> >::operator() (this=0x1bf1a88, args_=0x2688c30) at /usr/include/boost/python/detail/caller.hpp:199
#6 0x00007f4de2f23ec5 in boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void (*)(pyOmega&, long, bool), boost::python::default_call_policies, boost::mpl::vector4<void, pyOmega&, long, bool> > >::operator() (this=0x1bf1a80, args=0x2688c30, kw=0x0) at /usr/include/boost/python/object/py_function.hpp:38
#7 0x00007f4e11c9b2ea in boost::python::objects::function::call () from /usr/lib/libboost_python-gcc42-mt-1_34_1-py25.so.1.34.1
#8 0x00007f4e11c9b658 in ?? () from /usr/lib/libboost_python-gcc42-mt-1_34_1-py25.so.1.34.1
#9 0x00007f4e133dc42e in boost::function0<void, std::allocator<boost::function_base> >::operator() () from /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
#10 0x00007f4e11ca2ae8 in boost::python::handle_exception_impl () from /usr/lib/libboost_python-gcc42-mt-1_34_1-py25.so.1.34.1
#11 0x00007f4e11c98dbe in ?? () from /usr/lib/libboost_python-gcc42-mt-1_34_1-py25.so.1.34.1
#12 0x00007f4e13c892a3 in PyObject_Call () from /usr/lib/libpython2.5.so.1.0
#13 0x00007f4e13d11c3c in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#14 0x00007f4e13d15bed in PyEval_EvalCodeEx () from /usr/lib/libpython2.5.so.1.0
#15 0x00007f4e13d15de2 in PyEval_EvalCode () from /usr/lib/libpython2.5.so.1.0
#16 0x00007f4e13d35aba in PyRun_FileExFlags () from /usr/lib/libpython2.5.so.1.0
#17 0x00007f4e13d0cfd2 in ?? () from /usr/lib/libpython2.5.so.1.0
#18 0x00007f4e13d13fcd in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#19 0x00007f4e13d15bed in PyEval_EvalCodeEx () from /usr/lib/libpython2.5.so.1.0
#20 0x00007f4e13d15de2 in PyEval_EvalCode () from /usr/lib/libpython2.5.so.1.0
#21 0x00007f4e13d35aba in PyRun_FileExFlags () from /usr/lib/libpython2.5.so.1.0
#22 0x00007f4e13d35d6d in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.5.so.1.0
#23 0x00007f4e00941ced in PythonUI::execScript (script={static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fff1c1ddb60 "øÖ¤\001"}}) at gui/py/PythonUI.cpp:44
#24 0x00007f4e00942cf4 in PythonUI::pythonSession () at gui/py/PythonUI.cpp:97
#25 0x00007f4e00943c1c in PythonUI::run (this=0x1a4d760, argc=4, argv=0x7fff1c1de2e0) at gui/py/PythonUI.cpp:129
#26 0x0000000000599753 in main (argc=4, argv=0x7fff1c1de2e0) at core/yade.cpp:271
#0 0x00007f4e13a420e1 in nanosleep () from /lib/libpthread.so.0
=================== JOBÂ SUMMARY ================
id : 2k
status : 34304 (FAILED)
duration: 00:00:46
command : PARAM_TABLE=perf.table:25 nice -n 10 ./yade-trunk -N PythonUI -- -n -x perf.py > perf.2k.log 2>&1
started : Sat Feb 28 18:49:00 2009
finished: Sat Feb 28 18:49:46 2009
Follow ups