Skip to content

Debugging

drelu edited this page Feb 10, 2012 · 4 revisions

Debugging Guide

  1. Use which python to check that you have the correct python in the the $PATH

  2. Make sure that the default python in bash is always the correct python. Logging in and out of the bash shell and typing which python will show you if this is the case or not

  3. Start python, run import saga and import bigjob. If you see errors with shared libraries, check that you have the correct compiler stack (module swap pgi gcc on ranger) and the correct globus modules (module load globus).

  4. Submit a job. If it fails: check that you can submit jobs normally i.e. with qsub via an sge script. Check the queue limits on job size and duration

  5. Set SAGA_VERBOSE=100 to get more debugging. This will give you the RLS string

  6. Check that you have an active proxy: grid-proxy-info to see if you have one or not. Otherwise use myproxy to start one. myproxy-logon -T -t <time> -l <xsede website username>

  7. On tacc systems, you can ssh into gridftp1.ls4 and gridftp1.ranger and: ls -lt /tmp/* |grep . This will show you the sge scripts that are translations of your RLS script. Try to submit those sge scripts and check the resulting error to see what went wrong.