Error when Running madgraph on slurm cluster

Asked by celik on 2020-10-09

I am having an error when running on slurm cluster with job submission. However, it works fine on single machine mode interactively. Error is as the following. Copying also log file below too.

Someone already asked similar question but that did not solve my problem.

Thanks in advance,

"launch" with error:
TypeError : [Fail 5 times]
         cannot concatenate 'str' and 'NoneType' objects
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
////////////////

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.7 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
launch
Traceback (most recent call last):
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/extended_cmd.py", line 1154, in do_import
    self.import_command_file(args[1])
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/extended_cmd.py", line 1660, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/madevent_interface.py", line 2670, in do_launch
    self.do_generate_events(line, *args, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/madevent_interface.py", line 2469, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/common_run_interface.py", line 6961, in new_fct
    original_fct(obj, *args, **opts)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/madevent_interface.py", line 2508, in run_generate_events
    postcmd=False)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/madevent_interface.py", line 3357, in do_survey
    jobs, P_zero_result = ajobcreator.launch()
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/gen_ximprove.py", line 188, in launch
    self.submit_to_cluster(job_list)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/gen_ximprove.py", line 273, in submit_to_cluster
    return self.submit_to_cluster_no_splitting(job_list)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/gen_ximprove.py", line 303, in submit_to_cluster_no_splitting
    cwd=pjoin(self.me_dir,'SubProcesses' , Pdir))
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/madevent_interface.py", line 5469, in launch_job
    required_output=required_output, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/cluster.py", line 207, in cluster_submit
    output_files, required_output, nb_submit)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/cluster.py", line 70, in deco_f_store
    id = f(self, **args)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/cluster.py", line 145, in submit2
    required_output=required_output, nb_submit=nb_submit)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/2d/bin/internal/misc.py", line 424, in deco_f_retry
    raise error.__class__, '[Fail %i times] \n %s ' % (i+1, error)
TypeError: [Fail 5 times]
 cannot concatenate 'str' and 'NoneType' objects
                              Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None
               cluster_size : 100
              cluster_queue : shortq (user set)
                    nb_core : 28 (user set)
               cluster_time : None
                   run_mode : 1 (user set)

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None
      cluster_status_update : (600, 30)
               pythia8_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/pythia8 (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/pythia-pgs (user set)
                    td_path : None (user set)
               delphes_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/Delphes (user set)
                thepeg_path : None (user set)
               cluster_type : slurm (user set)
          madanalysis5_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5 (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/lhapdf6/bin/lhapdf-config (user set)
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : None (user set)
                    timeout : 60
               cpp_compiler : None
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.7 2019-10-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
set default_unset_couplings 99
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
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~
generate p p > t t~
output 2d
## 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 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.000000e+00 # d : 0.0
  2 0.000000e+00 # u : 0.0
  3 0.000000e+00 # s : 0.0
  4 0.000000e+00 # c : 0.0
  11 0.000000e+00 # e- : 0.0
  12 0.000000e+00 # ve : 0.0
  13 0.000000e+00 # mu- : 0.0
  14 0.000000e+00 # vm : 0.0
  16 0.000000e+00 # vt : 0.0
  21 0.000000e+00 # g : 0.0
  22 0.000000e+00 # a : 0.0
  24 8.041900e+01 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))

###################################
## 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.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00 # b : 0.0
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 15 0.000000e+00 # ta- : 0.0
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
#*********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat MadEvent *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# 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 *
#*********************************************************************
#
#*******************
# 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 *
#*********************************************************************
  200 = nevents ! Number of unweighted events requested
  0 = iseed ! rnd seed (0=assigned automatically=default))
#*********************************************************************
# 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
  6500.0 = ebeam1 ! beam 1 total energy in GeV
  6500.0 = ebeam2 ! beam 2 total energy in GeV
# To see polarised beam options: type "update beam_pol"
#*********************************************************************
# 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
# To see heavy ion options: type "update ion_pdf"
#*********************************************************************
# 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_scale_choice ! Choose one of the preselected dynamical choices
  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)
  3.0 = lhe_version ! Change the way clustering information pass to shower.
  True = clusinfo ! include clustering tag in output
  sum = 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
  True = auto_ptj_mjj ! Automatic setting of ptj and mjj if xqcut >0
                                   ! (turn off for VBF and single top processes)
  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.ucl.ac.be/projects/madgraph/wiki/LOEventGenerationBias' *
#*********************************************************************
  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*Gamma) ! Define on/off-shell for "$" and decay
#*********************************************************************
  15.0 = bwcutoff ! (M+/-bwcutoff*Gamma)
#*********************************************************************
# Apply pt/E/eta/dr/mij/kt_durham cuts on decay products or not
# (note that etmiss/ptll/ptheavy/ht/sorted cuts always apply)
#*********************************************************************
  False = cut_decays ! Cut decay products
#*********************************************************************
# Standard Cuts *
#*********************************************************************
# Minimum and maximum pt's (for max, -1 means no cut) *
#*********************************************************************
  20.0 = ptj ! minimum pt for the jets
  0.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)
  -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)
  {} = 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) *
#*********************************************************************
  5.0 = etaj ! max rap for the jets
  -1.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
  {} = 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 *
