source /res/users/sgeadmin/default/common/settings.csh
Similarly,
. /res/users/sgeadmin/default/common/settings.sh
if ($?SGE_STDOUT_PATH) exit
as the first line of my
.login
file.
(I later discovered this interaction was due to the file being named
simple.sh.
Files named with shell names are invoked with the full login
environment.
In the case of
[t]csh
users, that means sourcing both the
.cshrc
and
.login
files.
Shell scripts are submitted using the qsub command:
qsub filename
You can check on the status of running jobs with the
qstat
command.
Output from jobs are returned in
filename.on
(for standard out) and
filename.en
(for standard error).
(n
is the job ID assigned by SGE and displayed by
qstat
while the job is running.)
For further information, see the User's Guide.