# Sage error in batch job

I'm trying to submit an LSF batch job containing a Sage script on a cluster, but in the output file I'm receiving the following Sage error:

Unhandled SIGILL: An illegal instruction occurred in Sage. This probably occurred because a

compiledcomponent of Sage has a bug in it and is not properly wrapped with sig_on(), sig_off(). You might want to run Sage under gdb with 'sage -gdb' to debug this. Sage will now terminate.

/home/raltman/sage-5.10/local/bin/sage-python: line 2: 29634 Illegal instruction (core dumped) sage -python "$@"

On the other hand, running the script on its own without submitting it as a job works perfectly.

I'm not sure what this "illegal instruction" is referring to. The "@" makes me recall that I used the @parallel decorator in my script, but I have no idea if this is in any way related. Can anyone please help me out?