Giter Site home page Giter Site logo

nanoaod_submission_052019's Introduction

Submission

A python version of the grid submission

In order to submit:

  • source your environment (as you would for running the analyzer)
  • set ANALYSISDIR (export ANALYSISDIR=/path/to/your/analysisdir or setenv ANALYSISDIR /path/to/your/analysisdir)
  • choose the files you want to run in SAMPLES_LIST.cfg (you can name it what you want)
  • run ./remote.py SAMPLES_LIST.cfg
  • add files ./add_root_files.py
  • on first run you have to execute ./make_tester.sh once

One comment on the input for the SAMPLES_LIST.cfg:

  • It will automatically update the samples that are not in the folder at the first run

  • The sample name has to be something that fits:

      /eos/uscms/store/user/ra2tau/July72017/*/*NAME*
      /eos/uscms/store/user/ra2tau/jan2017tuple/*/*NAME*
      /eos/uscms/store/user/ra2tau/jruizalv/*/*NAME*
    

There is a bug in the xrd version of root https://root-forum.cern.ch/t/xrdcp-doesnt-work-after-changing-root-to-v6-06-08/22320 You must change to an other root version e.g. by setting up a newer CMSSW (e.g. CMSSW_9_2_X)

Before Submission you have to make a proxy: voms-proxy-init -voms cms -rfc -valid 192:00

There are some options you might want to look at ./remote.py -h or ./add_root_files.py -h

./remote.py -h
Usage: remote.py [options] CONFIG_FILE

Options:
  -h, --help            show this help message and exit
  -C DIRECTORY, --configdir=DIRECTORY
                        Define the config directory. [default = PartDet]
  -c, --CR              Run with the CR flag. [default = False]
  -o DIRECTORY, --outputFolder=DIRECTORY
                        Define path for the output files [default = root://cms
                        eos.fnal.gov//store/user/YOURUSERNAME/REPLACEBYTAG/]
  -l, --local           run localy over the files [default = False]
  -f, --force           Force the output folder to be overwritten. [default =
                        False]
  --debug=LEVEL         Set the debug level. Allowed values: ERROR, WARNING,
                        INFO, DEBUG. [default = INFO]
  -t DIRECTORY, --Tag=DIRECTORY
                        Define a Tag for the output directory. [default =
                        output_DATE_short]

and:

./add_root_files.py -h
Usage: add_root_files.py [options]

Options:
  -h, --help            show this help message and exit
  -i FOLDER, --inputFolder=FOLDER
                        Merge all subfolders in these folders, which can be a
                        comma-separated list.[default: none]
  --debug=LEVEL         Set the debug level. Allowed values: ERROR, WARNING,
                        INFO, DEBUG. [default = INFO]
  -o OUTFOLDER, --output=OUTFOLDER
                        Set the output dir [default = output_DATE_long]
  -f, --force           If this option is specifed, all root files will be
                        remerged. [default = False]
  -c, --clean           If this option is specifed, the folders will be cleand
                        up. [default = False]

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.