LQCD Homepage

LQCD Home

QDCOC Computing

QBATCH Information


Introduction

Current Status

Quick Start

File Management

Job Description

Interactive Jobs

Queues on ACC Mbds

Power Cycling

qhdwcheck wrapper
qhdwcheck errors database web front

Deleting jobs

Basic PBS commands

PBS accounting

Machine Status


Web Display (Under Construction)
(Allocation status of all available partitions)

QCDOC Status (USDOE only)
(Partitions, Jobs DB, etc.)

Batch System: Current Status
(Available Queues, Running Jobs, etc.)

Errors Database
(DB of ASIC and Wire errors.)

Accounting and Usage Statistics


QCDOC Usage (USDOE only)(Under Construction)
USDOE QCDOC Machine Usage

New Users


Computer Accounts

Accessing QCDOC

CTS accounts

CyberSecurity Training

RBRC Users Mailing List

USDOE Users Mailing List


Internal Links
(Available to QCDOC Admins Only)

QBATCH: Deleting Jobs

Deleting jobs

The standard qdel PBS utility removes a PBS job from the queue. However, since QCDOC jobs are autonomous, a job may continue to run (and do IO) even after it has beed removed from the PBS queue. To completely stop a PBS job from running we have developed a utility (qdelete) that resets that machine partition after removing the job from the PBS queue.

qdelete invokes the standard qdel PBS utility to remove the job from the queue and then starts qdaemon and qcsh and executes the following qcsh commands:

qcsh> qinit <Partition>
qcsh> qpartition_connect -p 0
qcsh> qreset_sys
qcsh> qdetach
qdelete has been installed under /usr/local/bin and can be invoked as:
qdelete <PBS_Job_Id>
If a PBS job is in Queued (Q) State or in Hold (H) State, qdelete simply invokes the stardard qdel PBS utility. The extra steps of starting qdaemon and executing qcsh commands are taken only if a job is in Running (R) State.

For now, both qdel and qdelete are available. qdelete will eventually replace qdel.

One of ten national laboratories overseen and primarily funded by the Office of Science of the U.S. Department of Energy (DOE), Brookhaven National Laboratory conducts research in the physical, biomedical, and environmental sciences, as well as in energy technologies and national security. Brookhaven Lab also builds and operates major scientific facilities available to university, industry and government researchers. Brookhaven is operated and managed for DOE's Office of Science by Brookhaven Science Associates, a limited-liability company founded by Stony Brook University, the largest academic user of Laboratory facilities, and Battelle, a nonprofit, applied science and technology organization.
Privacy and Security Notice