Error upon launching the output

Asked by Ajdin Palavric

Greetings!

I installed MadGraph for the first time today, as I intend to use it to compute some calculations for my Bachelor's thesis. First of all, I wanted to follow the tutorial and generate the process p p > t t~. Everything went fine and I managed to create the output directory, but when I try to lunch it, this is what I get:

Error detected in "generate_events run_01"
write debug file /home/ajdin/Dokumenta/Madgraph/qed1/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : Impossible to compile /home/ajdin/Dokumenta/Madgraph/qed1/Source directory
 Trying to launch make command returns:
     [Errno 2] No such file or directory
 In general this means that your computer is not able to compile.

I am using Ubuntu 18.04 and I have gcc, g++ and gfortran installed. Do you know what could possibly be the problem? I am aware that I am missing a lot since this is my first time running the program and trying to generate the events. I would really appreciate your hints and help! Thanks in advance!

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
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

Looks like you are missing gmake package (i thought it was by default on all unix distribution but looks like not in your case)

Cheers,

Olivier

> On 2 Feb 2019, at 03:08, Ajdin Palavric <email address hidden> wrote:
>
> New question #678283 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/678283
>
> Greetings!
>
> I installed MadGraph for the first time today, as I intend to use it to compute some calculations for my Bachelor's thesis. First of all, I wanted to follow the tutorial and generate the process p p > t t~. Everything went fine and I managed to create the output directory, but when I try to lunch it, this is what I get:
>
> Error detected in "generate_events run_01"
> write debug file /home/ajdin/Dokumenta/Madgraph/qed1/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> MadGraph5Error : Impossible to compile /home/ajdin/Dokumenta/Madgraph/qed1/Source directory
> Trying to launch make command returns:
> [Errno 2] No such file or directory
> In general this means that your computer is not able to compile.
>
> I am using Ubuntu 18.04 and I have gcc, g++ and gfortran installed. Do you know what could possibly be the problem? I am aware that I am missing a lot since this is my first time running the program and trying to generate the events. I would really appreciate your hints and help! Thanks in advance!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Ajdin Palavric (ajdin.p) said :
#2

Thank you so much for your reply!

Now I managed to launch the generated output without the error mentioned previously. What I now get after launching the output file is the following:

INFO: Update the dependent parameter of the param_card.dat
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
compile Source Directory

(firefox:5676): Gtk-WARNING **: 16:01:21.422: Theme parsing error: <data>:1:34: Expected ')' in color definition

(firefox:5676): Gtk-WARNING **: 16:01:21.423: Theme parsing error: <data>:1:77: Expected ')' in color definition
Using random number seed offset = 21
INFO: Running Survey
Creating Jobs
Working on SubProcesses
INFO: P1_gg_ttx
INFO: P1_qq_ttx
INFO: Idle: 1, Running: 0, Completed: 1 [ current time: 16h01 ]
INFO: Idle: 0, Running: 1, Completed: 1 [ current time: 16h01 ]
INFO: Idle: 0, Running: 0, Completed: 2 [ 1.3s ]
INFO: End survey
refine 10000
Creating Jobs
INFO: Refine results to 10000
INFO: Generating 10000.0 unweigthed events.
INFO: Effective Luminosity 23.8408385618 pb^-1
INFO: need to improve 3 channels
Current estimate of cross-section: 503.338 +- 4.22480848987
    P1_gg_ttx
    P1_qq_ttx
INFO: Idle: 10, Running: 4, Completed: 0 [ current time: 16h01 ]
INFO: Idle: 9, Running: 4, Completed: 1 [ 1.8s ]
INFO: Idle: 5, Running: 4, Completed: 5 [ 5.2s ]
INFO: Idle: 1, Running: 4, Completed: 9 [ 9s ]
INFO: Idle: 0, Running: 0, Completed: 14 [ 12.3s ]
INFO: Idle: 0, Running: 0, Completed: 14 [ 12.3s ]
INFO: Combining runs
INFO: finish refine
refine 10000
Creating Jobs
INFO: Refine results to 10000
INFO: Generating 10000.0 unweigthed events.
INFO: Effective Luminosity 23.7273255745 pb^-1
INFO: need to improve 0 channels
Current estimate of cross-section: 505.746 +- 0.790505891186
    P1_gg_ttx
    P1_qq_ttx
INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 16h02 ]
INFO: Combining runs
INFO: finish refine
INFO: Combining Events
  === Results Summary for run: run_01 tag: tag_1 ===

     Cross-section : 505.7 +- 0.7905 pb
     Nb of events : 10000