#*********************************************************************
  0.4 = drjj ! min distance between jets
  0.0 = drbb ! min distance between b's
  0.4 = drll ! min distance between leptons
  0.4 = draa ! min distance between gammas
  0.0 = 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
  {} = mxx_min_pdg ! min invariant mass of a pair of particles X/X~ (e.g. {6:250})
  {'default': False} = mxx_only_part_antipart ! if True the invariant mass is applied only
                       ! to pairs of particle/antiparticle and not to pairs of the same pdg codes.
#*********************************************************************
# 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 = ptheavy ! minimum pt for at least one heavy final state
  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_merging_cut ! PDGs for two cuts above
#*********************************************************************
# 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_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule
# 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_arguments # Choose the argment to pass to the systematics command. like --mur=0.25,1,4. Look at the help of the systematics function for more details.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2020-10-10
Last reply:
2020-10-10

Hi,

The following patch should not fix your issue (which is likely a cluster specific issue) but should give you more usefull information about the cluster issue:

=== modified file 'madgraph/various/cluster.py'
--- madgraph/various/cluster.py 2017-11-17 14:15:01 +0000
+++ madgraph/various/cluster.py 2020-10-09 13:43:49 +0000
@@ -1686,7 +1686,8 @@

         if not id.isdigit():
             raise ClusterManagmentError, 'fail to submit to the cluster: \n%s' \
- % (output[0] + '\n' + output[1])
+ % ('stdout: %s\nstderr %s' %(output[0],output[1]))
+

         self.submitted += 1
         self.submitted_ids.append(id)

Cheers,

Olivier

celik (watzinki) said : #2

Hi Olivier,
Below is the new error message.

[[1;31mError detected in sub-command launch
write debug file /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/run_02_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
ClusterManagmentError : [Fail 5 times]
         fail to submit to the cluster:
        stdout: sbatch: =========================================================
        sbatch: Proje adi vermediniz! pssa3t projesi kullanilacak.
        sbatch: Project name not specified! pssa3t will be used.
        sbatch: =========================================================
        Submitted batch job 387004

         stderr None ^[[0m
INFO:
quit
INFO:
/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin

 the following is the og file's output.
                                                                                                                                1,1 All
#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.7 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
launch
Traceback (most recent call last):
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/extended_cmd.py", line 1154, in do_import
    self.import_command_file(args[1])
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/extended_cmd.py", line 1660, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/madevent_interface.py", line 2670, in do_launch
    self.do_generate_events(line, *args, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/madevent_interface.py", line 2469, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/common_run_interface.py", line 6961, in new_fct
    original_fct(obj, *args, **opts)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/madevent_interface.py", line 2508, in run_generate_events
    postcmd=False)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/madevent_interface.py", line 3357, in do_survey
    jobs, P_zero_result = ajobcreator.launch()
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/gen_ximprove.py", line 188, in launch
    self.submit_to_cluster(job_list)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/gen_ximprove.py", line 273, in submit_to_cluster
    return self.submit_to_cluster_no_splitting(job_list)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/gen_ximprove.py", line 303, in submit_to_cluster_no_splitting
    cwd=pjoin(self.me_dir,'SubProcesses' , Pdir))
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/madevent_interface.py", line 5469, in launch_job
    required_output=required_output, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/cluster.py", line 207, in cluster_submit
    output_files, required_output, nb_submit)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/cluster.py", line 70, in deco_f_store
    id = f(self, **args)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/cluster.py", line 145, in submit2
    required_output=required_output, nb_submit=nb_submit)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/3d/bin/internal/misc.py", line 424, in deco_f_retry
    raise error.__class__, '[Fail %i times] \n %s ' % (i+1, error)
ClusterManagmentError: [Fail 5 times]
 fail to submit to the cluster:
stdout: sbatch: =========================================================
sbatch: Proje adi vermediniz! pssa3t projesi kullanilacak.
sbatch: Project name not specified! pssa3t will be used.
sbatch: =========================================================
Submitted batch job 387004

 stderr None
                              Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None
               cluster_size : 100
              cluster_queue : shortq (user set)
                    nb_core : 28 (user set)
               cluster_time : None
                   run_mode : 1 (user set)

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None
      cluster_status_update : (600, 30)
               pythia8_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/pythia8 (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/pythia-pgs (user set)
                    td_path : None (user set)
               delphes_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/Delphes (user set)
                thepeg_path : None (user set)
               cluster_type : slurm (user set)
          madanalysis5_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5 (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/lhapdf6/bin/lhapdf-config (user set)
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : None (user set)
                    timeout : 60
               cpp_compiler : None
~
~

This is indeed a cluster specific issue.

But the following patch is likely to fix the issue:

=== modified file 'madgraph/various/cluster.py'
--- madgraph/various/cluster.py 2020-10-09 13:45:34 +0000
+++ madgraph/various/cluster.py 2020-10-09 14:36:32 +0000
@@ -1685,8 +1685,12 @@
         id = output_arr[3].rstrip()

         if not id.isdigit():
- raise ClusterManagmentError, 'fail to submit to the cluster: \n%s' \
+ id = re.findall('Submitted batch job ([\d\.]+)', output)
+
+ if not id or len(id)>1:
+ raise ClusterManagmentError, 'fail to submit to the cluster: \n%s' \
                     % ('stdout: %s\nstderr %s' %(output[0],output[1]))
+ id = id[0]

         self.submitted += 1

Cheers,

Olivier

> On 9 Oct 2020, at 16:25, celik <email address hidden> wrote:
>
> stdout: sbatch: =========================================================
> sbatch: Proje adi vermediniz! pssa3t projesi kullanilacak.
> sbatch: Project name not specified! pssa3t will be used.
> sbatch: =========================================================
> Submitted batch job 387004

celik (watzinki) said : #4

Thanks for your prompt replies Olivier!

I got now the following. I am not sure whether I made any mistake in implemeted code's indentation

"launch" with error:
TypeError : [Fail 5 times]
         expected string or buffer
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/run_01_tag_1_debug.log'.
Please attach this file to your report.

log file is:

#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.7 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
launch
Traceback (most recent call last):
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1154, in do_import
    self.import_command_file(args[1])
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1660, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 2670, in do_launch
    self.do_generate_events(line, *args, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 2469, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/common_run_interface.py", line 6961, in new_fct
    original_fct(obj, *args, **opts)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 2508, in run_generate_events
    postcmd=False)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 3357, in do_survey
    jobs, P_zero_result = ajobcreator.launch()
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/gen_ximprove.py", line 188, in launch
    self.submit_to_cluster(job_list)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/gen_ximprove.py", line 273, in submit_to_cluster
    return self.submit_to_cluster_no_splitting(job_list)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/gen_ximprove.py", line 303, in submit_to_cluster_no_splitting
    cwd=pjoin(self.me_dir,'SubProcesses' , Pdir))
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 5469, in launch_job
    required_output=required_output, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/cluster.py", line 207, in cluster_submit
    output_files, required_output, nb_submit)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/cluster.py", line 70, in deco_f_store
    id = f(self, **args)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/cluster.py", line 145, in submit2
    required_output=required_output, nb_submit=nb_submit)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/misc.py", line 424, in deco_f_retry
    raise error.__class__, '[Fail %i times] \n %s ' % (i+1, error)
