IndexError: no such group

Bug #1907785 reported by Pedro Fernández Manteca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Invalid
Undecided
Unassigned

Bug Description

Dear experts,

I got the error "IndexError: no such group" [1] and the corresponding bug report [2] at the very end stage of
the gridpacks production. You can find the logs and the output gridpacks in https://cernbox.cern.ch/index.php/s/ULEK1OT4hQmrtMJ

The used cards and the documentation are placed in the following
repository: https://github.com/fmanteca/aTGC_UL_samples

Given that the W boson decay is defined in the madspin file and the NLO
reweighting is applied over the proc_card processes, a change in the the
order of the reweighting and the decay steps through a patch is
needed as discussed in
https://answers.launchpad.net/mg5amcnlo/+question/482763 . Maybe
this fact is related to the error.

Any help is welcome.

Thanks,

Pedro

[1].

Command "launch -n pilotrun" interrupted with error: IndexError : no
such group Please report this bug on
https://bugs.launchpad.net/mg5amcnlo More information is found in
'/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-400to600_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-400to600_4f_NLO_FXFX_gridpack/work/processtmp/pilotrun_tag_1_debug.log'.
Please attach this file to your report. Command "reweight
/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-400to600_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-400to600_4f_NLO_FXFX_gridpack/work/processtmp/Events/pilotrun/events.lhe_0.lhe
-from_cards --multicore=create" interrupted with error: IndexError : no
such group Please report this bug on
https://bugs.launchpad.net/mg5amcnlo More information is found in
'/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-400to600_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-400to600_4f_NLO_FXFX_gridpack/work/processtmp/Events/pilotrun/events.lhe_0.lhe_tag_1_debug.log'.
Please attach this file to your report.

[2].

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 5.2.6.5 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* and *
#* http://amcatnlo.cern.ch *
#* *
#************************************************************
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#************************************************************
reweight /home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/processtmp/Events/pilotrun/events.lhe_0.lhe -from_cards --multicore=create
Traceback (most recent call last):
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/processtmp/bin/internal/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/processtmp/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/processtmp/bin/internal/common_run_interface.py", line 2142, in do_reweight
    reweight_cmd.import_command_file(path)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1660, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/reweight_interface.py", line 873, in do_set
    return self.exec_cmd("launch")
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/various/misc.py", line 100, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/reweight_interface.py", line 487, in do_launch
    self.create_standalone_directory()
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/various/misc.py", line 100, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/reweight_interface.py", line 1585, in create_standalone_directory
    has_nlo = self.create_standalone_tree_directory(data, second)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/various/misc.py", line 100, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/reweight_interface.py", line 1292, in create_standalone_tree_directory
    mgcmd.exec_cmd(commandline, precmd=True, errorhandling=False)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1537, in exec_cmd
    line = current_interface.precmd(line)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 996, in precmd
    stop = self.onecmd_orig(subline)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/master_interface.py", line 271, in do_generate
    return self.cmd.do_generate(self, line, *args, **opts)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/madgraph_interface.py", line 4483, in do_generate
    self.do_add(" ".join(args))
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/master_interface.py", line 222, in do_add
    return self.cmd.do_add(self, line, *args, **opts)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/madgraph_interface.py", line 3061, in do_add
    myprocdef = self.extract_process(line, proc_number=nb_proc)
  File "/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/madgraph/interface/madgraph_interface.py", line 4592, in extract_process
    line = '%s %s' % (order_re.group('before'),order_re.group('after'))
