Fail to run with jupyter notebook

Asked by Li

Hi!

I use

python2 ./bin/madevent launch

command to run the madevent. When I use the above command in terminal, or with python file .py, it works well.

However when I use a above command in jupyter notebook ( still using python to do it ), I found,

Creating Jobs
Working on SubProcesses
INFO: P1_qq_wp0z0
INFO: Idle: 0, Running: 0, Completed: 0 [ 0.06s ]
INFO: All jobs finished
INFO: Idle: 0, Running: 0, Completed: 0 [ 0.13s ]
INFO: End survey
refine 1000
Creating Jobs

The is 0 Idle ( 2 when I do it with terminal).

In genral there is no difference when I type the command in terminal, or in python script, or jupyter notebook. But the last way fails and I wonder if you can help me. Like in what leads to a 0 Idle?

Thank you very much!

Question information

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

Hi,

I have zero experience with notebook (and their issue). This is a way of working that I do not like.
So I can not help on that.

Sorry,

Olivier

> On 11 Jun 2021, at 06:20, Li <email address hidden> wrote:
>
> New question #697492 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/697492
>
> Hi!
>
> I use
>
> python2 ./bin/madevent launch
>
> command to run the madevent. When I use the above command in terminal, or with python file .py, it works well.
>
> However when I use a above command in jupyter notebook ( still using python to do it ), I found,
>
> Creating Jobs
> Working on SubProcesses
> INFO: P1_qq_wp0z0
> INFO: Idle: 0, Running: 0, Completed: 0 [ 0.06s ]
> INFO: All jobs finished
> INFO: Idle: 0, Running: 0, Completed: 0 [ 0.13s ]
> INFO: End survey
> refine 1000
> Creating Jobs
>
> The is 0 Idle ( 2 when I do it with terminal).
>
> In genral there is no difference when I type the command in terminal, or in python script, or jupyter notebook. But the last way fails and I wonder if you can help me. Like in what leads to a 0 Idle?
>
> Thank you very much!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Li (huangli-itp) said :
#2

Hi Olivier,

    I see. I will see what can I do.

    Thank you!

Best,
Li

Revision history for this message
Li (huangli-itp) said :
#3

I have fixed the problem. Without using "screen", it works.