The wrapper script generated by the SGE plugin on gUSE 3.6.3 has proved to be incompatible with some shells (specifically tcsh and csh).
Our testing SGE cluster is configured to use csh by default, so the execution of jobs submitted by gUSE fails due to a "syntax error" on the script.
Davor Davidovic (from the development team of the SGE plugin) confirmed that wrapper scripts were running fine on SGE clusters using Bash by default.
We have tested ourselves that the jobs are properly executed when the SGE wrapper is modified to explicitly use /bin/bash as shell.
The SGE wrapper script should be modified to include the line
#$ -S /bin/bash
in its header, which indicates SGE the shell to be used, avoiding future shell conflicts.