KeyError: 'slha' when running Pythia8

Asked by Diana Krupova

Hi,
I generated 10M events using multi_run in madevent with Pythia8, but it didn't produce Pythia outcome. Now I'm trying to run Pythia8 in madevent on this run but in run_07_tag_1_debug.log I'm getting:
  File "/bin/internal/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/bin/ttSM/bin/internal/madevent_interface.py", line 4154, in do_pythia8
    self.ask_pythia_run_configuration(args[-1], pythia_version=8, banner=self.banner)
  File "/bin/internal/madevent_interfac
e.py", line 6203, in ask_pythia_run_configuration
    plot=(pythia_version==6), banner=banner)
  File "/bin/internal/common_run_interface.py", line 966, in ask_edit_cards
    banner=banner)
  File "/bin/internal/common_run_interface.py", line 1038, in ask_edit_card_static
    cards=cards, mode=mode, **opt)
  File "/bin/ttSM/bin/internal/extended_cmd.py", line 1091, in ask
    mother_interface=self, **opt)
  File "/bin/ttSM/bin/internal/common_run_interface.py", line 4459, in __init__
    self.init_from_banner(from_banner, banner)
  File "/bin/ttSM/bin/internal/common_run_interface.py", line 4487, in init_from_banner
    self.from_banner[card] = banner.charge_card(card)
  File "/bin/ttSM/bin/internal/banner.py", line 500, in charge_card
    param_card = self[tag].split('\n')
KeyError: 'slha'

Can you help me?
Thanks, Diana

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

Which version of MG5aMC are you using?
Can you describe which command you ran for the events generation and the one leading to such crash?
Can you copy/paste the banner of the file that you want to run parton shower on?

Note that since you open a question and not a bug report, you are not allowed to attach file to this question (neither to send them by email this will not work). So you can either put them somewhere online and put a link here or create a proper bug report.

Revision history for this message
Diana Krupova (krupodia) said :
#2

Hi,
 I'm using MG5 v2.6.4.
I already produced p p > t t~ events and now I just need to run pythia, so the command I entered was: pythia8 run_03 --cluster.

Here's the banner: https://pastebin.com/f0Jg4Fme

Any help would be appreciated.
Thanks,
Diana

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Hi,

You will find a patch here:
https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.6/revision/300

Cheers and thanks for the report,

Olivier

On 31 Mar 2019, at 22:08, Diana Krupova <<email address hidden><mailto:<email address hidden>>> wrote:

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

   Status: Answered => Open

Diana Krupova is still having a problem:
Hi,
I'm using MG5 v2.6.4.
I already produced p p > t t~ events and now I just need to run pythia, so the command I entered was: pythia8 run_03 --cluster.

Here's the banner: https://pastebin.com/f0Jg4Fme

Any help would be appreciated.
Thanks,
Diana

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

Revision history for this message
Diana Krupova (krupodia) said :
#4

Hi,
I changed these files but I'm still getting the same error.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

Which executables did you use?
if you use ./bin/madevent,
then you need to change the same file present in ./bin/internal
if you use ./bin/mg5_aMC (not in the same directorty) then the file that you have modified should be enough.

Cheers,

Olivier

> On 1 Apr 2019, at 10:38, Diana Krupova <email address hidden> wrote:
>
> Question #679426 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/679426
>
> Status: Answered => Open
>
> Diana Krupova is still having a problem:
> Hi,
> I changed these files but I'm still getting the same error.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Diana Krupova (krupodia) said :
#6

I changed both, also the ones in ./bin/internal, and ran ./bin/madevent.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#7

and it does not work?

in that case, can you give me a ls of the Events directory and of all the sub-directories?

Cheers,

Olivier

> On 1 Apr 2019, at 10:52, Diana Krupova <email address hidden> wrote:
>
> Question #679426 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/679426
>
> Status: Answered => Open
>
> Diana Krupova is still having a problem:
> I changed both, also the ones in ./bin/internal, and ran ./bin/madevent.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

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

To post a message you must log in.