systematics module warning/crash at NLO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Confirmed
|
Undecided
|
Unassigned | ||
Lts |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hi,
for NLO runs only and for at least MG5 3.5.1 and 3.5.2 we observe warnings and (maybe related crashes) when using the systematics module with systematics_
For example, this line in the run card:
['--pdf=
Will lead to the following warning:
Found unexpected entry in run_card: "systematics_argum" with value " ['--pdf=
The type was assigned to list of str.
The definition of that variable will be automatically added to fortran file
The value of that variable will be passed to the fortran code via fortran file
While longer systematics arguments lines appear to be cut off at different places, for example:
Found unexpected entry in run_card: "nnpdf30_
I attach a debug file from a run on my laptop that crashes. In other cases the calculation of systematics actually finishes successful (it appears) and we only get the warning.
Cheers,
Hannes
Changed in mg5amcnlo: | |
status: | New → Incomplete |
In the debug file that you provide the error reported is that the folloaing program:
/usr/bin/python3 -O /home/hmildner/ HEP/MG5_ aMC_v3_ 5_2/test/ bin/internal/ systematics. py events.lhe.gz ./tmp_2_ events. lhe.gz --pdf=NNPDF30_ nnlo_as_ 0118_hessian, PDF4LHC21_ 40,NNPDF31_ nnlo_as_ 0118_hessian@ 0 --muf=0.5,1,2 --mur=0.5,1,2 --dyn=-1 --start_event=5000 --stop_event=7500 --result= ./log_sys_ 2.txt --lhapdf_ config= lhapdf- config
is crashing. orig_pdf. set().name, self.orig_ pdf.lhapdfID ))
Followed by a second crash related to lhapdf setup (which might just be the same error from another thread):
self.log( "# Events generated with PDF: %s (%s)" %(self.
AttributeError: 'NoneType' object has no attribute 'set'
Where the issue is clearly lhapdf related. So this debug file seems related to a lhapdf setup issue....
For the "warning": Found unexpected entry in run_card: "systematics_argum" with value " ['--pdf= NNPDF30_ nnlo_as_ 0118_hessian, PDF4LHC21_ 40,NNPDF31_ nnlo_as_ 0118_hessian@ 0', '--muf=0.5,1,2', '--mur=0.5,1,2', '--dyn=-1'] ".
The type was assigned to list of str.
I do not reproduce such error which might be related to the script that you use to update the run_card.dat.
Do you update that file by hand? do you use the "set" command (that's what I did/test) or do you use some kind of "homemade" bash script?
If this is the latest, can you check that the run_card is correctly written?
Cheers,
Olivier