TypeError: [Fail 5 times]
 expected string or buffer
                              Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None
               cluster_size : 100
              cluster_queue : shortq (user set)
                    nb_core : 28 (user set)
               cluster_time : None
                   run_mode : 1 (user set)

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None
      cluster_status_update : (600, 30)
               pythia8_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/pythia8 (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/pythia-pgs (user set)
                    td_path : None (user set)
               delphes_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/Delphes (user set)
                thepeg_path : None (user set)
               cluster_type : slurm (user set)
          madanalysis5_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5 (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/lhapdf6/bin/lhapdf-config (user set)
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : None (user set)
                    timeout : 60
               cpp_compiler : None
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.7 2019-10-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
set default_unset_couplings 99
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
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~
generate p p > t t~
output 4d
## 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 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.000000e+00 # d : 0.0
  2 0.000000e+00 # u : 0.0
  3 0.000000e+00 # s : 0.0
  4 0.000000e+00 # c : 0.0
  11 0.000000e+00 # e- : 0.0
  12 0.000000e+00 # ve : 0.0
  13 0.000000e+00 # mu- : 0.0
  14 0.000000e+00 # vm : 0.0
  16 0.000000e+00 # vt : 0.0
  21 0.000000e+00 # g : 0.0
  22 0.000000e+00 # a : 0.0
  24 8.041900e+01 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))

###################################
## 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.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00 # b : 0.0
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 15 0.000000e+00 # ta- : 0.0
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
#*********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat MadEvent *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# 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 *
#*********************************************************************
#
#*******************
# 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 *
#*********************************************************************
  200 = nevents ! Number of unweighted events requested
  0 = iseed ! rnd seed (0=assigned automatically=default))
#*********************************************************************
# 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
  6500.0 = ebeam1 ! beam 1 total energy in GeV
  6500.0 = ebeam2 ! beam 2 total energy in GeV
# To see polarised beam options: type "update beam_pol"
#*********************************************************************
# 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
# To see heavy ion options: type "update ion_pdf"
#*********************************************************************
# 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_scale_choice ! Choose one of the preselected dynamical choices
  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)
  3.0 = lhe_version ! Change the way clustering information pass to shower.
  True = clusinfo ! include clustering tag in output
  sum = 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
  True = auto_ptj_mjj ! Automatic setting of ptj and mjj if xqcut >0
                                   ! (turn off for VBF and single top processes)
  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.ucl.ac.be/projects/madgraph/wiki/LOEventGenerationBias' *
#*********************************************************************
  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*Gamma) ! Define on/off-shell for "$" and decay
#*********************************************************************
  15.0 = bwcutoff ! (M+/-bwcutoff*Gamma)
#*********************************************************************
# Apply pt/E/eta/dr/mij/kt_durham cuts on decay products or not
# (note that etmiss/ptll/ptheavy/ht/sorted cuts always apply)
#*********************************************************************
  False = cut_decays ! Cut decay products
#*********************************************************************
# Standard Cuts *
#*********************************************************************
# Minimum and maximum pt's (for max, -1 means no cut) *
#*********************************************************************
  20.0 = ptj ! minimum pt for the jets
  0.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)
  -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)
  {} = 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) *
#*********************************************************************
  5.0 = etaj ! max rap for the jets
  -1.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
  {} = 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 *
