The basic syntax for qsub is
$ qsub [options] <script>
Where <script> is the path to the executable script you want to submit to the PBS queue.
Options can either be entered in the command line normally or added to the top of the script you're executing. PBS directives needed to be added to the top of the script on the lines immediately following the "shebang". They should be written as follows:
A complete list of options for qsub and their descriptions can be found in the manfile. Samples of more commonly used options will be provided here.