yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #06273
Re: [Yade-users] can't launch yade
-
To:
Yade Development Group <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Václav Šmilauer <eu@xxxxxxxx>
-
Date:
Wed, 24 Nov 2010 20:52:24 +0100
-
In-reply-to:
<AANLkTimxJNVeXi1_5PWcqfdAwiLxHaqTir5L3Pyf7Aaj@mail.gmail.com>
-
Mail-followup-to:
Yade Development Group <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
Mail-reply-to:
Václav Šmilauer <eu@xxxxxxxx>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.19) Gecko/20090105 Lightning/0.8 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666
I'm Giulia, I've just started my DPhil at the University of Oxford,
and I will be using YADE for my research.
But I can't launch the program.
Welcome!
(/scons/ after /sudo chown user: /usr/local/ didn't work)
[user -> giulia, therefore "sudo chown giulia: -R /usr/local" (-R for
recursive), never mind though, that is not related.]
/giulia@engs-19155:~$ /home/giulia/YADE/bin/yade-bzr2567
Welcome to Yade bzr2567
Floating point exception/
Is there anything that I can do to be able to run it?
It looks a little strange, though this kind of problems are usually easy
to localize. I assume that you got no more output from the debug
version. That means that the FP exception happens most likely when one
of the yade modules is imported (in core/main/main.py.in:115 etc),
perhaps during initialization of other libs it links to; (after that,
automatic crash information are enabled already). The best would be if
you could run yade in debugger from the very start; for that, launch gdb
from the shell, then run yade inside it, like this
$ gdb /usr/bin/python
[...]
(gdb) run /home/giulia/YADE/bin/yade-bzr2567 --debug -x/
After some time, you should get the Floating point exception, when the
debugger will stop the program, then you type
(gdb) thread apply bt full
/[bt=backtrace, it asks the debugger to show full backtrace, and to do
that for all threads],/ copy&paste the full output (might be a few
screens of text) and send it back here. We will see.
Cheers, Václav
/