#*********************************************************************
  0.4 = drjj ! min distance between jets
  0.0 = drbb ! min distance between b's
  0.4 = drll ! min distance between leptons
  0.4 = draa ! min distance between gammas
  0.0 = 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
  {} = mxx_min_pdg ! min invariant mass of a pair of particles X/X~ (e.g. {6:250})
  {'default': False} = mxx_only_part_antipart ! if True the invariant mass is applied only
                       ! to pairs of particle/antiparticle and not to pairs of the same pdg codes.
#*********************************************************************
# 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 = ptheavy ! minimum pt for at least one heavy final state
  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_merging_cut ! PDGs for two cuts above
#*********************************************************************
# 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_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule
# 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_arguments # Choose the argment to pass to the systematics command. like --mur=0.25,1,4. Look at the help of the systematics function for more details.

Since this is specific to your cluster I can not test.
Can you test this one instead?

=== modified file 'madgraph/various/cluster.py'
--- madgraph/various/cluster.py 2020-10-09 13:45:34 +0000
+++ madgraph/various/cluster.py 2020-10-09 14:36:32 +0000
@@ -1685,8 +1685,12 @@
         id = output_arr[3].rstrip()

         if not id.isdigit():
- raise ClusterManagmentError, 'fail to submit to the cluster: \n%s' \
+ id = re.findall('Submitted batch job ([\d\.]+)', output[0])
+
+ if not id or len(id)>1:
+ raise ClusterManagmentError, 'fail to submit to the cluster: \n%s' \
                     % ('stdout: %s\nstderr %s' %(output[0],output[1]))
+ id = id[0]

         self.submitted += 1

