How can I run multirun without merging the .lhe files at the end of the process?

Asked by Cristian Rodríguez

I'm working with multirun and have several .lhe files that I want to process separately. However, at the end of the execution, the mg5 system automatically merges the output files, which takes a lot of time, and I prefer to read each .lhe file individually. Is there a way to configure multirun so it doesn’t merge the files and keeps them separate?

Here an example of my script

import model sm
generate p p > ta+ ta-{L} @0
output /home/cfrc/github/ditaus_analysis/outputs/sm_lh_ditaus -nojpeg

launch /home/cfrc/github/ditaus_analysis/outputs/sm_lh_ditaus -i
multi_run 20 --nb_core=30
shower=Pythia8
detector=Delphes
analysis=OFF
set nevents 50000
set pt_min_pdg {15:10}
set eta_max_pdg {15:5}
set sde_strategy 1
set ebeam1 6800
set ebeam2 6800
done

exit

Any suggestions or parameters I can modify to achieve this would be greatly appreciated.

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

In that case, I would just do a fake scan.

Something like this:

import model sm
generate p p > ta+ ta-{L} @0
output /home/cfrc/github/ditaus_analysis/outputs/sm_lh_ditaus -nojpeg
launch /home/cfrc/github/ditaus_analysis/outputs/sm_lh_ditaus -i
launch --nb_core=30
shower=Pythia8
detector=Delphes
analysis=OFF
set nevents 50000
set pt_min_pdg {15:10}
set eta_max_pdg {15:5}
set sde_strategy 1
set ebeam1 6800
set ebeam2 6800
set mt scan:[172.5 for i in range(20)]
done

exit

Revision history for this message
Cristian Rodríguez (crisfer2694) said :
#2

Good morning Olivier,

Thank you for the prompt response!

Okay, it's a good solution, thank you very much.

Best regards,

Cristian R.

Revision history for this message
Cristian Rodríguez (crisfer2694) said :
#3

Thanks Olivier Mattelaer, that solved my question.