key error cteq5l1 while producing events in ggf process

Asked by S Nandan on 2019-09-08

Hi

 I am trying to produce some events in gluon gluon fusion process by changing the PDF to cteq5l1.
I could produce the events in vector boson fusion process using cteq5l1 but in ggf, I am getting some key error. I ran the following commands

generate g g > h h [QCD]
output test
launch -m
set pdlabel cteq5l1

& I got the following error
INFO: Combining Events
Command "generate_events run_01 --nb_core=2" interrupted with error:
KeyError : 'cteq5l1'
Please report this bug on https://bugs.launchpad.net/madgraph5

Please help me to solve this problem.

Thanks and Regards,
Saswati

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2019-09-08
Last reply:
2019-09-10
S Nandan (saswati-nandan) said : #1

Hi,

 Sorry I didn't get any reply regarding my problem, do I need to provide more information? Please let me know.

Thanks,
Saswati

It is busy time for the moment but yes if you provide the debug file this will help a lot.

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: <email address hidden> <email address hidden> on behalf of S Nandan <email address hidden>
Sent: Tuesday, September 10, 2019 6:22:51 AM
To: Olivier Mattelaer <email address hidden>
Subject: Re: [Question #683743]: key error cteq5l1 while producing events in ggf process

Question #683743 on MadGraph5_aMC@NLO changed:
https://answers.launchpad.net/mg5amcnlo/+question/683743

S Nandan posted a new comment:
Hi,

 Sorry I didn't get any reply regarding my problem, do I need to provide
more information? Please let me know.

Thanks,
Saswati

--
You received this question notification because you are an answer
contact for MadGraph5_aMC@NLO.

S Nandan (saswati-nandan) said : #3

Hi,

 I didn't find out any option to attach a file, so I have copied a portion of the debug log file below:

launch -m
Traceback (most recent call last):
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 908, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 897, in onecmd_orig
    return func(arg, **opt)
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/interface/madevent_interface.py", line 2093, in do_launch
    self.do_generate_events(line, *args, **opt)
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/interface/madevent_interface.py", line 2015, in do_generate_events
    self.exec_cmd('combine_events', postcmd=False)
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 958, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 897, in onecmd_orig
    return func(arg, **opt)
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/interface/madevent_interface.py", line 2995, in do_combine_events
    log_level=logging.DEBUG)
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/various/lhe_parser.py", line 796, in unweight
    self.define_init_banner(new_wgt)
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/various/lhe_parser.py", line 666, in define_init_banner
    init_information = run_card.get_banner_init_information()
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/various/banner.py", line 1469, in get_banner_init_information
    output["pdfsup1"] = get_pdf_id(self["pdlabel"])
  File "/home/saswati/Downloads/MG5_aMC_v2_3_3/madgraph/various/banner.py", line 1461, in get_pdf_id
    }[pdf]
KeyError: 'cteq5l1'
                              Run Options
                              -----------
               stdout_level : 20 (user set)

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

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /home/saswati/Downloads/MG5_aMC_v2_3_3/pythia-pgs (user set)
                 td_path : /home/saswati/Downloads/MG5_aMC_v2_3_3/td (user set)
               delphes_path : None (user set)
                thepeg_path : None (user set)
               cluster_type : condor
        exrootanalysis_path : /home/saswati/Downloads/MG5_aMC_v2_3_3/ExRootAnalysis (user set)
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : /home/saswati/Downloads/MG5_aMC_v2_3_3/MadAnalysis (user set)
                     lhapdf : lhapdf-config
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
           cluster_nb_retry : 1
                    timeout : 60
               cpp_compiler : None
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~
import model loop_sm
generate g g > h h [QCD]
output test1

Are you running 2.3.3?
If yes my only advise would be to update your code. I'm not able to provide patch (or any support) on such outdated version of the code.

Cheers,

Olivier

On 10 Sep 2019, at 13:53, S Nandan <<email address hidden><mailto:<email address hidden>>> wrote:

v2_3_3

Can you help with this problem?

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

To post a message you must log in.