> On 9 Oct 2020, at 17:05, celik <email address hidden> wrote:
>
> Question #693374 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/693374
>
> Status: Answered => Open
>
> celik is still having a problem:
> Thanks for your prompt replies Olivier!
>
> I got now the following. I am not sure whether I made any mistake in
> implemeted code's indentation
>
> "launch" with error:
> TypeError : [Fail 5 times]
> expected string or buffer
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
> More information is found in '/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/run_01_tag_1_debug.log'.
> Please attach this file to your report.
>
>
> log file is:
>
> #* MadGraph5_aMC@NLO/MadEvent *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.7 20xx-xx-xx *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadEvent *
> #* *
> #* run as ./bin/madevent.py filename *
> #* *
> #************************************************************
> launch
> Traceback (most recent call last):
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1514, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
> return func(arg, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1154, in do_import
> self.import_command_file(args[1])
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1660, in import_command_file
> self.exec_cmd(line, precmd=True)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
> return func(arg, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 2670, in do_launch
> self.do_generate_events(line, *args, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 2469, in do_generate_events
> self.run_generate_events(switch_mode, args)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/common_run_interface.py", line 6961, in new_fct
> original_fct(obj, *args, **opts)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 2508, in run_generate_events
> postcmd=False)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
> return func(arg, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 3357, in do_survey
> jobs, P_zero_result = ajobcreator.launch()
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/gen_ximprove.py", line 188, in launch
> self.submit_to_cluster(job_list)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/gen_ximprove.py", line 273, in submit_to_cluster
> return self.submit_to_cluster_no_splitting(job_list)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/gen_ximprove.py", line 303, in submit_to_cluster_no_splitting
> cwd=pjoin(self.me_dir,'SubProcesses' , Pdir))
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/madevent_interface.py", line 5469, in launch_job
> required_output=required_output, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/cluster.py", line 207, in cluster_submit
> output_files, required_output, nb_submit)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/cluster.py", line 70, in deco_f_store
> id = f(self, **args)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/cluster.py", line 145, in submit2
> required_output=required_output, nb_submit=nb_submit)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/4d/bin/internal/misc.py", line 424, in deco_f_retry
> raise error.__class__, '[Fail %i times] \n %s ' % (i+1, error)
> TypeError: [Fail 5 times]
> expected string or buffer
> Run Options
> -----------
> stdout_level : None
>
> MadEvent Options
> ----------------
> automatic_html_opening : False (user set)
> notification_center : True
> cluster_temp_path : None
> cluster_memory : None
> cluster_size : 100
> cluster_queue : shortq (user set)
> nb_core : 28 (user set)
> cluster_time : None
> run_mode : 1 (user set)
>
> Configuration Options
> ---------------------
> text_editor : None
> cluster_local_path : None
> cluster_status_update : (600, 30)
> pythia8_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/pythia8 (user set)
> hwpp_path : None (user set)
> pythia-pgs_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/pythia-pgs (user set)
> td_path : None (user set)
> delphes_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/Delphes (user set)
> thepeg_path : None (user set)
> cluster_type : slurm (user set)
> madanalysis5_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5 (user set)
> cluster_nb_retry : 1
> eps_viewer : None
> web_browser : None
> syscalc_path : None (user set)
> madanalysis_path : None (user set)
> lhapdf : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/lhapdf6/bin/lhapdf-config (user set)
> f2py_compiler : None
> hepmc_path : None (user set)
> cluster_retry_wait : 300
> fortran_compiler : None
> auto_update : 7 (user set)
> exrootanalysis_path : None (user set)
> timeout : 60
> cpp_compiler : None
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.7 2019-10-16 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadGraph5_aMC@NLO *
> #* *
> #* run as ./bin/mg5_aMC filename *
> #* *
> #************************************************************
> set default_unset_couplings 99
> set group_subprocesses Auto
> set ignore_six_quark_processes False
> set loop_optimized_output True
> set loop_color_flows False
> set gauge unitary
> set complex_mass_scheme False
> set max_npoint_for_channel 0
> 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~
> generate p p > t t~
> output 4d
> ## 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 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.000000e+00 # d : 0.0
> 2 0.000000e+00 # u : 0.0
> 3 0.000000e+00 # s : 0.0
> 4 0.000000e+00 # c : 0.0
> 11 0.000000e+00 # e- : 0.0
> 12 0.000000e+00 # ve : 0.0
> 13 0.000000e+00 # mu- : 0.0
> 14 0.000000e+00 # vm : 0.0
> 16 0.000000e+00 # vt : 0.0
> 21 0.000000e+00 # g : 0.0
> 22 0.000000e+00 # a : 0.0
> 24 8.041900e+01 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))
>
> ###################################
> ## 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.000000e+00 # d : 0.0
> DECAY 2 0.000000e+00 # u : 0.0
> DECAY 3 0.000000e+00 # s : 0.0
> DECAY 4 0.000000e+00 # c : 0.0
> DECAY 5 0.000000e+00 # b : 0.0
> DECAY 11 0.000000e+00 # e- : 0.0
> DECAY 12 0.000000e+00 # ve : 0.0
> DECAY 13 0.000000e+00 # mu- : 0.0
> DECAY 14 0.000000e+00 # vm : 0.0
> DECAY 15 0.000000e+00 # ta- : 0.0
> DECAY 16 0.000000e+00 # vt : 0.0
> DECAY 21 0.000000e+00 # g : 0.0
> DECAY 22 0.000000e+00 # a : 0.0
> #*********************************************************************
> # MadGraph5_aMC@NLO *
> # *
> # run_card.dat MadEvent *
> # *
> # This file is used to set the parameters of the run. *
> # *
> # Some notation/conventions: *
> # *
> # 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 *
> #*********************************************************************
> #
> #*******************
> # 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 *
> #*********************************************************************
> 200 = nevents ! Number of unweighted events requested
> 0 = iseed ! rnd seed (0=assigned automatically=default))
> #*********************************************************************
> # 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
> 6500.0 = ebeam1 ! beam 1 total energy in GeV
> 6500.0 = ebeam2 ! beam 2 total energy in GeV
> # To see polarised beam options: type "update beam_pol"
> #*********************************************************************
> # 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
> # To see heavy ion options: type "update ion_pdf"
> #*********************************************************************
> # 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_scale_choice ! Choose one of the preselected dynamical choices
> 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)
> 3.0 = lhe_version ! Change the way clustering information pass to shower.
> True = clusinfo ! include clustering tag in output
> sum = 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
> True = auto_ptj_mjj ! Automatic setting of ptj and mjj if xqcut >0
> ! (turn off for VBF and single top processes)
> 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.ucl.ac.be/projects/madgraph/wiki/LOEventGenerationBias' *
> #*********************************************************************
> 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*Gamma) ! Define on/off-shell for "$" and decay
> #*********************************************************************
> 15.0 = bwcutoff ! (M+/-bwcutoff*Gamma)
> #*********************************************************************
> # Apply pt/E/eta/dr/mij/kt_durham cuts on decay products or not
> # (note that etmiss/ptll/ptheavy/ht/sorted cuts always apply)
> #*********************************************************************
> False = cut_decays ! Cut decay products
> #*********************************************************************
> # Standard Cuts *
> #*********************************************************************
> # Minimum and maximum pt's (for max, -1 means no cut) *
> #*********************************************************************
> 20.0 = ptj ! minimum pt for the jets
> 0.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)
> -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)
> {} = 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) *
> #*********************************************************************
> 5.0 = etaj ! max rap for the jets
> -1.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
> {} = 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 *
> #*********************************************************************
> 0.4 = drjj ! min distance between jets
> 0.0 = drbb ! min distance between b's
> 0.4 = drll ! min distance between leptons
> 0.4 = draa ! min distance between gammas
> 0.0 = 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
> {} = mxx_min_pdg ! min invariant mass of a pair of particles X/X~ (e.g. {6:250})
> {'default': False} = mxx_only_part_antipart ! if True the invariant mass is applied only
> ! to pairs of particle/antiparticle and not to pairs of the same pdg codes.
> #*********************************************************************
> # 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 = ptheavy ! minimum pt for at least one heavy final state
> 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_merging_cut ! PDGs for two cuts above
> #*********************************************************************
> # 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_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule
> # 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_arguments # Choose the argment to pass to the systematics command. like --mur=0.25,1,4. Look at the help of the systematics function for more details.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

celik (watzinki) said : #6

I tried with the last configuration inside the clusteer.py, and got the following [1].
Please ignore this three-line of message[2] at the end of the [1] as it is not the case. I mean the script is fine. here is the script[3]
I also dump log file too [4]

[2]
stdout: sbatch: error: This does not look like a batch script. The first
        sbatch: error: line must start with #! followed by the path to an interpreter.
        sbatch: error: For instance: #!/bin/sh

