Prepare and Submit Jobs - TreeMaker/TreeMaker GitHub Wiki

  1. Log into CMS Connect and go to your working area, inside the RHEL7 container (replace [username] with your CMS Connect username):

    ssh [username]@login-el7.uscms.org
    cmssw-el7 --env "PERL5LIB=" --bind `readlink -f $HOME` --bind /scratch --bind /ospool --bind /cvmfs -- /bin/bash
    cd /scratch/`whoami`/CMSSW_10_6_29_patch1/src/
    cmsenv
    cd TreeMaker/Production/test
    

    (If condor commands are not working, you may need to use /bin/bash -l at the end of the cmssw-el7 command.)

  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.