reweight fails to generate necessary files in anomalous WH

Bug #1223240 reported by Lindsey Gray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Unassigned

Bug Description

I am trying to use the reweight module for anomalous higgs couplings studies. However, using the latest checkout of MG5 2.0.0_beta4 I get the following error when trying to run this using the attached model:

It seems that it doesn't create some set of files necessary for the reweighting.

INFO: Storing parton level results
INFO: End Parton
reweight -from_cards
INFO: Extracting the banner ...
INFO: process: p p > w+ | w- > h j j ANO=1 QCD=0 EWK=3 HIG=0, (h > a a HIW=1 ANO=1)
INFO: options:
INFO: Running Reweight
launch
INFO: detected model: ANO_HEFT_JGF_v2. Loading...
INFO: generating the square matrix element for reweighting
INFO: generate p p > w+ | w- > h j j ANO=1 QCD=0 EWK=3 HIG=0, (h > a a HIW=1 ANO=1) @1 ;
INFO: Done 4.96
Command "generate_events WH_HAA_grid2 --multicore -f" interrupted with error:
IOError : [Errno 2] No such file or directory: '/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/WH_HAA_test/rw_me/Cards/run_card_default.dat'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/WH_HAA_test/WH_HAA_grid2_tag_1_debug.log'.
Please attach this file to your report.

Excerpt from debug log:
"""
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/WH_HAA_test/bin/internal/madevent_interface.py", line 2598, in do_reweight
    reweight_cmd.import_command_file(path)
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/madgraph/interface/extended_cmd.py", line 987, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/madgraph/interface/extended_cmd.py", line 872, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/madgraph/interface/extended_cmd.py", line 825, in onecmd_orig
    return func(arg, **opt)
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/madgraph/interface/reweight_interface.py", line 230, in do_launch
    ask=self.ask, pwd=pjoin(self.me_dir,'rw_me'))
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/madgraph/interface/common_run_interface.py", line 546, in ask_edit_card_static
    cards=cards, mode=mode, **opt)
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/madgraph/interface/extended_cmd.py", line 608, in ask
    mother_interface=self, **opt)
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/madgraph/interface/common_run_interface.py", line 1428, in __init__
    run_card_def = banner_mod.RunCard(pjoin(self.me_dir,'Cards','run_card_default.dat'))
  File "/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/madgraph/various/banner.py", line 397, in __init__
    run_card = file(run_card,'r')
IOError: [Errno 2] No such file or directory: '/tmp/lgray/CMSSW_7_0_0_pre2/src/2.0.0beta4/WH_HAA_test/rw_me/Cards/run_card_default.dat'
"""

Thanks,
-Lindsey

Related branches

Revision history for this message
Lindsey Gray (lindsey-gray) wrote :
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Thanks Lindsey,

This is fixed now.

Cheers,

Olivier

Changed in madgraph5:
status: New → Fix Committed
Changed in madgraph5:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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