Madgraph5 no madevent ouptput

Asked by Michael Ramsey-Musolf

Hi
In response to Olivier: I do have Xcode3 and gcc installed and running, and they were before I upgraded to 10.6 So I am not sure this was the problem.

Thanks

Just upgraded my mac to OS 10.6. Run mg5 and it does not generate the madevent output directory. The message returned is:

Command "import command ./Cards/proc_card_mg5.dat" interrupted in sub-command:
"output -f" with error:
OSError : [Errno 2] No such file or directory

I have python 2.7 running as well as 2.6

Any suggestions on what could be causing the problem?

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johan Alwall (johan-alwall) said :
#1

Dear Michael,

Which version of MG5 are you using? What was the full procedure that you used? Did you copy the Template directory to a new directory and work in this directory? Or did you reuse an existing process directory?

Thanks,
Johan

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

Hi Michael,

You are lucky, I just face this problem today on my computer (due that I reinstall completely my Mac Os system)
The problem is that gcc is not install on your computer.
The easiest way to install gcc on your computer is to install xcode that you can download on the mac website.

http://developer.apple.com/xcode/
(Note that xcode4 is not free but you can download xcode3 for free (the link is at the bottom right of the page)

Cheers,

Olivier

PS: I agree that the error is not clear, but that's the error raise by the shell when you type 'make'.

Revision history for this message
Michael Ramsey-Musolf (mjrm) said :
#3

Hi Johan,

I am using the latest MG5 that I just downloaded (to reinstall). I
used a previous (existing) working directory that I copied into the
new Madgraph5 directory. However, I get the same problem when I try a
very simple sm process from the command line interface.

Before I upgraded to OS 10.6, this was all running without a problem,
using python 2.7.

Thanks for your help on this.
Michael

On Jun 22, 2011, at 5:31 PM, Johan Alwall wrote:

> Your question #162393 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/162393
>
> Status: Open => Needs information
>
> Johan Alwall requested more information:
> Dear Michael,
>
> Which version of MG5 are you using? What was the full procedure that
> you
> used? Did you copy the Template directory to a new directory and
> work in
> this directory? Or did you reuse an existing process directory?
>
> Thanks,
> Johan
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/madgraph5/+question/162393
>
> You received this question notification because you asked the
> question.

_______________________________________________________________

Professor Michael Ramsey-Musolf
Department of Physics
5281 Chamberlin Hall
University of Wisconsin-Madison
1150 University Avenue
Madison, WI 53706-1390

Phone: (608) 262-3051
Fax: (608) 262-8628

Home Page: http://home.physics.wisc.edu/~mjrm/index.htm
NPAC Theory Group: http://www.physics.wisc.edu/groups/particle-theory/index.html
________________________________________________________________

Revision history for this message
Michael Ramsey-Musolf (mjrm) said :
#4

HI again,

Here is the MG5_Debug output, in case it helps.

Thanks
Michael

import model sm
generate p p > e+ e-
output test
Traceback (most recent call last):
   File "/Users/michaelramsey-musolf/Desktop/Reseach/Collider_Codes/
MadGraph5/MadGraph5_v1_3_2/madgraph/interface/extended_cmd.py", line
151, in onecmd
     return cmd.Cmd.onecmd(self, line)
   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/cmd.py", line 219, in onecmd
     return func(arg)
   File "/Users/michaelramsey-musolf/Desktop/Reseach/Collider_Codes/
MadGraph5/MadGraph5_v1_3_2/madgraph/interface/cmd_interface.py", line
2749, in do_output
     self.finalize(nojpeg)
   File "/Users/michaelramsey-musolf/Desktop/Reseach/Collider_Codes/
MadGraph5/MadGraph5_v1_3_2/madgraph/interface/cmd_interface.py", line
2991, in finalize
     online)
   File "/Users/michaelramsey-musolf/Desktop/Reseach/Collider_Codes/
MadGraph5/MadGraph5_v1_3_2/madgraph/iolibs/export_v4.py", line 1168,
in finalize_v4_directory
     subprocess.call(['make'], stdout = devnull)
   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/subprocess.py", line 493, in call
     return Popen(*popenargs, **kwargs).wait()
   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/subprocess.py", line 679, in __init__
     errread, errwrite)
   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/subprocess.py", line 1228, in _execute_child
     raise child_exception
OSError: [Errno 2] No such file or directory

On Jun 22, 2011, at 5:31 PM, Johan Alwall wrote:

> Your question #162393 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/162393
>
> Status: Open => Needs information
>
> Johan Alwall requested more information:
> Dear Michael,
>
> Which version of MG5 are you using? What was the full procedure that
> you
> used? Did you copy the Template directory to a new directory and
> work in
> this directory? Or did you reuse an existing process directory?
>
> Thanks,
> Johan
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/madgraph5/+question/162393
>
> You received this question notification because you asked the
> question.

_______________________________________________________________

Professor Michael Ramsey-Musolf
Department of Physics
5281 Chamberlin Hall
University of Wisconsin-Madison
1150 University Avenue
Madison, WI 53706-1390

Phone: (608) 262-3051
Fax: (608) 262-8628

