Math Department Computing Cluster Quick Reference
Cluster
How to submit a job to the cluster
You need these things:
- A program to run
- A job submission file
cat job.pbs | qsub
How to create a job submisssion file
A job submission file is a simple text file that does two things. It tells the cluster what resources you will need and it tells the cluster what to run. A sample file looks like this
#PBS -N MYJOBnodes should be set to how many different machines (max of 3) you want your job to run on.
#PBS -S /bin/sh
#PBS -l nodes=1:ppn=1:matlab,walltime=00:05:00
#PBS -M PID@math.vt.edu
#PBS -m ea
cd $HOME
matlab -nodisplay -nojvm -r MATLAB_MFILE >& OUTPUT_FILE
ppn is how many processors (cores) you want to use on each requested machine. Each machine has upto 8 available.
walltime is the maximum time in Hours:Minutes:Seconds that your job will run in. You want to overestimate this as the job will be killed if it exceeds this value.
PID is your Math PID.
You will get an email message when your job starts to be executed and when it finishes. Any output from the job will be in your HOME directory.
If you need to have more time added for you job to run, please send an email to cluster@math.vt.edu with the JobID and how much time you need added.
How to check a jobs status
Run the following command on ssh.math.vt.edu or mavramorn.math.vt.edu
qstat