Error during the tutorial

Asked by Michele Tarquini

Hy everyone,
I am trying to complete the tutorial.
When I type the command:

>launch MY_FIRST_MG5_RUN

I get the following error message:

Command "launch MY_FIRST_MG5_RUN" interrupted with error:
FileNotFoundError : [Errno 2] No such file or directory: '/opt/homebrew/MY_FIRST_MG5_RUN/Events'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

Before that, I ran the command:

>generate p p > t t~

and

>output MY_FIRST_MG5_RUN

with the following output

INFO: initialize a new directory: MY_FIRST_MG5_RUN
INFO: remove old information in MY_FIRST_MG5_RUN
INFO: Organizing processes into subprocess groups
INFO: Generating Helas calls for process: g g > t t~ WEIGHTED<=2 @1
INFO: Processing color information for process: g g > t t~ @1
INFO: Generating Helas calls for process: u u~ > t t~ WEIGHTED<=2 @1
INFO: Processing color information for process: u u~ > t t~ @1
INFO: Combined process c c~ > t t~ WEIGHTED<=2 @1 with process u u~ > t t~ WEIGHTED<=2 @1
INFO: Combined process d d~ > t t~ WEIGHTED<=2 @1 with process u u~ > t t~ WEIGHTED<=2 @1
INFO: Combined process s s~ > t t~ WEIGHTED<=2 @1 with process u u~ > t t~ WEIGHTED<=2 @1
INFO: Creating files in directory P1_gg_ttx
INFO: Some T-channel width have been set to zero [new since 2.8.0]
 if you want to keep this width please set "zerowidth_tchannel" to False
INFO: Generating Feynman diagrams for Process: g g > t t~ WEIGHTED<=2 @1
INFO: Finding symmetric diagrams for subprocess group gg_ttx
INFO: Creating files in directory P1_qq_ttx
INFO: Generating Feynman diagrams for Process: u u~ > t t~ WEIGHTED<=2 @1
INFO: Finding symmetric diagrams for subprocess group qq_ttx
Generated helas calls for 2 subprocesses (4 diagrams) in 0.004 s
Wrote files for 16 helas calls in 0.041 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates 2 routines in 0.209 s
save configuration file to /opt/homebrew/MY_FIRST_MG5_RUN/Cards/me5_configuration.txt
INFO: Use Fortran compiler gfortran
INFO: Use c++ compiler clang
INFO: Generate jpeg diagrams
INFO: Generate web pages
tar: Events: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
Output to directory /opt/homebrew/MY_FIRST_MG5_RUN done.
Type "launch" to generate events from this process, or see
/opt/homebrew/MY_FIRST_MG5_RUN/README
Run "open index.html" to see more information about this process.

Does anyone know the solution to this problem?

Thank you :)

Question information

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

Hi,

I would not advise creating code within /opt/homebrew
I would advise to change the working directory from which you run the mg5_aMC executable or that you specify full path for that command.

But except if you have /opt on its own partition this should not be your problem.
What is the content of /opt/homebrew/MY_FIRST_MG5_RUN
and in particular do you have an Events directory?

Cheers,

Olivier

Revision history for this message
Michele Tarquini (mtarquin) said (last edit ):
#2

Hi,
thank you for the quick answer and the advice.

The content of MY_FIRST_MG5_RUN is the following:

Cards README.systematics bin
HTML Source index.html
MGMEVersion.txt SubProcesses lib
README TemplateVersion.txt madevent.tar.gz

The Events directory is not there..

Revision history for this message
Michele Tarquini (mtarquin) said :
#3

.

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

Do you have the directory
 Template/LO/Events/
in your installation of MG5aMC?
if not please re-install MG5aMC

Cheers,

Olivier

Revision history for this message
Michele Tarquini (mtarquin) said :
#5

Thank you, I did not have that directory.

I re-installed it and now it works.

Thank you :)

Revision history for this message
Michele Tarquini (mtarquin) said :
#6

Thanks Olivier Mattelaer, that solved my question.