IndexError: no such group
Value of current Options:
              text_editor : None
              web_browser : None
        cluster_temp_path : None
                  timeout : 60
       cluster_local_path : /cvmfs/cms.cern.ch/slc6_amd64_gcc630/external/lhapdf/6.2.1-ghjeda2/share/LHAPDF
            cluster_queue : local
         madanalysis_path : None
                   lhapdf : /cvmfs/cms.cern.ch/slc6_amd64_gcc630/external/lhapdf/6.2.1-ghjeda2/share/LHAPDF/../../bin/lhapdf-config
             cluster_size : 100
           cluster_memory : None
                    pjfry : None
    cluster_status_update : (600, 30)
             cluster_time : None
            f2py_compiler : None
                    ninja : /home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5/HEPTools/lib
               hepmc_path : None
             pythia8_path : None
                hwpp_path : None
   automatic_html_opening : False
       cluster_retry_wait : 300
             stdout_level : None
          pythia-pgs_path : None
                 mg5_path : /home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX_gridpack/work/MG5_aMC_v2_6_5
                  td_path : None
             delphes_path : None
              thepeg_path : None
             cluster_type : condor
        madanalysis5_path : None
      exrootanalysis_path : None
         fortran_compiler : None
                  nb_core : 48
                  collier : None
              auto_update : 0
         cluster_nb_retry : 1
               eps_viewer : None
             syscalc_path : None
                  fastjet : None
                    golem : None
             cpp_compiler : None
      notification_center : True
                 run_mode : 2
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.5 2018-02-03 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
set default_unset_couplings 99
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model EWdim6NLO-no_cmass_cwwwcbcw
define l+ = e+ mu+
define l- = e- mu-
define j = g u c d s u~ c~ d~ s~
define p = g u c d s u~ c~ d~ s~
define ell+ = e+ mu+ ta+
define ell- = e- mu- ta-
define V = w+ w-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
generate p p > ell+ vl w- $$ t t~ H QED=3 [QCD] @0
add process p p > ell+ vl w- j $$ t t~ H QED=3 [QCD] @1
add process p p > ell- vl~ w+ $$ t t~ H QED=3 [QCD] @2
add process p p > ell- vl~ w+ j $$ t t~ H QED=3 [QCD] @3
output WWTolnulnu_01j_aTGC_lep_WWmass-600to800_4f_NLO_FXFX -nojpeg
######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 ####
######################################################################
###################################
## INFORMATION FOR DIM6
###################################
BLOCK DIM6 #
      1 3.000000e+00 # cwwwl2
      2 4.000000e+00 # cwl2
      3 2.000000e+01 # cbl2
###################################
## INFORMATION FOR LOOP
###################################
BLOCK LOOP #
      1 9.118800e+01 # mu_r
###################################
## INFORMATION FOR MASS
###################################
BLOCK MASS #
      5 4.700000e+00 # mb
      6 1.720000e+02 # mt
      23 9.118760e+01 # mz
      25 1.200000e+02 # mh
      1 0.000000e+00 # d : 0.0
      2 0.000000e+00 # u : 0.0
      3 0.000000e+00 # s : 0.0
      4 0.000000e+00 # c : 0.0
      11 0.000000e+00 # e- : 0.0
      12 0.000000e+00 # ve : 0.0
      13 0.000000e+00 # mu- : 0.0
      14 0.000000e+00 # vm : 0.0
      15 0.000000e+00 # ta- : 0.0
      16 0.000000e+00 # vt : 0.0
      21 0.000000e+00 # g : 0.0
      22 0.000000e+00 # a : 0.0
      24 7.982436e+01 # w+ : cmath.sqrt(mz__exp__2/2. + cmath.sqrt(mz__exp__4/4. - (aew*cmath.pi*mz__exp__2)/(gf*sqrt__2)))
      9000002 9.118760e+01 # ghz : mz
      9000003 7.982436e+01 # ghwp : mw
      9000004 7.982436e+01 # ghwm : mw
###################################
## INFORMATION FOR SMINPUTS
###################################
BLOCK SMINPUTS #
      1 1.279000e+02 # aewm1
      2 1.166370e-05 # gf
      3 1.184000e-01 # as
###################################
## INFORMATION FOR YUKAWA
###################################
BLOCK YUKAWA #
      5 4.700000e+00 # ymb
      6 1.720000e+02 # ymt
      15 1.777000e+00 # ymtau
