Skip to content

AlecAivazis/condorBatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Condor Batch Submissions

This project loops over a dirctory and submits a condor job that creates a baby out of each root file.

Running the script

To submit the jobs, run

./submit.sh

Which which will compress all of the project files, go over every .root file in the directory designated by submit.sh and package it with a job that runs the designated executable.

The Condor Executable

After setting a few environment variables, the executable unarchives the included files and runs a root script that creates babies out of the packaged .root file.

Once it's done, the executable copies the file from the condor temporary directory to more permanent storage.

Customizing

Submitting a job using Condor requires building a configuration file that describes its paramters. The job descriptions are generated by submit.sh - enclosed by the EOF. The possible values for the paramters can be found here.

To change the script run by the job, change line 34 in the designated executable.

The project files for the executable are found in include/. Any files that your executable depend on should be placed in this directory if you want them to be packaged with the job. These files are packages by the submit script and eventually moved to the Condor temporary directory where they are unarchived by launch.sh.

Further Reading

HTCondor Manual

For information on using HTCondor to submit jobs to the lcg-farm: here

For frequently asked questions concerning HTCondor: here

About

An example of a project that submits batches of HTCondor jobs over a particular folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors