Question about running madevent on cygwin

Asked by John

I am trying to run madevent on windows through cygwin.
When I execute generate events file, this error pops out,

touch: cannot touch `files/madevents/RunWeb': No such file or directory
     15 [main] python2.6 3536 child_info_fork::abort: address space needed by 'fcntl.dll' (0x360000) is already occupied
Traceback (most recent call last):
  File "./generate_events", line 104, in <module>
    launch = ME.MadEventCmd(me_dir=root_path)
  File "/cygdrive/c/program files/madevents/bin/internal/madevent_interface.py", line 1334, in __init__
    misc.Popen([pjoin(self.dirbin, 'gen_cardhtml-pl')], cwd=me_dir)
  File "/cygdrive/c/program files/madevents/bin/internal/misc.py", line 202, in deco_f
    return f(arg, *args, **opt)
  File "/cygdrive/c/program files/madevents/bin/internal/misc.py", line 236, in Popen
    return subprocess.Popen(arg, *args, **opt)
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1051, in _execute_child
    self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable

For run card.dat file, this message appears

./run_card.dat: line 23: tag_1: command not found
./run_card.dat: line 27: .false.: command not found
./run_card.dat: line 33: 10000: command not found
./run_card.dat: line 34: syntax error near unexpected token `('
./run_card.dat: line 34: ` 0 = iseed ! rnd seed (0=assigned automatically=default))'

How can I solve this program? (Note that I installed python from cygwin.)

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
Johan Alwall (johan-alwall) said :
#1

Hello John,

You are probably the first person to try running MadGraph on cygwin. It seems that the problem here might be due to Python (since the path reported is files/madevents/RunWeb, but paths under Windows should be with backslash instead of forward-slash). Most probably, even if these particular issues are fixed, there would be an infinite (or at least very large) number of new issues popping up later. So, unless you want to take on the task to make MadGraph work under cygwin, I would suggest to simply install Linux (as separate boot or in a virtual box) and run MadGraph from there instead.

All the best,
Johan

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

Hi john,

You are not the first one to try to use cygwin. But as said by Johan, they all finally installed Linux in either a virtual machine and/or in dual boot.

Cheers,

Olivier

On Jul 12, 2012, at 4:35 AM, Johan Alwall wrote:

> Question #202847 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/202847
>
> Status: Open => Answered
>
> Johan Alwall proposed the following answer:
> Hello John,
>
> You are probably the first person to try running MadGraph on cygwin. It
> seems that the problem here might be due to Python (since the path
> reported is files/madevents/RunWeb, but paths under Windows should be
> with backslash instead of forward-slash). Most probably, even if these
> particular issues are fixed, there would be an infinite (or at least
> very large) number of new issues popping up later. So, unless you want
> to take on the task to make MadGraph work under cygwin, I would suggest
> to simply install Linux (as separate boot or in a virtual box) and run
> MadGraph from there instead.
>
> All the best,
> Johan
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Can you help with this problem?

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

To post a message you must log in.