← Back to team overview

yade-dev team mailing list archive

Re: [Yade-users] can't launch yade

 

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


/