Skip to content

Fix nevents check for MG in CI runs

Spyros Argyropoulos requested to merge fixlp into master

Description of bug

  • The current check of nevents for MG checks against nEventsPerJob not against the requested number of events. Since the CI always runs with fewer events than nEventsPerJob all MG jobs currently fail

Changes introduced

  • neventsMG < 1.1*nEventsRequested

Tests

Checked on !428 (closed)

Before fix

python scripts/logParser.py -u -i 500xxx/500765/log.generate -j 500xxx/500765/mc.MGPy8EG_2HDMa_bb_Hbb_mA1000_ma350_tb1_sp0p35_sps.py

Generator specific tests: MadGraph(v.2.6.7p3.atlas5)+Pythia8(v.244p3)+EvtGen(v.1.7.0)
-------------------------
INFO: Pythia 8 checks: Passed
ERROR: Increase nevents to be generated in MG from 200 to 5500

...
---------------------
 Summary:
---------------------
Errors : 1 , Warnings : 0  -> Errors encountered! Not ready for production!

After fix

python scripts/logParser.py -u -i 500xxx/500765/log.generate -j 500xxx/500765/mc.MGPy8EG_2HDMa_bb_Hbb_mA1000_ma350_tb1_sp0p35_sps.py

-------------------------
Generator specific tests: MadGraph(v.2.6.7p3.atlas5)+Pythia8(v.244p3)+EvtGen(v.1.7.0)
-------------------------
INFO: Pythia 8 checks: Passed
INFO: MadGraph checks: Passed

...
---------------------
 Summary:
---------------------
Errors : 0 , Warnings : 0  -> OK for production

Issues resolved

Closes #109 (closed)

Merge request reports