Madevent launch/restart

Asked by Miha Nemevšek

Dears,

I'm experiencing a problem with restarting Madevent, perhaps you can help.

During a successful event generation, the generation process was terminated due to a time limit. After deleting the RunWeb file, the command ./bin/madevent is unable to restart, it freezes after the welcome screen and the madevent command line does not appear.

[user]$ ./bin/madevent
launch in debug mode
************************************************************
* *
* W E L C O M E to *
* M A D G R A P H 5 _ a M C @ N L O *
* M A D E V E N T *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 5.2.3.3 20xx-xx-xx *
* *
* The MadGraph5_aMC@NLO Development Team - Find us at *
* https://server06.fynu.ucl.ac.be/projects/madgraph *
* *
* Type 'help' for in-line help. *
* *
************************************************************
INFO: load configuration from /home/xx/Cards/me5_configuration.txt
INFO: load configuration from /home/xx/mg5_configuration.txt
INFO: load configuration from /home/xx/Cards/me5_configuration.txt

After cancelling (ctrl+c), the message is

^CTraceback (most recent call last):
  File "./bin/madevent", line 83, in <module>
    subprocess.call([sys.executable] + ['-O'] + sys.argv)
  File "/usr/lib64/python2.6/subprocess.py", line 481, in call
    return p.wait()
  File "/usr/lib64/python2.6/subprocess.py", line 1307, in wait
    pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
  File "/usr/lib64/python2.6/subprocess.py", line 462, in _eintr_retry_call
    return func(*args)
KeyboardInterrupt
[user]$ writting history and directory and quit on KeyboardInterrupt
Traceback (most recent call last):
  File "./bin/madevent", line 205, in <module>
    print error
NameError: name 'error' is not defined

I'm not sure where to start looking to solve this issue, thanks for the help.

Best,
Miha

Question information

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

Hi,

Never face such problem before.
Could you try to run the code in debug mode?
./bin/madevent —debug

Thanks,

Olivier

> On Apr 18, 2016, at 09:13, Miha <email address hidden> wrote:
>
> New question #291330 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/291330
>
> Dears,
>
> I'm experiencing a problem with restarting Madevent, perhaps you can help.
>
> During a successful event generation, the generation process was terminated due to a time limit. After deleting the RunWeb file, the command ./bin/madevent is unable to restart, it freezes after the welcome screen and the madevent command line does not appear.
>
> [user]$ ./bin/madevent
> launch in debug mode
> ************************************************************
> * *
> * W E L C O M E to *
> * M A D G R A P H 5 _ a M C @ N L O *
> * M A D E V E N T *
> * *
> * * * *
> * * * * * *
> * * * * * 5 * * * * *
> * * * * * *
> * * * *
> * *
> * VERSION 5.2.3.3 20xx-xx-xx *
> * *
> * The MadGraph5_aMC@NLO Development Team - Find us at *
> * https://server06.fynu.ucl.ac.be/projects/madgraph *
> * *
> * Type 'help' for in-line help. *
> * *
> ************************************************************
> INFO: load configuration from /home/xx/Cards/me5_configuration.txt
> INFO: load configuration from /home/xx/mg5_configuration.txt
> INFO: load configuration from /home/xx/Cards/me5_configuration.txt
>
> After cancelling (ctrl+c), the message is
>
> ^CTraceback (most recent call last):
> File "./bin/madevent", line 83, in <module>
> subprocess.call([sys.executable] + ['-O'] + sys.argv)
> File "/usr/lib64/python2.6/subprocess.py", line 481, in call
> return p.wait()
> File "/usr/lib64/python2.6/subprocess.py", line 1307, in wait
> pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
> File "/usr/lib64/python2.6/subprocess.py", line 462, in _eintr_retry_call
> return func(*args)
> KeyboardInterrupt
> [user]$ writting history and directory and quit on KeyboardInterrupt
> Traceback (most recent call last):
> File "./bin/madevent", line 205, in <module>
> print error
> NameError: name 'error' is not defined
>
> I'm not sure where to start looking to solve this issue, thanks for the help.
>
> Best,
> Miha
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Miha Nemevšek (miha-nemevsek) said :
#2

Hi Olivier,

thanks for your quick response. I used the --debug option and it still does not move.

Could it be that it takes a long time to load depending on the number of processes? E.g. the size of SubProcesses folder is 2 GB.

Thanks,
Miha

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

Do you get the same error message when hitting ctrl-c?
In principle you should have a more useful one.
(and/or a file ME5_debug with useful information)
Cheers,

Olivier

> On Apr 18, 2016, at 09:47, Miha <email address hidden> wrote:
>
> Question #291330 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/291330
>
> Miha posted a new comment:
> Hi Olivier,
>
> thanks for your quick response. I used the --debug option and it still
> does not move.
>
> Could it be that it takes a long time to load depending on the number of
> processes? E.g. the size of SubProcesses folder is 2 GB.
>
> Thanks,
> Miha
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Miha Nemevšek (miha-nemevsek) said :
#4

Yes in fact, MadEvent just took a long time (~25 min) to load, presumably due to the number of processes. All works fine.

Thanks for your help,
Miha