To submit a simple serial (ie non-parallel) job on the cluster via SGE do the following :
- Create a dedicated directory somewhere in /work
- Place all files needed by your job (and possibly also the executable) in this directory
- Create a file with a suitable name (like 'myjob.sh') containing the following:
#!/bin/csh -f
#
#
# The name of the job (Test) ...
#
#$ -N Test
#
# Execute from the current working directory ...
#
#$ -cwd
#
# Standard error and output should go into the current working directory ...
#
#$ -e ./
#$ -o ./
mosrun -L my_program
- Edit this file and change my_program with the name of your executable (but keep the 'mosrun -L' stuff).
- Submit your job with qsub myjob.sh