The Edinburgh Physics department uses the Condor batch control system. Condor manages a large pool of machines and assigns users' computing jobs to machines which are in an idle state. At the moment the queue is made out of 27 Linux boxes with Intel single processors located in the CP Lab. We have access to this facility which together with the local LHCb software installation can be used to run analysis jobs in batch mode. A job is usually said to be run in batch, rather than interactive, when you do not need to interacting with it and be logged in to the machine where the job is executed.
As an example, I'm going to show the syntax of a Condor job description file and a simple shell script that executes a DaVinci job.. Without going into the specific details of the Condor job description, which you can read from the online manual, there are some parameters of interest. Those are: Universe, Executable and Queue. The rest of the parameters are self-explanatory.
In Condor terminology, the Universe is the runtime environment. In the standard universe, you can have more control on the executable in a similar way when using a debugger such as gdb. However this requires your executable being linked to Condor, and therefore this is not use for us when using the LHCb software. We need to choose the vanilla universe, the closest environment to what other batch systems do. In this universe we can run bash scripts. The rest of the options are self-explanatory.
Our executable is then the bash command with a script as argument. The script to run a DaVinci package looks like this:
The LHCb software environment is configured using the lhcb-condorsetup.sh script (if in bash). The rest of the script is standard procedure.
In order to submit a job to Condor, you will need to connect first to ph-condor.ph.ed.ac.uk and from your working directory use the condor_submit command:
This will submit the job to Queue 1 (the only one available). You can check the status of your job by calling the condor_q. When the job is done, the produced files will be copied to the working directory from where the job was submitted. An email will be sent by the Condor system.
CREATE_CORE_FILES=False
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
css | colors.css | r1 | manage | 3.2 K | 2007-12-24 - 14:15 | AndresOsorio | CSS style |
png | note.png | r1 | manage | 0.5 K | 2007-12-24 - 14:15 | AndresOsorio | Note |