Madgraph error on tutorial after update, previously worked fine
Madgraph has previously worked fine on my machine, today I was prompted to update so I ran an update. When testing with the tutorial, I get this error :
Command "output MY_FIRST_MG5_RUN" interrupted with error:
UnboundLocalError : local variable 'identity' referenced before assignment.
I can see where the issue is in the code from this part of the debug file : MG5_aMC_
if identity not in cls.allowed_
UnboundLocalError: local variable 'identity' referenced before assignment
In the function get_lepton_
Here is the debug file:
#******
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.2.0 2021-08-22 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* *
#******
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#******
set group_subprocesses Auto
set ignore_
set low_mem_
set complex_mass_scheme False
set include_
set gauge unitary
set loop_optimized_
set loop_color_flows False
set max_npoint_
set default_
set max_t_for_channel 99
set zerowidth_tchannel True
set nlo_mixed_expansion True
import model sm
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
tutorial
generate p p > t t~
output MY_FIRST_MG5_RUN
Traceback (most recent call last):
File "/Users/
return self.onecmd_
File "/Users/
return func(arg, **opt)
File "/Users/
self.
File "/Users/
self.
File "/Users/
flaglist)
File "/Users/
super(
File "/Users/
ProcessExpo
File "/Users/
self.
File "/Users/
run_card = banner_
File "/Users/
RunCard.
File "/Users/
if identity not in cls.allowed_
UnboundLocalError: local variable 'identity' referenced before assignment
default_
ignore_
include_
loop_
low_mem_
max_
automatic_
acknowledged
cluster_
mg5amc_
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: