Louhi User's Guide, the 2nd Edition > Batch jobs and the batch system > Commands
Tehdyt toimenpiteet

Commands

This section and its subsections describe PBS and ALPS commands and how to use the most important ones.

General features of PBS Pro and ALPS are described in Section General information about the batch system, examples of batch job scripts for parallel jobs are given in Section Parallel batch jobs  (also an example of submitting a job in the hold state) and how to get information about jobs and system is described in Section  Monitoring and displaying job and system status.

PBS Pro commands

The following table shows PBS Pro commands and and what they do.

  Command Description
qsub Submit a job
qstat Show status of batch jobs
cqstat Show status of batch jobs correcting some errors shown by qstat -a (the filter script of qstat -f)
qdel Delete a job
qalter Alter a job's attributes
qhold Place a hold on a job to keep it from being scheduled for running
qmove Move a job to a different queue or server
qmsg Append a message to the output of an executing job
qrerun Terminate an executing job and return it to a queue
qrls Remove a hold from a job
qselect Obtain a list of jobs that meet certain criteria
qsig Send a signal to an existing job
xpbs GUI front to PBS commands

Usage and options of the most important of these commands are described on separate pages:

Further information

See the following man pages: pbs(1B), qalter(1B), qdel(1B), qhold(1B),  qmove(1B),  qmsg(1B),  qrerun(1B),  qrls(1B),  qse­lect(1B), qsig(1B), qsub(1B), xpbs(1B) and the PBS User Guide for more information.  Starting with qsub(1B), you can find all other available PBS man pages by following references in the "SEE ALSO" sec­tion.

ALPS commands

Command Descriptio
aprun Launches an application
apkill Sends a signal to a specified application
apstat Provides status information for systems applications
cnselect Returns a list of compute nodes based on user-specified compute node attributes

Usage and options of the most important of these commands are described on separate pages:

  • Job launching command: aprun
  • Further information

    See the following man pages: intro_alps(1) or alps(1), aprun(1), apkill(1), apstat(1), cnselect(1). The last man page  is not yet available online.