Interactive Nodes:
Standard Compute Nodes:
Fat Compute Nodes:
All software used in a workflow should be accessed via
Environment Modules. The previous iteration of this User Guide
stated that you could also use absolute paths to the program in
the /apps directory. This is not recommended since some
applications require specfic environment variables to be set.
The following are basic commands that are helpful in using
Environment Modules:
#!/bin/bash
########################
# #
# Scheduler Directives #
# #
########################
### Set the name of the job, where jobname is a unique name for your job
#PBS -N jobname
### Select the shell you would like the script to execute within
#PBS -S /bin/bash
### Inform the scheduler of the expected runtime, where walltime=HH:MM:SS
#PBS -l walltime=8:00:00
### Inform the scheduler of the number of CPU cores for your job.
### This example will allocate four cores on a single node.
#PBS -l nodes=1:ppn=4
### Inform the scheduler of the amount of memory you expect to use.
### Use units of 'b', 'kb', 'mb', or 'gb'
#PBS -l mem=4gb
### Set the destination for your program's output.
#PBS -o $HOME/myjob.out
#PBS -e $HOME/myjob.err
#################
# #
# Job Execution #
# #
#################
# Load the approprite applications
module load blast/2.2.28
# Execute the program
blastall -p blastn -d drosoph.nt -i ecoli.nt
The status of your jobs can be monitored with the showq or qstat
commands. These commands must be run from the Interactive Nodes.