###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.508336e+00 # wt
DECAY 15 2.270000e-12 # wtau
DECAY 23 2.495200e+00 # wz
DECAY 24 2.085000e+00 # ww
DECAY 25 5.753088e-03 # wh
DECAY 1 0.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00 # b : 0.0
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
###################################
## INFORMATION FOR QNUMBERS 9000001
###################################
BLOCK QNUMBERS 9000001 # gha
      1 0 # 3 times electric charge
      2 1 # number of spin states (2s+1)
      3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
      4 1 # particle/antiparticle distinction (0=own anti)
###################################
## INFORMATION FOR QNUMBERS 9000002
###################################
BLOCK QNUMBERS 9000002 # ghz
      1 0 # 3 times electric charge
      2 1 # number of spin states (2s+1)
      3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
      4 1 # particle/antiparticle distinction (0=own anti)
###################################
## INFORMATION FOR QNUMBERS 9000003
###################################
BLOCK QNUMBERS 9000003 # ghwp
      1 3 # 3 times electric charge
      2 1 # number of spin states (2s+1)
      3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
      4 1 # particle/antiparticle distinction (0=own anti)
###################################
## INFORMATION FOR QNUMBERS 9000004
###################################
BLOCK QNUMBERS 9000004 # ghwm
      1 -3 # 3 times electric charge
      2 1 # number of spin states (2s+1)
      3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
      4 1 # particle/antiparticle distinction (0=own anti)
###################################
## INFORMATION FOR QNUMBERS 82
###################################
BLOCK QNUMBERS 82 # ghg
      1 0 # 3 times electric charge
      2 1 # number of spin states (2s+1)
      3 8 # colour rep (1: singlet, 3: triplet, 8: octet)
      4 1 # particle/antiparticle distinction (0=own anti)

#***********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat aMC@NLO *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a hash (#) are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# Some of the values of variables can be list. These can either be *
# comma or space separated. *
#***********************************************************************
#
#*******************
# Running parameters
#*******************
#
#***********************************************************************
# Tag name for the run (one word) *
#***********************************************************************
  tag_1 = run_tag ! name of the run
#***********************************************************************
# Number of LHE events (and their normalization) and the required *
# (relative) accuracy on the Xsec. *
# These values are ignored for fixed order runs *
#***********************************************************************
 150 = nevents ! Number of unweighted events requested
 0.001 = req_acc ! Required accuracy (-1=auto determined from nevents)
 100 = nevt_job! Max number of events per job in event generation.
                 ! (-1= no split).
#***********************************************************************
# Normalize the weights of LHE events such that they sum or average to *
# the total cross section *
#***********************************************************************
 average = event_norm ! average or sum
#***********************************************************************
# Number of points per itegration channel (ignored for aMC@NLO runs) *
#***********************************************************************
 0.01 = req_acc_FO ! Required accuracy (-1=ignored, and use the
                     ! number of points and iter. below)
# These numbers are ignored except if req_acc_FO is equal to -1
 5000 = npoints_FO_grid ! number of points to setup grids
 4 = niters_FO_grid ! number of iter. to setup grids
 10000 = npoints_FO ! number of points to compute Xsec
 6 = niters_FO ! number of iter. to compute Xsec
#***********************************************************************
# Random number seed *
#***********************************************************************
 0 = iseed ! rnd seed (0=assigned automatically=default))
#***********************************************************************
# Collider type and energy *
#***********************************************************************
 1 = lpp1 ! beam 1 type (0 = no PDF)
 1 = lpp2 ! beam 2 type (0 = no PDF)
 6500.0 = ebeam1 ! beam 1 energy in GeV
 6500.0 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
lhapdf = pdlabel ! PDF set
325500 = lhaid

#***********************************************************************
# Include the NLO Monte Carlo subtr. terms for the following parton *
# shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
# WARNING: PYTHIA6PT works only for processes without FSR!!!! *
#***********************************************************************
  PYTHIA8 = parton_shower
  1.0 = shower_scale_factor ! multiply default shower starting
                                  ! scale by this factor
