Can MadSpin run on a cluster?
Hi
I have a question about running MadGraph on the cluster.
I’d like to know if it is possible to run the MadSpin part on a cluster?
I’m generating t t~ h [QCD] events and controlling how the higgs and tops decay using MadSpin. I’m using MG5_aMC_v2_2_1 with Fortran gcc/4.6.3. This works in the single and multicore modes but it will be more convenient if I could run on a cluster. I’ve edited mg5_configurati
run_mode = 1
cluster_type = sge
cluster_queue = fastlip
cluster_temp_path = /hometmp/calo/$USER
everything works fine, many jobs are submitted to our cluster and an events.lhe file is made. But when the program gets to the MadSpin part it crashes with the following message
Command "launch auto " interrupted with error:
IOError : [Fail 5 times]
[Errno 2] No such file or directory: '/hometmp/
Please report this bug on https:/
More information is found in '/hometmp/
Please attach this file to your report
I’m not sure what to do here. I’ve tried experimenting by running MadSpin separately but it seems that the information about the decay is saved in a tmp directory which gets lost. Do you have any suggestions on how I could proceed?
Thanks,
Rob
#******
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.2.1 2014-09-25 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* and *
#* http://
#* *
#******
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#******
launch auto
Traceback (most recent call last):
File "/hometmp/
return self.onecmd_
File "/hometmp/
return func(arg, **opt)
File "/hometmp/
self.
File "/hometmp/
stop = Cmd.onecmd_
File "/hometmp/
return func(arg, **opt)
File "/hometmp/
madspin_
File "/hometmp/
self.
File "/hometmp/
stop = Cmd.onecmd_
File "/hometmp/
return func(arg, **opt)
File "/hometmp/
self.options)
File "/hometmp/
self.
File "/hometmp/
out = f(self, *args, **opt)
File "/hometmp/
out = f(*args, **opt)
File "/hometmp/
self.
File "/hometmp/
width.
File "/hometmp/
self.
File "/hometmp/
self.
File "/hometmp/
cmd.
File "/hometmp/
stop = Cmd.onecmd_
File "/hometmp/
return func(arg, **opt)
File "/hometmp/
return self.cmd.
File "/hometmp/
me_
File "/hometmp/
stop = Cmd.onecmd_
File "/hometmp/
return func(arg, **opt)
File "/hometmp/
output = misc.mult_
File "/hometmp/
raise error.__class__, '[Fail %i times] \n %s ' % (i+1, error)
IOError: [Fail 5 times]
[Errno 2] No such file or directory: '/hometmp/
Value of current Options:
ignore_
loop_
cluster_
automatic_
output_
exrootana
complex_
#******
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.2.1 2014-09-25 *
#* *
#* 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 loop_optimized_
set complex_mass_scheme False
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~
import model loop_sm
generate p p > t t~ [QCD]
output output
#######
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
#######
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
#######
#######
## INFORMATION FOR LOOP
#######
Block loop
1 9.118800e+01 # MU_R
#######
## INFORMATION FOR MASS
#######
Block mass
5 4.700000e+00 # MB
6 1.730000e+02 # MT
15 1.777000e+00 # MTA
23 9.118800e+01 # MZ
25 1.250000e+02 # MH
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
1 0.000000 # d : 0.0
2 0.000000 # u : 0.0
3 0.000000 # s : 0.0
4 0.000000 # c : 0.0
11 0.000000 # e- : 0.0
12 0.000000 # ve : 0.0
13 0.000000 # mu- : 0.0
14 0.000000 # vm : 0.0
16 0.000000 # vt : 0.0
21 0.000000 # g : 0.0
22 0.000000 # a : 0.0
24 80.419002 # w+ : cmath.sqrt(
82 0.000000 # gh : 0.0
#######
## INFORMATION FOR SMINPUTS
#######
Block sminputs
1 1.325070e+02 # aEWM1
2 1.166390e-05 # Gf
3 1.180000e-01 # aS
#######
## INFORMATION FOR YUKAWA
#######
Block yukawa
5 4.700000e+00 # ymb
6 1.730000e+02 # ymt
15 1.777000e+00 # ymtau
#######
## INFORMATION FOR DECAY
#######
DECAY 6 1.491500e+00 # WT
DECAY 23 2.441404e+00 # WZ
DECAY 24 2.047600e+00 # WW
DECAY 25 6.382339e-03 # WH
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
DECAY 1 0.000000 # d : 0.0
DECAY 2 0.000000 # u : 0.0
DECAY 3 0.000000 # s : 0.0
DECAY 4 0.000000 # c : 0.0
DECAY 5 0.000000 # b : 0.0
DECAY 11 0.000000 # e- : 0.0
DECAY 12 0.000000 # ve : 0.0
DECAY 13 0.000000 # mu- : 0.0
DECAY 14 0.000000 # vm : 0.0
DECAY 15 0.000000 # ta- : 0.0
DECAY 16 0.000000 # vt : 0.0
DECAY 21 0.000000 # g : 0.0
DECAY 22 0.000000 # a : 0.0
DECAY 82 0.000000 # gh : 0.0
#======
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#======
Block QNUMBERS 82 # gh
1 0 # 3 times electric charge
2 1 # number of spin states (2S+1)
3 8 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
#******
# MadGraph5_aMC@NLO *
# *
# run_card.dat aMC@NLO *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/
# *
# Lines starting with a hash (#) 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 their normalization) and the required *
# (relative) accuracy on the Xsec. *
# These values are ignored for fixed order runs *
#******
10000 = nevents ! Number of unweighted events requested
-1 = req_acc ! Required accuracy (-1=auto determined from nevents)
-1 = nevt_job! Max number of events per job in event generation.
! (-1= no split).
average = event_norm ! Normalize events to sum or average to the X sect.
#******
# Number of points per itegration channel (ignored for aMC@NLO runs) *
#******
0.01 = req_acc_FO ! Required accuracy (-1=ignored, and use the
# These numbers are ignored except if req_acc_FO is equal to -1
5000 = npoints_FO_grid ! number of points to setup grids
4 = niters_FO_grid ! number of iter. to setup grids
10000 = npoints_FO ! number of points to compute Xsec
6 = niters_FO ! number of iter. to compute Xsec
#******
# Random number seed *
#******
0 = iseed ! rnd seed (0=assigned automatically=
#******
# Collider type and energy *
#******
1 = lpp1 ! beam 1 type (0 = no PDF)
1 = lpp2 ! beam 2 type (0 = no PDF)
6500 = ebeam1 ! beam 1 energy in GeV
6500 = ebeam2 ! beam 2 energy in GeV
#******
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#******
nn23nlo = pdlabel ! PDF set
230000 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
#******
# Include the NLO Monte Carlo subtr. terms for the following parton *
# shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
# WARNING: PYTHIA6PT works only for processes without FSR!!!! *
#******
HERWIG6 = parton_shower
#******
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses of all final state particles and partons. This *
# can be changed in SubProcesses/
#******
F = fixed_ren_scale ! if .true. use fixed ren scale
F = fixed_fac_scale ! if .true. use fixed fac scale
91.188 = muR_ref_fixed ! fixed ren reference scale
91.188 = muF1_ref_fixed ! fixed fact reference scale for pdf1
91.188 = muF2_ref_fixed ! fixed fact reference scale for pdf2
#******
# Renormalization and factorization scales (advanced and NLO options) *
#******
F = fixed_QES_scale ! if .true. use fixed Ellis-Sexton scale
91.188 = QES_ref_fixed ! fixed Ellis-Sexton reference scale
1 = muR_over_ref ! ratio of current muR over reference muR
1 = muF1_over_ref ! ratio of current muF1 over reference muF1
1 = muF2_over_ref ! ratio of current muF2 over reference muF2
1 = QES_over_ref ! ratio of current QES over reference QES
#******
# Reweight flags to get scale dependence and PDF uncertainty *
# For scale dependence: factor rw_scale_up/down around central scale *
# For PDF uncertainty: use LHAPDF with supported set *
#******
.true. = reweight_scale ! reweight to get scale dependence
0.5 = rw_Rscale_down ! lower bound for ren scale variations
2.0 = rw_Rscale_up ! upper bound for ren scale variations
0.5 = rw_Fscale_down ! lower bound for fact scale variations
2.0 = rw_Fscale_up ! upper bound for fact scale variations
.false. = reweight_PDF ! reweight to get PDF uncertainty
230001 = PDF_set_min ! First of the error PDF sets
230100 = PDF_set_max ! Last of the error PDF sets
#******
# Merging - WARNING! Applies merging only at the hard-event level. *
# After showering an MLM-type merging should be applied as well. *
# See http://
#******
0 = ickkw ! 0 no merging, 3 FxFx merging
#******
#
#******
# BW cutoff (M+/-bwcutoff*
#******
15 = bwcutoff
#******
# Cuts on the jets *
# Jet clustering is performed by FastJet.
# When matching to a parton shower, these generation cuts should be *
# considerably softer than the analysis cuts. *
# (more specific cuts can be specified in SubProcesses/
#******
1 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
0.7 = jetradius ! The radius parameter for the jet algorithm
10 = ptj ! Min jet transverse momentum
-1 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
#******
# Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
# (more specific gen cuts can be specified in SubProcesses/
#******
0 = ptl ! Min lepton transverse momentum
-1 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
0 = drll ! Min distance between opposite sign lepton pairs
0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
0 = mll ! Min inv. mass of all opposite sign lepton pairs
30 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
#******
# Photon-isolation cuts, according to hep-ph/9801442 *
# When ptgmin=0, all the other parameters are ignored *
#******
20 = ptgmin ! Min photon transverse momentum
-1 = etagamma ! Max photon abs(pseudo-rap)
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)
#******
# Maximal PDG code for quark to be considered a jet when applying cuts.*
# At least all massless quarks of the model should be included here. *
#******
4 = maxjetflavor
#******
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Robert Cantrill for more information if necessary.