Home Page: http://home.physics.wisc.edu/~mjrm/index.htm
NPAC Theory Group: http://www.physics.wisc.edu/groups/particle-theory/index.html
________________________________________________________________

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

Just to add that for mac os 10.5 user. xcode is available here:
https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20414

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

This is a compilation problem. -> this is solved

Revision history for this message
Johan Alwall (johan-alwall) said :
#7

Dear Michael,

What happens if you run "make" by hand in a terminal? It seems from the error description as if there is no such command.

Best,
Johan

Revision history for this message
Michael Ramsey-Musolf (mjrm) said :
#8

Hi Johan
Correct, there is no make command (i tried). There was no makefile in
the MG5 version I downloaded. Should there have been?

THanks,
Michael
On Jun 23, 2011, at 1:11 PM, Johan Alwall wrote:

> Your question #162393 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/162393
>
> Johan Alwall posted a new comment:
> Dear Michael,
>
> What happens if you run "make" by hand in a terminal? It seems from
> the
> error description as if there is no such command.
>
> Best,
> Johan
>
> --
> You received this question notification because you asked the
> question.

_______________________________________________________________

Professor Michael Ramsey-Musolf
Department of Physics
5281 Chamberlin Hall
University of Wisconsin-Madison
1150 University Avenue
Madison, WI 53706-1390

Phone: (608) 262-3051
Fax: (608) 262-8628

Home Page: http://home.physics.wisc.edu/~mjrm/index.htm
NPAC Theory Group: http://www.physics.wisc.edu/groups/particle-theory/index.html
________________________________________________________________

Revision history for this message
Michael Ramsey-Musolf (mjrm) said :
#9

there is a makefile in the working directory though
On Jun 23, 2011, at 1:11 PM, Johan Alwall wrote:

> Your question #162393 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/162393
>
> Johan Alwall posted a new comment:
> Dear Michael,
>
> What happens if you run "make" by hand in a terminal? It seems from
> the
> error description as if there is no such command.
>
> Best,
> Johan
>
> --
> You received this question notification because you asked the
> question.

_______________________________________________________________

Professor Michael Ramsey-Musolf
Department of Physics
5281 Chamberlin Hall
University of Wisconsin-Madison
1150 University Avenue
Madison, WI 53706-1390

Phone: (608) 262-3051
Fax: (608) 262-8628

Home Page: http://home.physics.wisc.edu/~mjrm/index.htm
NPAC Theory Group: http://www.physics.wisc.edu/groups/particle-theory/index.html
________________________________________________________________

Revision history for this message
Michael Ramsey-Musolf (mjrm) said :
#10

Hi Johan,

The problem is solved. For your future reference, the issue is: when I upgraded to 10.6 the links to my old gcc were lost so it
could not compile. I installed Xcode3 again and it is now running fine.

Thanks for the help,
Michael

On Jun 23, 2011, at 1:11 PM, Johan Alwall wrote:

> Your question #162393 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/162393
>
> Johan Alwall posted a new comment:
> Dear Michael,
>
> What happens if you run "make" by hand in a terminal? It seems from the
> error description as if there is no such command.
>
> Best,
> Johan
>
> --
> You received this question notification because you asked the question.

_______________________________________________________________

Professor Michael Ramsey-Musolf
Department of Physics
5281 Chamberlin Hall
University of Wisconsin-Madison
1150 University Avenue
Madison, WI 53706-1390

Phone: (608) 262-3051
Fax: (608) 262-8628

Home Page: http://home.physics.wisc.edu/~mjrm/index.htm
NPAC Theory Group: http://www.physics.wisc.edu/groups/particle-theory/index.html
________________________________________________________________

Revision history for this message
Michael Ramsey-Musolf (mjrm) said :
#11

Hi Olivier,
I re-installed Xcode3 and things now work fine as you suggested. it seems that upgrading to 10.6 caused a loss of links to my old compiler.

Thanks for the help,
Michael

On Jun 22, 2011, at 5:41 PM, Olivier Mattelaer wrote:

> Your question #162393 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/162393
>
> Status: Needs information => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi Michael,
>
> You are lucky, I just face this problem today on my computer (due that I reinstall completely my Mac Os system)
> The problem is that gcc is not install on your computer.
> The easiest way to install gcc on your computer is to install xcode that you can download on the mac website.
>
> http://developer.apple.com/xcode/
> (Note that xcode4 is not free but you can download xcode3 for free (the link is at the bottom right of the page)
>
> Cheers,
>
> Olivier
>
> PS: I agree that the error is not clear, but that's the error raise by
> the shell when you type 'make'.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/madgraph5/+question/162393/+confirm?answer_id=1
>
> 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/madgraph5/+question/162393
>
> You received this question notification because you asked the question.

_______________________________________________________________

Professor Michael Ramsey-Musolf
Department of Physics
5281 Chamberlin Hall
University of Wisconsin-Madison
1150 University Avenue
Madison, WI 53706-1390

Phone: (608) 262-3051
Fax: (608) 262-8628

Home Page: http://home.physics.wisc.edu/~mjrm/index.htm
NPAC Theory Group: http://www.physics.wisc.edu/groups/particle-theory/index.html
________________________________________________________________