could not start madgraph5 for the first time.

Asked by akash

$ ./mg5_aMC
Traceback (most recent call last):
  File "./mg5_aMC", line 120, in <module>
    import madgraph.interface.master_interface as interface
  File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/interface/master_interface.py", line 43, in <module>
    import madgraph.interface.madgraph_interface as MGcmd
  File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/interface/madgraph_interface.py", line 81, in <module>
    import madgraph.loop.loop_exporters as loop_exporters
  File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/loop_exporters.py", line 200, in <module>
    export_v4.ProcessExporterFortranSA):
  File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/loop_exporters.py", line 212, in LoopProcessExporterFortranSA
    print_frame=True, side_margin = 7, up_margin = 1)
  File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/MadLoopBannerStyles.py", line 252, in get_MadLoop_Banner
    version = "v%(version)s (%(date)s)"%misc.get_pkg_info()
KeyError: 'version'

This is what I receive for after following the first step.

$ tutorial
tutorial: command not found

later I can't run tutorial command.

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,

Looks like Madgraph fails to read the file
/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/VERSION

Can you check if this file exists? if not then please reinstall the code.
If it is can you check the content of that file?

a normal file should be of the type:

version = 2.4.0.beta
date = 2016-04-06

Cheers,

Olivier

> On May 15, 2016, at 11:52, akash <email address hidden> wrote:
>
> New question #293733 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/293733
>
> $ ./mg5_aMC
> Traceback (most recent call last):
> File "./mg5_aMC", line 120, in <module>
> import madgraph.interface.master_interface as interface
> File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/interface/master_interface.py", line 43, in <module>
> import madgraph.interface.madgraph_interface as MGcmd
> File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/interface/madgraph_interface.py", line 81, in <module>
> import madgraph.loop.loop_exporters as loop_exporters
> File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/loop_exporters.py", line 200, in <module>
> export_v4.ProcessExporterFortranSA):
> File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/loop_exporters.py", line 212, in LoopProcessExporterFortranSA
> print_frame=True, side_margin = 7, up_margin = 1)
> File "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/MadLoopBannerStyles.py", line 252, in get_MadLoop_Banner
> version = "v%(version)s (%(date)s)"%misc.get_pkg_info()
> KeyError: 'version'
>
>
>
>
> This is what I receive for after following the first step.
>
> $ tutorial
> tutorial: command not found
>
> later I can't run tutorial command.
>
>
>
>
>
>
>
>
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
akash (akash4362) said :
#2

Hi there,

Mine says version=2.3.3
I'm a absolute beginner so I have a little request.
If someone is installing MadGraph from scratch can you record the screen
and send it to me.
It will be of much help if this is possible.
Thank you.

Best wishes,
Akash

On Sun, May 15, 2016 at 4:37 PM, Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #293733 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/293733
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi,
>
> Looks like Madgraph fails to read the file
> /home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/VERSION
>
> Can you check if this file exists? if not then please reinstall the code.
> If it is can you check the content of that file?
>
> a normal file should be of the type:
>
> version = 2.4.0.beta
> date = 2016-04-06
>
>
> Cheers,
>
> Olivier
>
>
> > On May 15, 2016, at 11:52, akash <email address hidden>
> wrote:
> >
> > New question #293733 on MadGraph5_aMC@NLO:
> > https://answers.launchpad.net/mg5amcnlo/+question/293733
> >
> > $ ./mg5_aMC
> > Traceback (most recent call last):
> > File "./mg5_aMC", line 120, in <module>
> > import madgraph.interface.master_interface as interface
> > File
> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/interface/master_interface.py",
> line 43, in <module>
> > import madgraph.interface.madgraph_interface as MGcmd
> > File
> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/interface/madgraph_interface.py",
> line 81, in <module>
> > import madgraph.loop.loop_exporters as loop_exporters
> > File
> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/loop_exporters.py",
> line 200, in <module>
> > export_v4.ProcessExporterFortranSA):
> > File
> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/loop_exporters.py",
> line 212, in LoopProcessExporterFortranSA
> > print_frame=True, side_margin = 7, up_margin = 1)
> > File
> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/MadLoopBannerStyles.py",
> line 252, in get_MadLoop_Banner
> > version = "v%(version)s (%(date)s)"%misc.get_pkg_info()
> > KeyError: 'version'
> >
> >
> >
> >
> > This is what I receive for after following the first step.
> >
> > $ tutorial
> > tutorial: command not found
> >
> > later I can't run tutorial command.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > You received this question notification because you are an answer
> > contact for MadGraph5_aMC@NLO.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/mg5amcnlo/+question/293733/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/mg5amcnlo/+question/293733
>
> You received this question notification because you asked the question.
>

