It is found that building Sage from source with job submition through
Grid (using WMS) or directly through PBS job submition doesn't work
without specifying explicitly a parameter TERM=xterm in the shell
environment.
So the only thing that is required in a submition script is the line:
export TERM=xterm
Otherwise it gets the following error message in install.log (attached).
I guess the error could be reproduced by simply running a cron job with
a simple script telling BASH to build the sources:
#!/bin/bash
SAGEVERSION=4.3.3
tar xvf sage-$SAGEVERSION.tar
cd sage-$SAGEVERSION
make
./sage examples/example.sage
Regards,
Serge A. Salamanka