How to stop screen output while running mg5_aMC in script mode

Asked by RAFIQUL RAHAMAN

Hi,

I want run mg5_aMC in script mode for many run to do mcmc and I do not want to have the screen output as it takes time to print. So how do I do that please help me.
Thanx

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
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

I do not think that speed is significantly impacted at all with our printing but ok.

The first thing that you can do is to run the executable with the argument “-l CRITICAL” which will reduce the amount of times we print on the screen.
If you want to go higher than that.
You can redirect the screen results to /dev/null (the usual trick by putting at the end of the line either “ &> /dev/null” or “> /dev/null”

You can also hack the python executable are redefine the way the standard output is handle (For that you should search on google how to do it)

Cheers,

Oliver

> On 8 Mar 2017, at 10:34, RAFIQUL RAHAMAN <email address hidden> wrote:
>
> New question #537034 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/537034
>
> Hi,
>
> I want run mg5_aMC in script mode for many run to do mcmc and I do not want to have the screen output as it takes time to print. So how do I do that please help me.
> Thanx
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
RAFIQUL RAHAMAN (rahaman-rafiqul786) said :
#2

Thanks for the suggestion.

Can you help with this problem?

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

To post a message you must log in.