INFO: No version of lhapdf. Can not run systematics computation
store_events
INFO: Storing parton level results
INFO: End Parton
reweight -from_cards
decay_events -from_cards
INFO: storing files of previous run
INFO: Done
quit
INFO:
more information in /home/ajdin/Dokumenta/MadGraph/test3/index.html

This newly created .html page shows the cross section, errors, number of events and luminosity.

I would just like to ask does this mean that the process was executed successfully and do I have to install some other additional packages in order to run the process properly?

Thank you very much for your reply!

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

The warning/error that you see are related to firefox opening.
This is completly irrelevant for the physics.
If you change the configuration option (input/mg5_configuration.txt)
and set automatic_html_opening on False, you will not see those warnings anymore.

Congrats for your first run with MG5aMC^^

Olivier

> On 2 Feb 2019, at 16:17, Ajdin Palavric <email address hidden> wrote:
>
> Question #678283 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/678283
>
> Ajdin Palavric posted a new comment:
> Thank you so much for your reply!
>
> Now I managed to launch the generated output without the error mentioned
> previously. What I now get after launching the output file is the
> following:
>
> INFO: Update the dependent parameter of the param_card.dat
> Generating 10000 events with run name run_01
> survey run_01
> INFO: compile directory
> compile Source Directory
>
> (firefox:5676): Gtk-WARNING **: 16:01:21.422: Theme parsing error:
> <data>:1:34: Expected ')' in color definition
>
> (firefox:5676): Gtk-WARNING **: 16:01:21.423: Theme parsing error: <data>:1:77: Expected ')' in color definition
> Using random number seed offset = 21
> INFO: Running Survey
> Creating Jobs
> Working on SubProcesses
> INFO: P1_gg_ttx
> INFO: P1_qq_ttx
> INFO: Idle: 1, Running: 0, Completed: 1 [ current time: 16h01 ]
> INFO: Idle: 0, Running: 1, Completed: 1 [ current time: 16h01 ]
> INFO: Idle: 0, Running: 0, Completed: 2 [ 1.3s ]
> INFO: End survey
> refine 10000
> Creating Jobs
> INFO: Refine results to 10000
> INFO: Generating 10000.0 unweigthed events.
> INFO: Effective Luminosity 23.8408385618 pb^-1
> INFO: need to improve 3 channels
> Current estimate of cross-section: 503.338 +- 4.22480848987
> P1_gg_ttx
> P1_qq_ttx
> INFO: Idle: 10, Running: 4, Completed: 0 [ current time: 16h01 ]
> INFO: Idle: 9, Running: 4, Completed: 1 [ 1.8s ]
> INFO: Idle: 5, Running: 4, Completed: 5 [ 5.2s ]
> INFO: Idle: 1, Running: 4, Completed: 9 [ 9s ]
> INFO: Idle: 0, Running: 0, Completed: 14 [ 12.3s ]
> INFO: Idle: 0, Running: 0, Completed: 14 [ 12.3s ]
> INFO: Combining runs
> INFO: finish refine
> refine 10000
> Creating Jobs
> INFO: Refine results to 10000
> INFO: Generating 10000.0 unweigthed events.
> INFO: Effective Luminosity 23.7273255745 pb^-1
> INFO: need to improve 0 channels
> Current estimate of cross-section: 505.746 +- 0.790505891186
> P1_gg_ttx
> P1_qq_ttx
> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 16h02 ]
> INFO: Combining runs
> INFO: finish refine
> INFO: Combining Events
> === Results Summary for run: run_01 tag: tag_1 ===
>
> Cross-section : 505.7 +- 0.7905 pb
> Nb of events : 10000
>
> INFO: No version of lhapdf. Can not run systematics computation
> store_events
> INFO: Storing parton level results
> INFO: End Parton
> reweight -from_cards
> decay_events -from_cards
> INFO: storing files of previous run
> INFO: Done
> quit
> INFO:
> more information in /home/ajdin/Dokumenta/MadGraph/test3/index.html
>
> This newly created .html page shows the cross section, errors, number of
> events and luminosity.
>
> I would just like to ask does this mean that the process was executed
> successfully and do I have to install some other additional packages in
> order to run the process properly?
>
> Thank you very much for your reply!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Ajdin Palavric (ajdin.p) said :
#4

Thanks Olivier Mattelaer, that solved my question.

Revision history for this message
Ajdin Palavric (ajdin.p) said :
#5

Thank you very much once again for your fast reply! Everything is working great now! It is really a fantastic experience to run this amazing program for the first time successfully! It is definitely something special!

Thank you very much and many, many greetings from Bosnia and Herzegovina!