Please see How_do_I_do_a_simple_build_and_run for an example simple script.
The command squeue shows what is currently running and the command sinfo shows what nodes are in use. This section will be expanded with additional information shortly.
Please see I want to run complex scripts. Any advice? for an example advanced scripts.
The command scancel followed by a JOBID will delete the job. Please note that it can take a few minutes for a job to be removed from the list of jobs shown by squeue.