madevent and nohup

Asked by Jan Hajer

Hi,

I have generated events with madgraph using nohup.
In the end I got an error message complaining that the unweighted_events.lhe.gz is not a gz file and indeed it is only a lhe file.
I have simple renamed the file to unweighted_events.lhe.
Now I want to run the rest of the programs (madspin->pyhtia->delphes).
What would be the command to start this chain non-interactively using nohup?
I already tried various possibilities involving 'madevent' with 'decay_events' and '-f'.

Best,
Jan

Question information

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

All post-processing tools can be indeed called from the ./bin/madevent shell

You can write a file with all the command that you want to run
And then do
nohup ./bin/madevemt PATH_TO_YOUR_FILE

Note that we never test that script with nohup. We had problem with nohup with ./bin/mg5_aMC but those are fixed now (I guess) so in principle it should be also fixed
For this executable but we did not test.

Cheers,

Olivier
> On 1 Mar 2017, at 22:19, Jan Hajer <email address hidden> wrote:
>
> New question #509299 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/509299
>
> Hi,
>
> I have generated events with madgraph using nohup.
> In the end I got an error message complaining that the unweighted_events.lhe.gz is not a gz file and indeed it is only a lhe file.
> I have simple renamed the file to unweighted_events.lhe.
> Now I want to run the rest of the programs (madspin->pyhtia->delphes).
> What would be the command to start this chain non-interactively using nohup?
> I already tried various possibilities involving 'madevent' with 'decay_events' and '-f'.
>
> Best,
> Jan
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Jan Hajer (jan.hajer) said :
#2

Works like a charm,

Thanks,
Jan

Revision history for this message
Jan Hajer (jan.hajer) said :
#3

Thanks Olivier Mattelaer, that solved my question.