ValueError : math domain error
Hi MadGraph Experts ,
I am generating a process as follows,
p vl > j vl, with the following run card, I am getting this error,
WARNING: program /usr/bin/python -O /root/MG5_
INFO: Running Systematics computation
INFO: # events generated with PDF: cteq6l1 (10042)
INFO: #Will Compute 44 weights per event.
INFO: # currently at event 0 [elapsed time: 0.0025 s]
Command "generate_events run_36" interrupted with error:
ValueError : math domain error
Please report this bug on https:/
More information is found in '/root/
Please attach this file to your report.
Run Card
#******
# MadGraph5_aMC@NLO *
# *
# run_card.dat MadEvent *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/
# *
# Lines starting with a '# ' are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# To display more options, you can type the command: *
# update full_run_card *
#******
#
#******
# Tag name for the run (one word) *
#******
tag_1 = run_tag ! name of the run
#******
# Number of events and rnd seed *
# Warning: Do not generate more than 1M events in a single run *
#******
10000 = nevents ! Number of unweighted events requested
0 = iseed ! rnd seed (0=assigned automatically=
#******
# Collider type and energy *
# lpp: 0=No PDF, 1=proton, -1=antiproton, 2=photon from proton, *
# 3=photon from electron *
#******
1 = lpp1 ! beam 1 type
0 = lpp2 ! beam 2 type
0.0 = ebeam1 ! beam 1 total energy in GeV
1000000.0 = ebeam2 ! beam 2 total energy in GeV
#******
# Beam polarization from -100 (left-handed) to 100 (right-handed) *
#******
0.0 = polbeam1 ! beam polarization for beam 1
-100.0 = polbeam2 ! beam polarization for beam 2
#******
# PDF CHOICE: this automatically fixes also alpha_s and its evol. *
#******
lhapdf = pdlabel ! PDF set
10042 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
#******
# Heavy ion PDF / rescaling of PDF *
#******
0 = nb_proton1 # number of proton for the first beam
1 = nb_neutron1 # number of neutron for the first beam
0.93957 = mass_ion1 # mass of the heavy ion (first beam)
# Note that seting differently the two beams only work if you use
# group_subproces
1 = nb_proton2 # number of proton for the second beam
0 = nb_neutron2 # number of neutron for the second beam
-1.0 = mass_ion2 # mass of the heavy ion (second beam)
#******
# Renormalization and factorization scales *
#******
True = fixed_ren_scale ! if .true. use fixed ren scale
True = fixed_fac_scale ! if .true. use fixed fac scale
0.657 = scale ! fixed ren scale
0.657 = dsqrt_q2fact1 ! fixed fact scale for pdf1
0.657 = dsqrt_q2fact2 ! fixed fact scale for pdf2
-1 = dynamical_
1.0 = scalefact ! scale factor for event-by-event scales
#******
# Type and output format
#******
False = gridpack !True = setting up the grid pack
-1.0 = time_of_flight ! threshold (in mm) below which the invariant livetime is not written (-1 means not written)
average = event_norm ! average/sum. Normalization of the weight in the LHEF
# To see MLM/CKKW merging options: type "update MLM" or "update CKKW"
#******
#
#******
# handling of the helicities:
# 0: sum over all helicities
# 1: importance sampling over helicities
#******
0 = nhel ! using helicities importance sampling or not.
#******
# Generation bias, check the wiki page below for more information: *
# 'cp3.irmp.
#******
None = bias_module ! Bias type of bias, [None, ptj_bias, -custom_folder-]
{} = bias_parameters ! Specifies the parameters of the module.
#
#******
# Parton level cuts definition *
#******
#
#
#******
# BW cutoff (M+/-bwcutoff*
#******
15.0 = bwcutoff ! (M+/-bwcutoff*
#******
# Standard Cuts *
#******
# Minimum and maximum pt's (for max, -1 means no cut) *
#******
0.0 = ptj ! minimum pt for the jets
0.0 = misset ! minimum missing Et (sum of neutrino's momenta)
-1.0 = ptjmax ! maximum pt for the jets
-1.0 = missetmax ! maximum missing Et (sum of neutrino's momenta)
{} = pt_min_pdg ! pt cut for other particles (use pdg code). Applied on particle and anti-particle
{} = pt_max_pdg ! pt cut for other particles (syntax e.g. {6: 100, 25: 50})
#
# For display option for energy cut in the partonic center of mass frame type 'update ecut'
#
#******
# Maximum and minimum absolute rapidity (for max, -1 means no cut) *
#******
-1.0 = etaj ! max rap for the jets
{} = eta_min_pdg ! rap cut for other particles (use pdg code). Applied on particle and anti-particle
{} = eta_max_pdg ! rap cut for other particles (syntax e.g. {6: 2.5, 23: 5})
#******
# Minimum and maximum DeltaR distance *
#******
#******
# Minimum and maximum invariant mass for pairs *
#******
{} = mxx_min_pdg ! min invariant mass of a pair of particles X/X~ (e.g. {6:250})
{'default': False} = mxx_only_
#******
# Inclusive cuts *
#******
#******
# maximal pdg code for quark to be considered as a light jet *
# (otherwise b cuts are applied) *
#******
4 = maxjetflavor ! Maximum jet pdg code
#******
#
#******
# Store info for systematics studies *
# WARNING: Do not use for interference type of computation *
#******
True = use_syst ! Enable systematics studies
#
systematics = systematics_program ! none, systematics [python], SysCalc [depreceted, C++]
['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset'] = systematics_
# Syscalc is deprecated but to see the associate options type'update syscalc'
# Additional hidden parameters
#******
['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset'] = systematics_
kindly help me to sort out this.
Best
Melbin
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2020-12-25
- Last reply:
- 2020-12-31
Hi,
I do not reproduce the exact same error as you with the latest version.
However I still face issue with the latest version of the code and you will find
here the patch (and a tarball to a fixed version) that fixes the remaining issue for me:
https:/
Thanks for the report,
Olivier
Can you help with this problem?
Provide an answer of your own, or ask ouseph cj for more information if necessary.