Skip to content

Prepare and Submit Jobs

Kevin Pedro edited this page Jun 4, 2024 · 15 revisions
  1. Log into CMS Connect and go to your working area (replace [username] with your CMS Connect username):

    ssh [username]@login-el7.uscms.org
    cd /scratch/`whoami`/CMSSW_10_6_29_patch1/src/
    cmsenv
    cd TreeMaker/Production/test
  2. Setup for job submission:

    ./lnbatch.sh myProd
    cd myProd
    cp /scratch/pedrok/assignmentsV20v6/`whoami`.prodconfig .prodconfig
  3. Get a grid proxy (lasts for 7 days by default, then you must renew it), make a CMSSW tarball, and copy it to EOS:

    ./checkVomsTar.sh -i root://cmseos.fnal.gov//store/user/lpcsusyhad/SusyRA2Analysis2015/Run2ProductionV20/`whoami`
  4. Prepare and submit the assigned jobs:

    python submitJobs.py -p -o root://cmseos.fnal.gov//store/user/lpcsusyhad/SusyRA2Analysis2015/Run2ProductionV20 -k --cpus 4 -t root://cmseos.fnal.gov//store/user/lpcsusyhad/SusyRA2Analysis2015/Run2ProductionV20/`whoami`/ -f --no-queue-arg
    python submitJobs.py -s -o root://cmseos.fnal.gov//store/user/lpcsusyhad/SusyRA2Analysis2015/Run2ProductionV20 -k --cpus 4 -t root://cmseos.fnal.gov//store/user/lpcsusyhad/SusyRA2Analysis2015/Run2ProductionV20/`whoami`/ -f --no-queue-arg

    Submitting jobs on CMS Connect may be slow. Do not worry if it takes longer than you expect.