Merging LHE files does not work

Asked by A.Hayreter

Hello MG5 support team,

I work with large number of events (~10^6) so I use multi_run option to end up with a single large .lhe file. However I noticed that from version 2_1_2 there is an extra (I think useless as well) information in init block of lhe files.

<generator name='MadGraph5_aMC@NLO' version='#5.2.1.2'>please cite 1405.0301 </generator>

When merge.pl script tries to merge lhe files it first checks the number of entries in init block of each file. With this extra information it does not satisfy the given condition in the merge script. Removing the above information from init block I can manually merge files though. But I think this has to be fixed on the next version.

Cheers.

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

Hi,

> However I noticed that from version 2_1_2 there is an extra (I think useless as well) information in init
> block of lhe files.

This information is mandatory in the lhef version 3 agreement.

> When merge.pl script tries to merge lhe files it first checks the number of entries in init block of each file.
> With this extra information it does not satisfy the given condition in the merge script. Removing the above
> information from init block I can manually merge files though. But I think this has to be fixed on the next
> version.

This is already patched in the next version.

Cheers,

Olivier

On Aug 12, 2014, at 9:57 AM, A.Hayreter <email address hidden> wrote:

> New question #252966 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/252966
>
> Hello MG5 support team,
>
> I work with large number of events (~10^6) so I use multi_run option to end up with a single large .lhe file.
> However I noticed that from version 2_1_2 there is an extra (I think useless as well) information in init
> block of lhe files.
>
> <generator name='MadGraph5_aMC@NLO' version='#5.2.1.2'>please cite 1405.0301 </generator>
>
> When merge.pl script tries to merge lhe files it first checks the number of entries in init block of each file.
> With this extra information it does not satisfy the given condition in the merge script. Removing the above
> information from init block I can manually merge files though. But I think this has to be fixed on the next
> version.
>
> Cheers.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
A.Hayreter (alperhayreter) said :
#2

Thanks Olivier Mattelaer, that solved my question.