Running Jobs

When you log into Lens, you are placed the login node. The login node should be used for basic tasks such as file editing and job submission.

The Lens administrators and the Visualization group have concerns that resource-hungry tasks are adversely affecting the limited resources available on the login node. Therefore, we suggest that resource-intensive tasks such as multiprocessor compilation (make -j) or large scale data transfer (hsi) be run on a more powerful system. The NCCS provides DTNs (dtn01.ccs.ornl.gov and dtn02.ccs.ornl.gov) for the transfer of data (as by hsi) to center-wide filesystems, and resource-intensive compilation and analysis should be done on a compute node.

The login node has limited resources, and should not be used to run production jobs. Production work should be performed on the system’s compute resources. On Lens, access to compute resources is managed by the Portable Batch System (PBS). Job scheduling is handled by Moab, which interacts with PBS and the system software. The following pages provide information for getting started with the batch facilities of PBS with Moab as well as basic job execution.

Batch Scripts

Batch scripts can be used to run a set of commands on a system’s compute partition. The batch scripts page gives example batch scripts, how to submit the batch scripts, and common usage tips.

Interactive Batch Jobs

Interactive batch jobs give users interactive access to compute resources. A common use for interactive batch jobs is debugging. The interactive batch jobs page shows a user how to run interactive jobs through the batch system and provides common usage tips.

Common PBS Options

The common PBS options page gives a quick overview of common PBS options.

PBS Environment Variables

The PBS environment variables page gives a quick overview of useful environment variable sets within PBS jobs.

Altering Batch Jobs

The altering batch jobs page lists ways to remove or alter batch jobs.

Monitoring Job Status

The monitoring job status page lists ways to monitor jobs in the batch queue.

Queues

Queues are used by the batch scheduler to aid in the organization of jobs. The queues page lists the available queues and their benefits.

Job Execution

Once access to compute resources has been allocated through the batch system, users have the ability to execute jobs on the allocated resources. The job execution page gives examples of job execution and provides common tips.

Job Accounting

Projects are charged based on usage of compute resources. The job accounting page gives details on how we calculate each job’s usage.

Scheduling Policy

The scheduling policy page gives details of the scheduling policies.

Documentation

The documentation page lists places to find further details of items discussed in this section.