#***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses divided by two of all final state particles *
# and partons. This can be changed in SubProcesses/set_scales.f or via *
# dynamical_scale_choice option) *
#***********************************************************************
 False = fixed_ren_scale ! if .true. use fixed ren scale
 False = fixed_fac_scale ! if .true. use fixed fac scale
 91.118 = muR_ref_fixed ! fixed ren reference scale
 91.118 = muF_ref_fixed ! fixed fact reference scale
 -1 = dynamical_scale_choice ! Choose one (or more) of the predefined
           ! dynamical choices. Can be a list; scale choices beyond the
           ! first are included via reweighting
 1.0 = muR_over_ref ! ratio of current muR over reference muR
 1.0 = muF_over_ref ! ratio of current muF over reference muF
#***********************************************************************
# Reweight variables for scale dependence and PDF uncertainty *
#***********************************************************************
 1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
 1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
 True = reweight_scale ! Reweight to get scale variation using the
            ! rw_rscale and rw_fscale factors. Should be a list of
            ! booleans of equal length to dynamical_scale_choice to
            ! specify for which choice to include scale dependence.
 True = reweight_PDF ! Reweight to get PDF uncertainty. Should be a
            ! list booleans of equal length to lhaid to specify for
            ! which PDF set to include the uncertainties.
#***********************************************************************
# Store reweight information in the LHE file for off-line model- *
# parameter reweighting at NLO+PS accuracy *
#***********************************************************************
 True = store_rwgt_info ! Store info for reweighting in LHE file
#***********************************************************************
# ickkw parameter: *
# 0: No merging *
# 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
# level. After showering an MLM-type merging should be applied as *
# well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
# 4: UNLOPS merging (with pythia8 only). No interface from within *
# MG5_aMC available, but available in Pythia8. *
# -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
#***********************************************************************
 3 = ickkw
#***********************************************************************
#
#***********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
# written in the LHE event file *
#***********************************************************************
 15.0 = bwcutoff
#***********************************************************************
# Cuts on the jets. Jet clustering is performed by FastJet. *
# - When matching to a parton shower, these generation cuts should be *
# considerably softer than the analysis cuts. *
# - More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
  1.0 = jetradius ! The radius parameter for the jet algorithm
 15.0 = ptj ! Min jet transverse momentum
 -1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
#***********************************************************************
# Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  18. = ptl ! Min lepton transverse momentum
  2.6 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
  0.0 = drll ! Min distance between opposite sign lepton pairs
  0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
  0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
  4.0 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
#***********************************************************************
# Photon-isolation cuts, according to hep-ph/9801442. When ptgmin=0, *
# all the other parameters are ignored. *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
 20.0 = ptgmin ! Min photon transverse momentum
 -1.0 = etagamma ! Max photon abs(pseudo-rap)
  0.4 = R0gamma ! Radius of isolation code
  1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
  1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
 True = isoEM ! isolate photons from EM energy (photons and leptons)
#***********************************************************************
# For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
#***********************************************************************
 0 = iappl ! aMCfast switch (0=OFF, 1=prepare grids, 2=fill grids)
#***********************************************************************
4 = maxjetflavor
False = reweight_scale
False = reweight_PDF
True = store_rwgt_info

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

The link that you give:https://answers.launchpad.net/mg5amcnlo/+question/482763
does not speak about inverting the step (at least I failed that discussion)

But this does not seem to me that you can "simply" flip the two.
You will face a lot of problem when flipping them. The biggest of all is that MadSpin will need to evaluate matrix-element that we are not able to generate right now.
If something is going trough it is certainly not NLO accurate.

So I do not think that such strategy can work for NLO generation,

Cheers,

Olivier

Revision history for this message
Pedro Fernández Manteca (fernanpe) wrote :
Download full text (3.5 KiB)

Dear Olivier,

I have modified the proc_card in order to avoid doing the W leptonic decay via the madspin file. Now the full decay should be driven by the proc_card (with the corresponding increase in the number of involved diagrams), so I assume this change would fix the steps order issue.

- Old version:

generate p p > ell+ vl w- $$ t t~ H QED=3 [QCD] @0
add process p p > ell+ vl w- j $$ t t~ H QED=3 [QCD] @1
add process p p > ell- vl~ w+ $$ t t~ H QED=3 [QCD] @2
add process p p > ell- vl~ w+ j $$ t t~ H QED=3 [QCD] @3

