madspin not loading correct restrict file in 2.3.0 (and crashing as a result)

Bug #1472333 reported by Josh Bendavid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Olivier Mattelaer

Bug Description

When running madspin in 2.3.0 for an NLO process generated with the "loop_sm-ckm" model, madspin crashes when trying to decay it.

It looks as though madspin does not load the correct restrict.dat file from the model, and as a result crashes because of mismatches in the lhe header related to the ckm parameters.

INFO: Events generated
decay_events -from_cards
INFO: Running MadSpin
INFO: This functionality allows for the decay of resonances
INFO: in a .lhe file, keeping track of the spin correlation effets.
INFO: BE AWARE OF THE CURRENT LIMITATIONS:
INFO: (1) Only a succession of 2 body decay are currently allowed
************************************************************
* *
* W E L C O M E to M A D S P I N *
* *
************************************************************
INFO: Extracting the banner ...
INFO: process: p p > w+
INFO: options:
INFO: detected model: loop_sm-ckm. Loading...
set ms_dir ./madspingrid
set Nevents_for_max_weigth 250 # number of events for the estimate of the max. weight
set max_weight_ps_point 400 # number of PS to estimate the maximum for each event
set max_running_process 1
decay t > w+ b, w+ > all all
decay t~ > w- b~, w- > all all
decay w+ > all all
decay w- > all all
decay z > all all
launch
INFO: Will use seed 309901791
INFO: generating Madspin matrix element
WARNING: set the mass of the b-quark to its value in the param_card.dat: 4.7 GeV
INFO: We need to recalculate the branching fractions for t~,w-,z,w+,t
INFO: Using MadWidth (arXiv:1402.1178)
INFO: Restrict model /afs/cern.ch/work/b/bendavid/gridpack230/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/MG5_aMC_v2_3_0/models/loop_sm with file ../MG5_aMC_v2_3_0/models/loop_sm/restrict_default.dat .
INFO: Run "set stdout_level DEBUG" before import for more information.
Command "launch -n pilotrun" interrupted with error:
MadGraph5Error : Invalid restriction card (not same block)
            set(['wolfenstein', 'yukawa', 'decay', 'mass', 'sminputs', 'loop']) != set(['yukawa', 'sminputs', 'mass', 'loop', 'decay']).
            Missing block:
            Unknown block : wolfenstein
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/afs/cern.ch/work/b/bendavid/gridpack230/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/processtmp/pilotrun_tag_1_debug.log'.
Please attach this file to your report.
quit
INFO:

cleaning unneeded files from gridpack
Saving log file

Changed in mg5amcnlo:
assignee: nobody → Pierre Artoisenet (partois)
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Hi Josh,

Here is a patch:

=== modified file 'madgraph/interface/madgraph_interface.py'
--- madgraph/interface/madgraph_interface.py 2015-06-26 10:55:43 +0000
+++ madgraph/interface/madgraph_interface.py 2015-07-20 16:23:13 +0000
@@ -6432,7 +6432,7 @@
             logger.warning(warning_text)

         if not model:
- modelname = self._curr_model.get('modelpath')
+ modelname = self._curr_model.get('modelpath+restriction')
             with misc.MuteLogger(['madgraph'], ['INFO']):
                 model = import_ufo.import_model(modelname, decay=True)
         else:

Cheers,

Olivier

Changed in mg5amcnlo:
assignee: Pierre Artoisenet (partois) → Olivier Mattelaer (olivier-mattelaer)
Revision history for this message
Josh Bendavid (joshbendavid) wrote :

Yes that solves it for me, thanks.

Changed in mg5amcnlo:
status: New → Fix Committed
Changed in mg5amcnlo:
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.