CRAB


The following short CRAB manual is designed for USCMS users.

Steps to setup and use CRAB

CRAB: Prerequisites

1. Analysis job

To submit CRAB jobs, you will need a functioning CMSSW, ORCA, or FAMOS job.

2. GRID credentials

To submit jobs to the grid, you'll need a valid GRID credential (a.k.a. personal certificate or GRID certificate).
Back to Table of Contents

CRAB: Setup

Three steps

Setup local GRID interface (User Interface (UI))

Setup the environment for the local analysis job

Prepare local analysis job for CRAB submission to the GRID

Back to Table of Contents

CRAB: crab.cfg

The steering file "crab.cfg" provides multiple options to influence CRAB. A template file is available in $CRABDIR/python/crab.cfg. In the following, only the options which must be changed are listed.
Back to Table of Contents

CRAB: Input and output file handling

Input and output files are handled by CRAB in a number of ways. The default is to use the built in input and output capabilities of CRAB.  Please note that in most cases, your input and output 'sandbox' will be limited to 100 MB total in this mode.  If the output files exceed 100 MB, they are truncated, yielding garbage.  Standard error, standard output and logs are handled automatically by CRAB and will count towards the 100 MB total.  Additional input and output files must be specified for all I/O modes:

Special output options:

The input and output options can be used separately or together, although register_data requires copy_data. See "Retrieve Job Output" below for instructions on how to get output back to your computer.

Back to Table of Contents

CRAB: Condor-G mode

Back to Table of Contents

CRAB: Create jobs

Back to Table of Contents

CRAB: Submit jobs

Back to Table of Contents

CRAB: Check status of jobs

Back to Table of Contents

CRAB: Retrieve job output

Retrieval of output is dependent on the mode selected in the section Input and Output File Handling. The standard error and standard output is always retrieved using CRAB commands. If you specified any special output options (copy_output or register_output), you must retrieve your output specified by output_file manually:
Back to Table of Contents

CRAB: Resubmit jobs

Back to Table of Contents

CRAB: Kill jobs

Back to Table of Contents


Last modified: Thu Jan 4 09:31:03 CST 2007 / OGU