Failing to generate gridpack for QCD process
Dear experts,
I am trying to generate a gridpack for the following process at 100 TeV with 2.5.5:
define bot = b b~
generate p p > bot bot bot bot j
the 4b system has to recoil against the light jet with pT> 500 GeV. I also add DR(bb) > 0.1 and ptb > 100 GeV.
This takes a long time to generate but works.
If I ask on top of that a 200 < m(bbbb) < 600 GeV the gridpack generation fails with error (*). The problem seems to be the upper bound requirement m(bbbb) < 600 GeV that I ask in cuts.f.
I am attaching cuts.f, run_card.dat and a log of one of the SubProcesses.
Any help on how to generate this process?
Thanks
(*) -------
INFO: Idle: 0, Running: 1, Completed: 56 [ 9h 17m ]
INFO: Idle: 0, Running: 1, Completed: 56 [ 9h 27m ]
CRITICAL: Fail to run correctly job 43214049.
with option: {'log': None, 'stdout': None, 'argument': ['0', '356', '357'], 'nb_submit': 1, 'stderr': None, 'prog': '/afs/cern.
file missing: /afs/cern.
Fails 1 times
No resubmition.
INFO: All jobs finished
INFO: Idle: 0, Running: 0, Completed: 57 [ 9h 37m ]
Job <43214049>: Job has already finished
Error when reading /afs/cern.
Command "generate_events " interrupted with error:
ValueError : need more than 5 values to unpack
Please report this bug on https:/
More information is found in '/afs/cern.
Please attach this file to your report.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I don't see how to attach files so here are the copy paste:
-------
#******
# 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 *
#******
#
#******
# Running parameters
#******
#
#******
# 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 *
# If you want to run Pythia, avoid more than 50k events in a run. *
#******
500 = 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
1 = lpp2 ! beam 2 type
50000.0 = ebeam1 ! beam 1 total energy in GeV
50000.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
0.0 = polbeam2 ! beam polarization for beam 2
#******
# PDF CHOICE: this automatically fixes also alpha_s and its evol. *
#******
nn23lo1 = pdlabel ! PDF set
230000 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
#******
# Renormalization and factorization scales *
#******
False = fixed_ren_scale ! if .true. use fixed ren scale
False = fixed_fac_scale ! if .true. use fixed fac scale
91.188 = scale ! fixed ren scale
91.188 = dsqrt_q2fact1 ! fixed fact scale for pdf1
91.188 = dsqrt_q2fact2 ! fixed fact scale for pdf2
-1 = dynamical_
1.0 = scalefact ! scale factor for event-by-event scales
#******
# Type and output format
#******
True = 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)
3.0 = lhe_version ! Change the way clustering information pass to shower.
True = clusinfo ! include clustering tag in output
average = event_norm ! average/sum. Normalization of the weight in the LHEF
#******
# Matching parameter (MLM only)
#******
0 = ickkw ! 0 no matching, 1 MLM
1.0 = alpsfact ! scale factor for QCD emission vx
False = chcluster ! cluster only according to channel diag
4 = asrwgtflavor ! highest quark flavor for a_s reweight
False = auto_ptj_mjj ! Automatic setting of ptj and mjj if xqcut >0
0.0 = xqcut ! minimum kt jet measure between partons
#******
#
#******
# 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*
#******
# Apply pt/E/eta/
# (note that etmiss/
#******
False = cut_decays ! Cut decay products
#******
# Standard Cuts *
#******
# Minimum and maximum pt's (for max, -1 means no cut) *
#******
500.0 = ptj ! minimum pt for the jets
100.0 = ptb ! minimum pt for the b
10.0 = pta ! minimum pt for the photons
10.0 = ptl ! minimum pt for the charged leptons
0.0 = misset ! minimum missing Et (sum of neutrino's momenta)
0.0 = ptheavy ! minimum pt for one heavy final state
-1.0 = ptjmax ! maximum pt for the jets
-1.0 = ptbmax ! maximum pt for the b
-1.0 = ptamax ! maximum pt for the photons
-1.0 = ptlmax ! maximum pt for the charged leptons
-1.0 = missetmax ! maximum missing Et (sum of neutrino's momenta)
#******
# Minimum and maximum E's (in the center of mass frame) *
#******
0.0 = ej ! minimum E for the jets
0.0 = eb ! minimum E for the b
0.0 = ea ! minimum E for the photons
0.0 = el ! minimum E for the charged leptons
-1.0 = ejmax ! maximum E for the jets
-1.0 = ebmax ! maximum E for the b
-1.0 = eamax ! maximum E for the photons
-1.0 = elmax ! maximum E for the charged leptons
#******
# Maximum and minimum absolute rapidity (for max, -1 means no cut) *
#******
5.0 = etaj ! max rap for the jets
5.0 = etab ! max rap for the b
2.5 = etaa ! max rap for the photons
2.5 = etal ! max rap for the charged leptons
0.0 = etajmin ! min rap for the jets
0.0 = etabmin ! min rap for the b
0.0 = etaamin ! min rap for the photons
0.0 = etalmin ! main rap for the charged leptons
#******
# Minimum and maximum DeltaR distance *
#******
0.4 = drjj ! min distance between jets
0.1 = drbb ! min distance between b's
0.4 = drll ! min distance between leptons
0.4 = draa ! min distance between gammas
0.4 = drbj ! min distance between b and jet
0.4 = draj ! min distance between gamma and jet
0.4 = drjl ! min distance between jet and lepton
0.0 = drab ! min distance between gamma and b
0.0 = drbl ! min distance between b and lepton
0.4 = dral ! min distance between gamma and lepton
-1.0 = drjjmax ! max distance between jets
-1.0 = drbbmax ! max distance between b's
-1.0 = drllmax ! max distance between leptons
-1.0 = draamax ! max distance between gammas
-1.0 = drbjmax ! max distance between b and jet
-1.0 = drajmax ! max distance between gamma and jet
-1.0 = drjlmax ! max distance between jet and lepton
-1.0 = drabmax ! max distance between gamma and b
-1.0 = drblmax ! max distance between b and lepton
-1.0 = dralmax ! maxdistance between gamma and lepton
#******
# Minimum and maximum invariant mass for pairs *
# WARNING: for four lepton final state mmll cut require to have *
# different lepton masses for each flavor! *
#******
0.0 = mmjj ! min invariant mass of a jet pair
0.0 = mmbb ! min invariant mass of a b pair
0.0 = mmaa ! min invariant mass of gamma gamma pair
0.0 = mmll ! min invariant mass of l+l- (same flavour) lepton pair
-1.0 = mmjjmax ! max invariant mass of a jet pair
-1.0 = mmbbmax ! max invariant mass of a b pair
-1.0 = mmaamax ! max invariant mass of gamma gamma pair
-1.0 = mmllmax ! max invariant mass of l+l- (same flavour) lepton pair
#******
# Minimum and maximum invariant mass for all letpons *
#******
0.0 = mmnl ! min invariant mass for all letpons (l+- and vl)
-1.0 = mmnlmax ! max invariant mass for all letpons (l+- and vl)
#******
# Minimum and maximum pt for 4-momenta sum of leptons *
#******
0.0 = ptllmin ! Minimum pt for 4-momenta sum of leptons(l and vl)
-1.0 = ptllmax ! Maximum pt for 4-momenta sum of leptons(l and vl)
#******
# Inclusive cuts *
#******
0.0 = xptj ! minimum pt for at least one jet
0.0 = xptb ! minimum pt for at least one b
0.0 = xpta ! minimum pt for at least one photon
0.0 = xptl ! minimum pt for at least one charged lepton
#******
# Control the pt's of the jets sorted by pt *
#******
0.0 = ptj1min ! minimum pt for the leading jet in pt
0.0 = ptj2min ! minimum pt for the second jet in pt
0.0 = ptj3min ! minimum pt for the third jet in pt
0.0 = ptj4min ! minimum pt for the fourth jet in pt
-1.0 = ptj1max ! maximum pt for the leading jet in pt
-1.0 = ptj2max ! maximum pt for the second jet in pt
-1.0 = ptj3max ! maximum pt for the third jet in pt
-1.0 = ptj4max ! maximum pt for the fourth jet in pt
0 = cutuse ! reject event if fails any (0) / all (1) jet pt cuts
#******
# Control the pt's of leptons sorted by pt *
#******
0.0 = ptl1min ! minimum pt for the leading lepton in pt
0.0 = ptl2min ! minimum pt for the second lepton in pt
0.0 = ptl3min ! minimum pt for the third lepton in pt
0.0 = ptl4min ! minimum pt for the fourth lepton in pt
-1.0 = ptl1max ! maximum pt for the leading lepton in pt
-1.0 = ptl2max ! maximum pt for the second lepton in pt
-1.0 = ptl3max ! maximum pt for the third lepton in pt
-1.0 = ptl4max ! maximum pt for the fourth lepton in pt
#******
# Control the Ht(k)=Sum of k leading jets *
#******
0.0 = htjmin ! minimum jet HT=Sum(jet pt)
-1.0 = htjmax ! maximum jet HT=Sum(jet pt)
0.0 = ihtmin !inclusive Ht for all partons (including b)
-1.0 = ihtmax !inclusive Ht for all partons (including b)
0.0 = ht2min ! minimum Ht for the two leading jets
0.0 = ht3min ! minimum Ht for the three leading jets
0.0 = ht4min ! minimum Ht for the four leading jets
-1.0 = ht2max ! maximum Ht for the two leading jets
-1.0 = ht3max ! maximum Ht for the three leading jets
-1.0 = ht4max ! maximum Ht for the four leading jets
#******
# Photon-isolation cuts, according to hep-ph/9801442 *
# When ptgmin=0, all the other parameters are ignored *
# When ptgmin>0, pta and draj are not going to be used *
#******
0.0 = ptgmin ! Min photon transverse momentum
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)
#******
# WBF cuts *
#******
0.0 = xetamin ! minimum rapidity for two jets in the WBF case
0.0 = deltaeta ! minimum rapidity for two jets in the WBF case
#******
# Turn on either the ktdurham or ptlund cut to activate *
# CKKW(L) merging with Pythia8 [arXiv:1410.3012, arXiv:1109.4829] *
#******
-1.0 = ktdurham
0.4 = dparameter
-1.0 = ptlund
1, 2, 3, 4, 5, 6, 21 = pdgs_for_
#******
# 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
#
#******
# Parameter of the systematics study
# will be used by SysCalc (if installed)
#******
#
0.5 1 2 = sys_scalefact # factorization/
None = sys_alpsfact # \alpha_s emission scale factors
auto = sys_matchscale # variation of merging scale
# PDF sets and number of members (0 or none for all members).
NNPDF23_
# MSTW2008nlo68cl
#
-------
c need to declare mbs
c mbbbb invariant mass cuts
c reset ptemp
do j=0,3
ptemp(j)=0 ! for the total b's momentum
enddo
c compute total b's momentum
do i=nincoming+
do j=0,3
enddo
endif
enddo
mbs = dsqrt(ptemp(
c write (*,*) mbs,' -> mbbbb'
if (mbs.lt.200) then
endif
if (mbs.gt.600) then
endif
Revision history for this message
|
#2 |
Hi,
What is the content of the log file associated to the jobs that failed?
Please remember that adding cut by hand in cuts.f can be very dangerous for the convergence of the code.
Since the code is not optimised on those cuts. So please always validate that you have the same shape cross-section from samples generated without such cuts before putting such gridpack in production.
> The problem seems to be the upper bound requirement m(bbbb) < 600 GeV that I ask in cuts.f.
Upper limit is quite hard to handle at the phase-space level indeed. (Especially for background). So this is not too surprising.
Cheers,
Olivier
> On 21 Jun 2017, at 11:59, Michele Selvaggi <email address hidden> wrote:
>
> New question #644368 on MadGraph5_aMC@NLO:
> https:/
>
> Dear experts,
>
> I am trying to generate a gridpack for the following process at 100 TeV with 2.5.5:
>
> define bot = b b~
> generate p p > bot bot bot bot j
>
> the 4b system has to recoil against the light jet with pT> 500 GeV. I also add DR(bb) > 0.1 and ptb > 100 GeV.
> This takes a long time to generate but works.
>
> If I ask on top of that a 200 < m(bbbb) < 600 GeV the gridpack generation fails with error (*). The problem seems to be the upper bound requirement m(bbbb) < 600 GeV that I ask in cuts.f.
>
> I am attaching cuts.f, run_card.dat and a log of one of the SubProcesses.
>
> Any help on how to generate this process?
>
> Thanks
>
> (*) -------
>
> INFO: Idle: 0, Running: 1, Completed: 56 [ 9h 17m ]
> INFO: Idle: 0, Running: 1, Completed: 56 [ 9h 27m ]
> CRITICAL: Fail to run correctly job 43214049.
> with option: {'log': None, 'stdout': None, 'argument': ['0', '356', '357'], 'nb_submit': 1, 'stderr': None, 'prog': '/afs/cern.
> file missing: /afs/cern.
> Fails 1 times
> No resubmition.
> INFO: All jobs finished
> INFO: Idle: 0, Running: 0, Completed: 57 [ 9h 37m ]
> Job <43214049>: Job has already finished
> Error when reading /afs/cern.
> Command "generate_events " interrupted with error:
> ValueError : need more than 5 values to unpack
> Please report this bug on https:/
> More information is found in '/afs/cern.
> Please attach this file to your report.
>
>
>
>
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.
Revision history for this message
|
#3 |
Hi Olivier,
thanks for your answer.
See below two log files corresponding to the two subprocesses ['G356', 'G357']:
https:/
Isn't it possible to actually hack the phase space point generation to account for that upper cut value?
Cheers
Michele
Revision history for this message
|
#4 |
Hi,
This sounds to be a filesystem issue.
The crash is linked to a missing file, but that file actually exists in the log file that you provide to me.
The only solution for that is to resubmit the jobs as it is the default in the code.
Cheers,
Olivier
> On 22 Jun 2017, at 11:04, Michele Selvaggi <email address hidden> wrote:
>
> Question #644368 on MadGraph5_aMC@NLO changed:
> https:/
>
> Status: Answered => Open
>
> Michele Selvaggi is still having a problem:
> Hi Olivier,
>
> thanks for your answer.
> See below two log files corresponding to the two subprocesses ['G356', 'G357']:
>
> https:/
>
> Isn't it possible to actually hack the phase space point generation to
> account for that upper cut value?
>
> Cheers
> Michele
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.
Revision history for this message
|
#5 |
Hi Olivier,
I have been resubmitting this process at least 7 times, and never got any output, so this is obviously not a filesystem issue.
There is some subprocesses that consistently take forever and eventually fail after several hours of running.
Would you please mind trying this process out?
I think I have supplied all necessary ingredients: (process, run_card, cuts.f)
Please let me know if you need something else.
Cheers
Michele
Revision history for this message
|
#6 |
Hi Michele,
The error is Cleary in this case:
file missing: /afs/cern.
But that file is present in the directory G357, that you send.
This sounds really a file system issue. Trying it on a different machine does not make that much sense to me.
I also check the log.txt and default_log.txt of that director and they both indicate that such job is working nicely.
So from what you send this time, I do not see the point to run it myself on my laptop to see it.
Cheers,
Olivier
On 22 Jun 2017, at 11:36, Michele Selvaggi <<email address hidden>
Question #644368 on MadGraph5_aMC@NLO changed:
https:/
Status: Answered => Open
Michele Selvaggi is still having a problem:
Hi Olivier,
I have been resubmitting this process at least 7 times, and never got any output, so this is obviously not a filesystem issue.
There is some subprocesses that consistently take forever and eventually fail after several hours of running.
Would you please mind trying this process out?
I think I have supplied all necessary ingredients: (process, run_card, cuts.f)
Please let me know if you need something else.
Cheers
Michele
--
You received this question notification because you are an answer
contact for MadGraph5_aMC@NLO.
Revision history for this message
|
#7 |
Hi Olivier,
so I have re-rerun the process on ingrid and find NaN cross-section.
You can have a look here for example (you should have access to the that space, otherwise please let me know):
/home/fynu/
That is not the only SubProcess with NaN cross-section, there are also G112, G114, G121, G122, G423, G424, G425, G431, G432...
Cheers
Michele
Revision history for this message
|
#8 |
Hi,
any news on this?
I really need to be able to generate these events ...
Thanks
Michele
Revision history for this message
|
#9 |
Hi Michele,
Will not have any time to look at this before friday (at earliest).
Sorry,
Olivier
Revision history for this message
|
#11 |
Hi Michelle,
You did not give me write/exec access on those directories.
Impossible for me to run gdb on those without such access as we discuss by skype.
Cheers,
Olivier
Revision history for this message
|
#12 |
Hi Olivier,
you should now have access to:
/home/fynu/
and all subfolders...
Note that the environment for this process can be obtained via:
module load pheno/pheno_gcc49
Thanks
Michele
Revision history for this message
|
#13 |
Hi Michele,
The problem seems related to the MC over sub-grouping.
You can set mc_grouped_subproc to False
Will see how to fix it in a nicer way.
Cheers,
Olivier
On 2 Jul 2017, at 15:17, selvaggi <<email address hidden>
Question #644368 on MadGraph5_aMC@NLO changed:
https:/
selvaggi posted a new comment:
Hi Olivier,
you should now have access to:
/home/fynu/
and all subfolders...
Note that the environment for this process can be obtained via:
module load pheno/pheno_gcc49
Thanks
Michele
--
You received this question notification because you are an answer
contact for MadGraph5_aMC@NLO.
Can you help with this problem?
Provide an answer of your own, or ask Michele Selvaggi for more information if necessary.