Revision history for this message
akash (akash4362) said :
#3

I have downloaded the latest version and followed the actual process.
Now it works fine.
Thank you.

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

Hi,

You only have that line?

You should have two.

Cheers

Olivier
> On May 15, 2016, at 15:26, akash <email address hidden> wrote:
>
> Question #293733 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/293733
>
> Status: Answered => Open
>
> akash is still having a problem:
> Hi there,
>
> Mine says version=2.3.3
> I'm a absolute beginner so I have a little request.
> If someone is installing MadGraph from scratch can you record the screen
> and send it to me.
> It will be of much help if this is possible.
> Thank you.
>
> Best wishes,
> Akash
>
> On Sun, May 15, 2016 at 4:37 PM, Olivier Mattelaer <
> <email address hidden>> wrote:
>
>> Your question #293733 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/293733
>>
>> Status: Open => Answered
>>
>> Olivier Mattelaer proposed the following answer:
>> Hi,
>>
>> Looks like Madgraph fails to read the file
>> /home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/VERSION
>>
>> Can you check if this file exists? if not then please reinstall the code.
>> If it is can you check the content of that file?
>>
>> a normal file should be of the type:
>>
>> version = 2.4.0.beta
>> date = 2016-04-06
>>
>>
>> Cheers,
>>
>> Olivier
>>
>>
>>> On May 15, 2016, at 11:52, akash <email address hidden>
>> wrote:
>>>
>>> New question #293733 on MadGraph5_aMC@NLO:
>>> https://answers.launchpad.net/mg5amcnlo/+question/293733
>>>
>>> $ ./mg5_aMC
>>> Traceback (most recent call last):
>>> File "./mg5_aMC", line 120, in <module>
>>> import madgraph.interface.master_interface as interface
>>> File
>> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/interface/master_interface.py",
>> line 43, in <module>
>>> import madgraph.interface.madgraph_interface as MGcmd
>>> File
>> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/interface/madgraph_interface.py",
>> line 81, in <module>
>>> import madgraph.loop.loop_exporters as loop_exporters
>>> File
>> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/loop_exporters.py",
>> line 200, in <module>
>>> export_v4.ProcessExporterFortranSA):
>>> File
>> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/loop_exporters.py",
>> line 212, in LoopProcessExporterFortranSA
>>> print_frame=True, side_margin = 7, up_margin = 1)
>>> File
>> "/home/akash/Downloads/Python-2.7.9/MG5_aMC_v2_3_3/madgraph/loop/MadLoopBannerStyles.py",
>> line 252, in get_MadLoop_Banner
>>> version = "v%(version)s (%(date)s)"%misc.get_pkg_info()
>>> KeyError: 'version'
>>>
>>>
>>>
>>>
>>> This is what I receive for after following the first step.
>>>
>>> $ tutorial
>>> tutorial: command not found
>>>
>>> later I can't run tutorial command.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> You received this question notification because you are an answer
>>> contact for MadGraph5_aMC@NLO.
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>>
>> https://answers.launchpad.net/mg5amcnlo/+question/293733/+confirm?answer_id=0
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/mg5amcnlo/+question/293733
>>
>> You received this question notification because you asked the question.
>>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

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

Great Excellent, no idea of what was the problem with the previous version. That's a real mystery.

Cheers,

Olivier

Revision history for this message
akash (akash4362) said :
#6

Installed the latest version,i.e., 2.4.0
Now I can run it properly.