Code review comment for lp:~maddevelopers/mg5amcnlo/2.1.2-lhapdf6

Revision history for this message
marco zaro (marco-zaro) wrote :

Hi Olivier,
btw, it runs smoothly for madevent, with this output (the lhapdf print statement occurs only once)
Cheers,

Marco

INFO: load configuration from /Users/marcozaro/Physics/MadGraph/2.1.2-lhapdf6/PROC_sm_0/Cards/me5_configuration.txt
INFO: load configuration from /Users/marcozaro/Physics/MadGraph/2.1.2-lhapdf6/input/mg5_configuration.txt
INFO: load configuration from /Users/marcozaro/Physics/MadGraph/2.1.2-lhapdf6/PROC_sm_0/Cards/me5_configuration.txt
generate_events run_01
The following switches determine which programs are run:
 1 Run the pythia shower/hadronization: pythia=NOT INSTALLED
 2 Run PGS as detector simulator: pgs=NOT INSTALLED
 3 Run Delphes as detector simulator: delphes=NOT INSTALLED
 4 Decay particles with the MadSpin module: madspin=OFF
 5 Add weight to events based on coupling parameters: reweight=OFF
  Either type the switch number (1 to 5) to change its default setting,
  or set any switch explicitly (e.g. type 'madspin=ON' at the prompt)
  Type '0', 'auto', 'done' or just press enter when you are done.
 [0, 4, 5, auto, done, madspin=ON, madspin=OFF, madspin, reweight=ON, ... ][60s to answer]
>
Do you want to edit a card (press enter to bypass editing)?
  1 / param : param_card.dat
  2 / run : run_card.dat
 you can also
   - enter the path to a valid card or banner.
   - use the 'set' command to modify a parameter directly.
     The set option works only for param_card and run_card.
     Type 'help set' for more information on this command.
   - call an external program (ASperGE/MadWidth/...).
     Type 'help' for the list of available command
 [0, done, 1, param, 2, run, enter path][60s to answer]
>set pdlabel lhapdf
INFO: modify parameter pdlabel of the run_card.dat to lhapdf
Do you want to edit a card (press enter to bypass editing)?
  1 / param : param_card.dat
  2 / run : run_card.dat
 you can also
   - enter the path to a valid card or banner.
   - use the 'set' command to modify a parameter directly.
     The set option works only for param_card and run_card.
     Type 'help set' for more information on this command.
   - call an external program (ASperGE/MadWidth/...).
     Type 'help' for the list of available command
 [0, done, 1, param, 2, run, enter path]
>
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
INFO: Using LHAPDF v6.1.4 interface for PDFs
INFO: Trying to download NNPDF23_nlo_as_0119
NNPDF23_nlo_as_0119.tar.gz: 20.6 MB [100.0%]
INFO: NNPDF23_nlo_as_0119 successfully downloaded and stored in /Users/marcozaro/Physics/LHAPDF-6/share/LHAPDF
write compile file for card: /Users/marcozaro/Physics/MadGraph/2.1.2-lhapdf6/PROC_sm_0/Cards/param_card.dat
run_card missed argument xmtcentral. Takes default: 0.0
run_card missed argument d. Takes default: 1.0
run_card missed argument gridrun. Takes default: False
run_card missed argument fixed_couplings. Takes default: True
Using random number seed offset = 21
INFO: Running Survey
Creating Jobs
Working on SubProcesses
    P0_qq_lvl
INFO: Idle: 0, Running: 1, Completed: 0 [ current time: 15h27 ]
DEBUG: Found too many jobs. Recovering
INFO: Idle: 0, Running: 0, Completed: 1 [ 5s ]
INFO: End survey
refine 10000
Creating Jobs
INFO: Refine results to 10000
    P0_qq_lvl
INFO: Idle: 8, Running: 4, Completed: 0 [ current time: 15h27 ]
INFO: Idle: 3, Running: 4, Completed: 5 [ 4.2s ]
INFO: Combining runs
find 12 multijob in /Users/marcozaro/Physics/MadGraph/2.1.2-lhapdf6/PROC_sm_0/SubProcesses/P0_qq_lvl/G1
INFO: finish refine
refine 10000
Creating Jobs
INFO: Refine results to 10000
    P0_qq_lvl
INFO: Combining runs
INFO: finish refine
combine_events
INFO: Combining Events
  === Results Summary for run: run_01 tag: tag_1 ===

     Cross-section : 6491 +- 15.09 pb
     Nb of events : 10000

running syscalc on mode parton
store_events
INFO: Storing parton level results
INFO: End Parton
reweight -from_cards
decay_events -from_cards
quit
INFO:

INFO:

more information in /Users/marcozaro/Physics/MadGraph/2.1.2-lhapdf6/PROC_sm_0/index.html

On 21 Aug 2014, at 15:18, marco zaro <email address hidden> wrote:

> Ciao Olivier,
> I just managed to install lhapdf6 (v 6.1.4) on my mac, with the —disable-python flag when you configure it…
> It is working…
> I will now update the lhapdf6 branch with the latest 2.2.0 and check out the problems you were mentioning…
> Cheers,
>
> Marco
>
>
> On 21 Aug 2014, at 14:01, marco zaro <email address hidden> wrote:
>
>> Ciao Olivier,
>> but are these problems related to the lhapdf6 branch or they are also there in 2.1.2?
>> The changes i did in lhapdf6 are very minimal…
>> I’ll have a look anyway.
>> Can oyu please check that if one does one run with internal pdfs and the next one with lhapdf, the libpdf and libgeneric are correctly recompiled with the lhapdf related wrappers?
>> It seems not to be the case for madevent runs…
>> I’ll have a look later.
>>
>> Cheers,
>>
>> Marco
>>
>>
>>
>> On 21 Aug 2014, at 13:49, Olivier Mattelaer <email address hidden> wrote:
>>
>>> Review: Needs Fixing
>>>
>>> Hi,
>>>
>>> 2.1.3 is for bug fixing only. If we need to rush a release for political reason.
>>> So this should be for 2.2.0
>>>
>>> Note that I can not test for lhapdf6 since I can't install lhapdf6 (and do not want to change the configuration of the machime for that).
>>>
>>> I have test however the lhapdf5 one, and it doesn't work ...
>>> Note sure what the problem is but he code didn't recognize correctly the lhapdf mode.
>>>
>>> If I do the following it works nicely:
>>>
>>> generate p p > e+ e-
>>> launch
>>> set pdlabel lhapdf
>>> set lhaid 10772
>>>
>>> I'm however worry about some misterious print statement which not always appear multiple times.
>>> This might indicate a side effect and/or that the pdf change during the run...
>>>
>>> Here is the log where the see the line twice.
>>>
>>> INFO: Using LHAPDF v5.9.1 interface for PDFs
>>> write compile file for card: /Users/omatt/Documents/eclipse/2.1.2-lhapdf6/PROC_sm_0/Cards/param_card.dat
>>> run_card missed argument xmtcentral. Takes default: 0.0
>>> run_card missed argument d. Takes default: 1.0
>>> run_card missed argument gridrun. Takes default: False
>>> run_card missed argument fixed_couplings. Takes default: True
>>> Using random number seed offset = 21
>>> INFO: Running Survey
>>> Creating Jobs
>>> Working on SubProcesses
>>> P0_qq_ll
>>> INFO: Idle: 0, Running: 1, Completed: 0 [ current time: 12h15 ]
>>> DEBUG: Found too many jobs. Recovering
>>> INFO: Idle: 0, Running: 0, Completed: 1 [ 5s ]
>>> INFO: End survey
>>> refine 10000
>>> INFO: compile directory
>>> INFO: Using LHAPDF v5.9.1 interface for PDFs <------ WHY HERE?
>>>
>>> I guess the main question is why is there also twice the line:
>>> INFO: compile directory
>>>
>>>
>>> Now they are for sure a side effect since, If I run the following:
>>>
>>> Then the two first run go trough but the latest returns 0 cross-section:
>>> The log indicate the following line:
>>> Unimplemented distribution= lhapdf
>>> Implemented are:
>>> So clearly the switch between the mode are not working in both direction.
>>>
>>>
>>> For lhapdf6 in itself, I will abstain. My understanding was that Paolo was going to check that part, and since I didn't hear about him that's why I didn't include that part in 2.1.2.
>>>
>>> Cheers,
>>>
>>> Olivier
>>>
>>>
>>>
>>> --
>>> https://code.launchpad.net/~maddevelopers/mg5amcnlo/2.1.2-lhapdf6/+merge/231518
>>> Your team MadDevelopers is subscribed to branch lp:~maddevelopers/mg5amcnlo/2.1.3.
>>
>>
>> --
>> https://code.launchpad.net/~maddevelopers/mg5amcnlo/2.1.2-lhapdf6/+merge/231518
>> Your team MadDevelopers is subscribed to branch lp:~maddevelopers/mg5amcnlo/2.1.3.
>
>
> --
> https://code.launchpad.net/~maddevelopers/mg5amcnlo/2.1.2-lhapdf6/+merge/231518
> Your team MadDevelopers is subscribed to branch lp:~maddevelopers/mg5amcnlo/2.1.3.

« Back to merge proposal