- New version:

generate p p > ell+ vl ell- vl~ [QCD] @0
add process p p > ell+ vl ell- vl~ j [QCD] @1
add process p p > ell- vl~ ell+ vl [QCD] @2
add process p p > ell- vl~ ell+ vl j [QCD] @3

However, running this configuration I get the error [1].

In the following link you can find the cards I am using: https://github.com/fmanteca/aTGC_UL_samples_v2, and the corresponding log file is placed in https://raw.githubusercontent.com/fmanteca/aTGC_UL_samples_v2/master/WWTolnulnu_01j_aTGC_lep_WWmass-0to400_4f_NLO_FXFX.log

I would really appreciate your help.

Thanks,

Pedro

[1]. INFO: Running Reweighting
change rwgt_dir ./rwgt
change mode LO
change helicity False
set nb_core 1
WARNING: Invalid Syntax. The command 'set' should be placed after the 'launch' one. Continuing by adding automatically 'launch'
launch
INFO: detected model: EWdim6NLO-no_cmass_cwwwcbcw. Loading...
INFO: generating the square matrix element for reweighting
INFO: generate p p > ell+ vl ell- vl~ @0 --no_warning=duplicate;define pert_QCD = -4 -3 -2 -1 1 2 3 4 21;add process p p > ell+ vl ell- vl~ pert_QCD @0 --no_warning=duplicate;define pert_QCD = -4 -3 -2 -1 1 2 3 4 21;add process p p > ell+ vl ell- vl~ j pert_QCD @1 --no_warning=duplicate;add process p p > ell- vl~ ell+ vl @2 --no_warning=duplicate;define pert_QCD = -4 -3 -2 -1 1 2 3 4 21;add process p p > ell- vl~ ell+ vl pert_QCD @2 --no_warning=duplicate;define pert_QCD = -4 -3 -2 -1 1 2 3 4 21;add process p p > ell- vl~ ell+ vl j pert_QCD @3 --no_warning=duplicate;
INFO: Idle: 0, Running: 2, Completed: 0 [ 5m 0s ]
INFO: Done 8484
CRITICAL: tag, onedir = ((-4, 21), (-14, -13, -4, 13, 14)) rw_me [reweight_interface.py at line 1803]
CRITICAL: data[tag][:-1] = (([21, -4], [-13, 14, 13, -14, -4]), '/home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-0to400_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-0to400_4f_NLO_FXFX_gridpack/work/processtmp/rwgt/rw_me/SubProcesses') [reweight_interface.py at line 1804]
CRITICAL: order, pdir, = ([21, -4], [13, -14, -13, 14, -4]) /home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-0to400_4f_NLO_FXFX/WWTolnulnu_01j_aTGC_lep_WWmass-0to400_4f_NLO_FXFX_gridpack/work/processtmp/rwgt/rw_me/SubProcesses [reweight_interface.py at line 1805]
quit
INFO:
INFO: Idle: 0, Running: 1, Completed: 1 [ 3h 10m ]
WARNING: program /cvmfs/cms.cern.ch/slc6_amd64_gcc630/cms/cmssw/CMSSW_9_3_16/external/slc6_amd64_gcc630/bin/python /home/fernanpe/CMSSW_9_3_16/src/genproductions/bin/MadGraph5_aMCatNLO/WWTolnulnu_01j_aTGC_lep_WWmass-0to400_4f_NLO_FXFX/WWTolnulnu_...

Read more...

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1907785] IndexError: no such group

What is the difference between
generate p p > ell+ vl ell- vl~ [QCD] @0
and
add process p p > ell- vl~ ell+ vl [QCD] @2

The particle are not ordered in the final state, so it seems to me that you compute twice the same matrix-element/computation. The re-weighting module does realise that you have two different matrix-element for the same initial/final state and therefore crashes since he does not know which one to use (the reweighitng code does not realise that they are identical.

Cheers,

Olivier

> On 12 Jan 2021, at 23:00, Pedro Fernández Manteca <email address hidden> wrote:
>
> tag, onedir

Changed in mg5amcnlo:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.