Code Monkey home page Code Monkey logo

cscvalidationrunning's Introduction

CSCValidationRunning

Repository to setup the latest version of CSCValidation to be run automatically on CAF

Setup

Setup a new release

cmsrel CMSSW_9_3_1 # or current CMSSW version
cd CMSSW_9_3_1/src
cmsenv
git cms-init # make sure this happens before checking out this repository

Clone the repository

git clone [email protected]:wsicheng/CSCValidationRunning.git

Run the setup script

cd CSCValidationRunning
./setup.sh

Starting cron job

To run a cron job on afs you must use acrontab. The current version crontab script is in AutoValidation/autoval.cron. Make certain you consult with others to make sure we don't have multiple cron jobs running. A schedule can be found at the Twiki. Note: DAS requires authentication. To run with acrontab, do a voms-proxy-init and copy the /tmp/x509up_uXXXX file to a private directory on afs. The /tmp directory will not be visible on all lxplus nodes (just the one you create it on).

python generateCron.py /path/to/proxy
acrontab <autoval.acron
acrontab -l

Individual running

The primary submission script can be found in AutoValidation/run_cscval.py. For documentation on the script run:

./run_cscval.py -h

This script can run over multiple event content types (FEVT and RAW). You must simply pass it the dataset name and global tag. The script can be run in single run mode (-rn RUNNUMBER) or all runs mode. It will then check whether a run has been processed yet and whether CSCs were in the run and submit the job to the CAF LSF batch queues. After the job is finished, the outputs are stored on EOS. You can then produce the images and pass the output to the website with the --retrieveOutput option.

The script checks the local folder for what runs have been processed: AutoValidation/STREAMNAME. The STREAMNAME option can include ExpressCosmics, Cosmics, SingleMu, and DoubleMu.

Templates

Templates for producing the scripts to submit to bash are found in the Templates directory.

Some tips

  • To make the stderr output files *_merge.err more readable, one can put the following line
Root.ErrorIgnoreLevel: Error

into their ~/.rootrc , to suppress the infinite "TCanvas::Print" statments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.