Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

qstat u * f

For long jobs (a week or more) use the matlab.q in the submission script.

## myscript submission script ##


#!/bin/bash
#$ -N testjob
#$ -M robert.jackson@utrgv.edu
## #$ -M jackrc58@yahoo.com
#$ -m beas
#$ -S /bin/bash
#$ -V
#$ -q matlab.q
###$ -q all.q
#$ -cwd
#$ -pe matlab 12
echo $SGE_STDERR_PATH
echo $SGE_O_MAIL
matlab -nodisplay -nosplash -nodesktop -r mytest
## End myscript ##

For shorter jobs (hours to a few days) use the matlabsh.q in the submission script.
## myscript submission script ##
#!/bin/bash
#$ -N testjob
#$ -M robert.jackson@utrgv.edu
## #$ -M jackrc58@yahoo.com
#$ -m beas
#$ -S /bin/bash
#$ -V
#$ -q matlabsh.q
###$ -q all.q
#$ -cwd
#$ -pe matlab 12
echo $SGE_STDERR_PATH
echo $SGE_O_MAIL
matlab -nodisplay -nosplash -nodesktop -r mytestsh
## End myscript ##

You might also like