[1]
Do you want to edit a card (press enter to bypass editing)?
/------------------------------------------------------------\
| ^[[31m1^[[0m. param : ^[[32mparam_card.dat^[[0m |
| ^[[31m2^[[0m. run : ^[[32mrun_card.dat^[[0m |
| ^[[31m3^[[0m. pythia : ^[[32mpythia_card.dat^[[0m |
| ^[[31m4^[[0m. delphes : ^[[32mdelphes_card.dat^[[0m |
\------------------------------------------------------------/
 you can also
   - enter the path to a valid card or banner.
   - use the 'set' command to modify a parameter directly.
     The set option works only for param_card and run_card.
     Type 'help set' for more information on this command.
   - call an external program (ASperGE/MadWidth/...).
     Type 'help' for the list of available command
 [^[[4m0^[[0m, done, 1, param, 2, run, 3, pythia, 4, enter path, ... ]
^[[1mThe answer to the previous question is not set in your input file^[[0m
^[[1mUse 0 value^[[0m
^[[1mINFO: Pythia6 needs a specific normalisation of the events. We will change it accordingly. ^[[0m
^[[1mINFO: modify parameter event_norm of the run_card.dat to sum ^[[0m
INFO: Update the dependent parameter of the param_card.dat
Generating 200 events with run name run_04
survey run_04
INFO: compile directory
^[[1;34mNot able to open file /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/crossx.html since no program configured.Please set one in ./input/mg5_configuration.txt^[[0m
INFO: Using LHAPDF v6.1.6 interface for PDFs
compile Source Directory
Using random number seed offset = 48
INFO: Running Survey
Creating Jobs
Working on SubProcesses
INFO: P1_gg_ttx
INFO: P1_qq_ttx
INFO: Idle: 1, Running: 1, Completed: 0 [ 0.035s ]
INFO: Idle: 1, Running: 1, Completed: 0 [ 0.068s ]
INFO: All jobs finished
INFO: Idle: 0, Running: 0, Completed: 2 [ 30.1s ]
INFO: End survey
refine 200
Creating Jobs
INFO: Refine results to 200
INFO: Generating 200.0 unweigthed events.
INFO: Effective Luminosity 0.518341738389 pb^-1
INFO: need to improve 0 channels
Current estimate of cross-section: 463.015 +- 2.5105095251
    P1_gg_ttx
    P1_qq_ttx
INFO: Idle: 0, Running: 0, Completed: 0 [ 0.032s ]
INFO: All jobs finished
INFO: Combining runs
INFO: finish refine
refine 200
Creating Jobs
INFO: Refine results to 200
INFO: Generating 200.0 unweigthed events.
INFO: Effective Luminosity 0.518341738389 pb^-1
INFO: need to improve 0 channels
Current estimate of cross-section: 463.015 +- 2.5105095251
    P1_gg_ttx
    P1_qq_ttx
INFO: Idle: 0, Running: 0, Completed: 0 [ 0.032s ]
INFO: All jobs finished
INFO: Combining runs
INFO: finish refine
INFO: Combining Events
  === Results Summary for run: run_04 tag: tag_1 ===

     Cross-section : 463 +- 2.511 pb
     Nb of events : 200

store_events
INFO: Storing parton level results
INFO: End Parton
reweight -from_cards
decay_events -from_cards
INFO: Running Pythia
^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
Start waiting for update. (more info in debug mode)
^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
^[[1;31mError detected in sub-command launch
write debug file /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/run_04_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
ClusterManagmentError : [Fail 5 times]
         fail to submit to the cluster:
        stdout: sbatch: error: This does not look like a batch script. The first
        sbatch: error: line must start with #! followed by the path to an interpreter.
        sbatch: error: For instance: #!/bin/sh

        stderr None ^[[0m
INFO: storing files of previous run
INFO: Done
INFO:
quit
INFO:
/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin

[3]

#!/bin/bash
#SBATCH -p shortq
#SBATCH -A pssa3t
#SBATCH -J ttbar-test
#SBATCH -N 1
#SBATCH -n 1
#SBATCH -c 1
#SBATCH --time=1:00:00

module load mpi/openmpi-x86_64

export OMP_NUM_THREADS=1
echo "SLURM_NODELIST $SLURM_NODELIST"
echo "NUMBER OF CORES $SLURM_NTASKS"

echo -n Start Date: >> datework
date >> datework
mpirun madevent calistir

echo -n End Date: >> datework

date >> datework
pwd
exit

[4]

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.7 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
launch
Traceback (most recent call last):
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1154, in do_import
    self.import_command_file(args[1])
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1660, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 2670, in do_launch
    self.do_generate_events(line, *args, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 2469, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/common_run_interface.py", line 6961, in new_fct
    original_fct(obj, *args, **opts)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 2577, in run_generate_events
    self.exec_cmd('shower --no_default', postcmd=False, printcmd=False)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 3852, in do_shower
    postcmd=False, printcmd=False)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 4924, in do_pythia
    cwd=pjoin(self.me_dir,'Events'))
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/cluster.py", line 52, in deco_f_interupt
    return f(self, *args, **opt)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/cluster.py", line 476, in launch_and_wait
    output_files=output_files)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/cluster.py", line 70, in deco_f_store
    id = f(self, **args)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/cluster.py", line 145, in submit2
    required_output=required_output, nb_submit=nb_submit)
  File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/misc.py", line 424, in deco_f_retry
    raise error.__class__, '[Fail %i times] \n %s ' % (i+1, error)
ClusterManagmentError: [Fail 5 times]
 fail to submit to the cluster:
stdout: sbatch: error: This does not look like a batch script. The first
sbatch: error: line must start with #! followed by the path to an interpreter.
sbatch: error: For instance: #!/bin/sh

stderr None
                              Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None
               cluster_size : 100
              cluster_queue : shortq (user set)
                    nb_core : 28 (user set)
               cluster_time : None
                   run_mode : 1 (user set)

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None
      cluster_status_update : (600, 30)
               pythia8_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/pythia8 (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/pythia-pgs (user set)
                    td_path : None (user set)
               delphes_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/Delphes (user set)
                thepeg_path : None (user set)
               cluster_type : slurm (user set)
          madanalysis5_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5 (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/lhapdf6/bin/lhapdf-config (user set)
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : None (user set)
                    timeout : 60
               cpp_compiler : None
~

HI,

Since you have setup madgraph in slurm mode, madgraph submit itself job on the cluster, check when those jobs are finished/...
So in principle you do not need to use your script [3] and this is certainly not the script he is complaining about.

This being said the issue seems related to the running of pythia6 on the cluster.
Pythia6 is actually out of support. So I will only recommend to move to Pythia8.

Cheers,

Olivier

> On 10 Oct 2020, at 13:05, celik <email address hidden> wrote:
>
> Question #693374 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/693374
>
> Status: Answered => Open
>
> celik is still having a problem:
> I tried with the last configuration inside the clusteer.py, and got the following [1].
> Please ignore this three-line of message[2] at the end of the [1] as it is not the case. I mean the script is fine. here is the script[3]
> I also dump log file too [4]
>
> [2]
> stdout: sbatch: error: This does not look like a batch script. The first
> sbatch: error: line must start with #! followed by the path to an interpreter.
> sbatch: error: For instance: #!/bin/sh
>
> [1]
> Do you want to edit a card (press enter to bypass editing)?
> /------------------------------------------------------------\
> | ^[[31m1^[[0m. param : ^[[32mparam_card.dat^[[0m |
> | ^[[31m2^[[0m. run : ^[[32mrun_card.dat^[[0m |
> | ^[[31m3^[[0m. pythia : ^[[32mpythia_card.dat^[[0m |
> | ^[[31m4^[[0m. delphes : ^[[32mdelphes_card.dat^[[0m |
> \------------------------------------------------------------/
> you can also
> - enter the path to a valid card or banner.
> - use the 'set' command to modify a parameter directly.
> The set option works only for param_card and run_card.
> Type 'help set' for more information on this command.
> - call an external program (ASperGE/MadWidth/...).
> Type 'help' for the list of available command
> [^[[4m0^[[0m, done, 1, param, 2, run, 3, pythia, 4, enter path, ... ]
> ^[[1mThe answer to the previous question is not set in your input file^[[0m
> ^[[1mUse 0 value^[[0m
> ^[[1mINFO: Pythia6 needs a specific normalisation of the events. We will change it accordingly. ^[[0m
> ^[[1mINFO: modify parameter event_norm of the run_card.dat to sum ^[[0m
> INFO: Update the dependent parameter of the param_card.dat
> Generating 200 events with run name run_04
> survey run_04
> INFO: compile directory
> ^[[1;34mNot able to open file /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/crossx.html since no program configured.Please set one in ./input/mg5_configuration.txt^[[0m
> INFO: Using LHAPDF v6.1.6 interface for PDFs
> compile Source Directory
> Using random number seed offset = 48
> INFO: Running Survey
> Creating Jobs
> Working on SubProcesses
> INFO: P1_gg_ttx
> INFO: P1_qq_ttx
> INFO: Idle: 1, Running: 1, Completed: 0 [ 0.035s ]
> INFO: Idle: 1, Running: 1, Completed: 0 [ 0.068s ]
> INFO: All jobs finished
> INFO: Idle: 0, Running: 0, Completed: 2 [ 30.1s ]
> INFO: End survey
> refine 200
> Creating Jobs
> INFO: Refine results to 200
> INFO: Generating 200.0 unweigthed events.
> INFO: Effective Luminosity 0.518341738389 pb^-1
> INFO: need to improve 0 channels
> Current estimate of cross-section: 463.015 +- 2.5105095251
> P1_gg_ttx
> P1_qq_ttx
> INFO: Idle: 0, Running: 0, Completed: 0 [ 0.032s ]
> INFO: All jobs finished
> INFO: Combining runs
> INFO: finish refine
> refine 200
> Creating Jobs
> INFO: Refine results to 200
> INFO: Generating 200.0 unweigthed events.
> INFO: Effective Luminosity 0.518341738389 pb^-1
> INFO: need to improve 0 channels
> Current estimate of cross-section: 463.015 +- 2.5105095251
> P1_gg_ttx
> P1_qq_ttx
> INFO: Idle: 0, Running: 0, Completed: 0 [ 0.032s ]
> INFO: All jobs finished
> INFO: Combining runs
> INFO: finish refine
> INFO: Combining Events
> === Results Summary for run: run_04 tag: tag_1 ===
>
> Cross-section : 463 +- 2.511 pb
> Nb of events : 200
>
> store_events
> INFO: Storing parton level results
> INFO: End Parton
> reweight -from_cards
> decay_events -from_cards
> INFO: Running Pythia
> ^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
> Start waiting for update. (more info in debug mode)
> ^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
> ^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
> ^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
> ^[[1;34mWARNING: cluster.get_job_identifier runs unexpectedly. This should be fine but report this message if you have problem. ^[[0m
> ^[[1;31mError detected in sub-command launch
> write debug file /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/run_04_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> ClusterManagmentError : [Fail 5 times]
> fail to submit to the cluster:
> stdout: sbatch: error: This does not look like a batch script. The first
> sbatch: error: line must start with #! followed by the path to an interpreter.
> sbatch: error: For instance: #!/bin/sh
>
> stderr None ^[[0m
> INFO: storing files of previous run
> INFO: Done
> INFO:
> quit
> INFO:
> /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin
>
>
>
> [3]
>
> #!/bin/bash
> #SBATCH -p shortq
> #SBATCH -A pssa3t
> #SBATCH -J ttbar-test
> #SBATCH -N 1
> #SBATCH -n 1
> #SBATCH -c 1
> #SBATCH --time=1:00:00
>
> module load mpi/openmpi-x86_64
>
> export OMP_NUM_THREADS=1
> echo "SLURM_NODELIST $SLURM_NODELIST"
> echo "NUMBER OF CORES $SLURM_NTASKS"
>
> echo -n Start Date: >> datework
> date >> datework
> mpirun madevent calistir
>
> echo -n End Date: >> datework
>
> date >> datework
> pwd
> exit
>
>
>
> [4]
>
> #************************************************************
> #* MadGraph5_aMC@NLO/MadEvent *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.7 20xx-xx-xx *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadEvent *
> #* *
> #* run as ./bin/madevent.py filename *
> #* *
> #************************************************************
> launch
> Traceback (most recent call last):
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1514, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
> return func(arg, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1154, in do_import
> self.import_command_file(args[1])
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1660, in import_command_file
> self.exec_cmd(line, precmd=True)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
> return func(arg, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 2670, in do_launch
> self.do_generate_events(line, *args, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 2469, in do_generate_events
> self.run_generate_events(switch_mode, args)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/common_run_interface.py", line 6961, in new_fct
> original_fct(obj, *args, **opts)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 2577, in run_generate_events
> self.exec_cmd('shower --no_default', postcmd=False, printcmd=False)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
> return func(arg, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 3852, in do_shower
> postcmd=False, printcmd=False)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1543, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
> return func(arg, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/madevent_interface.py", line 4924, in do_pythia
> cwd=pjoin(self.me_dir,'Events'))
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/cluster.py", line 52, in deco_f_interupt
> return f(self, *args, **opt)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/cluster.py", line 476, in launch_and_wait
> output_files=output_files)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/cluster.py", line 70, in deco_f_store
> id = f(self, **args)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/cluster.py", line 145, in submit2
> required_output=required_output, nb_submit=nb_submit)
> File "/okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/bin/6d/bin/internal/misc.py", line 424, in deco_f_retry
> raise error.__class__, '[Fail %i times] \n %s ' % (i+1, error)
> ClusterManagmentError: [Fail 5 times]
> fail to submit to the cluster:
> stdout: sbatch: error: This does not look like a batch script. The first
> sbatch: error: line must start with #! followed by the path to an interpreter.
> sbatch: error: For instance: #!/bin/sh
>
> stderr None
> Run Options
> -----------
> stdout_level : None
>
> MadEvent Options
> ----------------
> automatic_html_opening : False (user set)
> notification_center : True
> cluster_temp_path : None
> cluster_memory : None
> cluster_size : 100
> cluster_queue : shortq (user set)
> nb_core : 28 (user set)
> cluster_time : None
> run_mode : 1 (user set)
>
> Configuration Options
> ---------------------
> text_editor : None
> cluster_local_path : None
> cluster_status_update : (600, 30)
> pythia8_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/pythia8 (user set)
> hwpp_path : None (user set)
> pythia-pgs_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/pythia-pgs (user set)
> td_path : None (user set)
> delphes_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/Delphes (user set)
> thepeg_path : None (user set)
> cluster_type : slurm (user set)
> madanalysis5_path : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5 (user set)
> cluster_nb_retry : 1
> eps_viewer : None
> web_browser : None
> syscalc_path : None (user set)
> madanalysis_path : None (user set)
> lhapdf : /okyanus/users/acelik/isr_jet/MG5_aMC_v2_6_7/HEPTools/lhapdf6/bin/lhapdf-config (user set)
> f2py_compiler : None
> hepmc_path : None (user set)
> cluster_retry_wait : 300
> fortran_compiler : None
> auto_update : 7 (user set)
> exrootanalysis_path : None (user set)
> timeout : 60
> cpp_compiler : None
> ~
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

celik (watzinki) said : #8

I really appreciate your answers, thank you Olivier!

One more question. As I used pythia6 with previously generated samples, I wanted to stick to pythia6 rather than 8. Wondering if there would be any significant inconsistency between samples in case switched to pythia8?

I will also try with pythia 8 on cluster mode. Hope it will work w/o any further issue.

Can you help with this problem?

Provide an answer of your own, or ask celik for more information if necessary.

To post a message you must log in.