Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 199
    • Merge requests 199
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • atlas
  • athenaathena
  • Merge requests
  • !47164

Merged
Created Oct 12, 2021 by Matthew Gignac@mgignacDeveloper

Patch for multiple grid packs

  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 1

For job options with multiple integration grid packs, the logic doesn't work for the naming convention used by PMG. For COM energies (in units of TeV) with decimals, we typically convert the decimal to "p". An example is given here: https://gitlab.cern.ch/atlas-physics/pmg/mcjoboptions/-/tree/master/950xxx/950398/

This MR fixes the logic to correctly discover the correct integration grid pack. With this updated logic, this works for both grid packs:

Gen_tf.py --ecmEnergy=13600.0 --maxEvents=10 --firstEvent=1 --randomSeed=123456 --jobConfig=950398 --outputEVNTFile=test.root
PyJobTransforms.preExecute 2021-10-12 11:49:59,949 INFO Found 2configuration files
PyJobTransforms.preExecute 2021-10-12 11:49:59,949 INFO more then one gridpack !
Should be used gridpack for energy = 13p6
Gridpack should start from =  mc_13p6TeV
Gridpack should start from =  mc_13p6TeV
PyJobTransforms.preExecute 2021-10-12 11:49:59,949 INFO using gridpack = /cvmfs/atlas.cern.ch/repo/sw/Generators/MCJobOptions/950xxx/950398/mc_13p6TeV.Sh_2211_SinglePhoton_EnhMaxHTPTV2.GRID.tar.gz
Configuration input gridpack found =  /cvmfs/atlas.cern.ch/repo/sw/Generators/MCJobOptions/950xxx/950398/mc_13p6TeV.Sh_2211_SinglePhoton_EnhMaxHTPTV2.GRID.tar.gz

And for 13 TeV COM:

Gen_tf.py --ecmEnergy=13000.0 --maxEvents=10 --firstEvent=1 --randomSeed=123456 --jobConfig=950398 --outputEVNTFile=test.root
PyJobTransforms.preExecute 2021-10-12 11:50:44,021 INFO Found 2configuration files
PyJobTransforms.preExecute 2021-10-12 11:50:44,021 INFO more then one gridpack !
Should be used gridpack for energy = 13
Gridpack should start from =  mc_13TeV
PyJobTransforms.preExecute 2021-10-12 11:50:44,021 INFO using gridpack = /cvmfs/atlas.cern.ch/repo/sw/Generators/MCJobOptions/950xxx/950398/mc_13TeV.Sh_2211_SinglePhoton_EnhMaxHTPTV2.GRID.tar.gz
Gridpack should start from =  mc_13TeV
Configuration input gridpack found =  /cvmfs/atlas.cern.ch/repo/sw/Generators/MCJobOptions/950xxx/950398/mc_13TeV.Sh_2211_SinglePhoton_EnhMaxHTPTV2.GRID.tar.gz
Edited Oct 12, 2021 by Matthew Gignac
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-multiple-gridpacks