I can't add PDF Set to MadGraph

Asked by sonus on 2017-10-25

Hello everyone,

I have a problem with adding PDF Set to MadGraph.
I use MadGraph 6 with LHAPDF6 (Also tried LHAPDF5).
I also copied PDFSet to the "Share" folder.

MadGraph gives this error:
InvalidRunCard : Invalid PDF set (argument of pdlabel): NNPDF30_nlo_nf_5_pdfas.

Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2017-11-14
Last reply:
2017-11-14

This question was reopened

celine degrande (cdegrand) said : #1

Hi,

If you want to use lhapdf, you have to set the pdlabel argument to "lhapdf"
and then tell which set you want to use by specifying the lhaid

Cheers,

Olivier

sonus (sonus) said : #2

I am comparing to pdf's result.
One is ctq6l1 other one is NNPDF30_nlo_nf_5_pdfas.
With ctq6l1 madgraph run great but when i use nnpdf3.0 it gives invalid pdfset error.
How to set pdflabel argument lhapdf?
Thank you.

sonus (sonus) said : #3

Sorry i forget to add lhaid.
lhaid is : 292600

Hi,
(not stealing Celine identity this time)

When you have the question:

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][90s to answer]

You can type
set pdlabel lhapdf
set lhaid 292600

Cheers,

Olivier

sonus (sonus) said : #5

Hi,
Problem solved. Thank you so much.

just to make solution clear:

I am using proc_card so I added your set parameters instead of my set parameters.

before:

#######pdf label
set pdlabel NNPDF30_nlo_nf_5_pdfas
set lhaid 292200

solution:

set pdlabel lhapdf
set lhaid 292600

sonus (sonus) said : #6

Thanks Olivier Mattelaer, that solved my question.

sonus (sonus) said : #7

Hello again,

I supposed that my problem isn't solved exactly.

We set the pdf parameters like this:
set pdlabel lhapdf
set lhaid 292600 (this is nnpdf3.0 id)

At the begining, we thinked it worked but than we realized actually madgraph were using nnpdf2.3. Not the pdf set which we setted (nnpdf3.0).

Than we tried to solve this.
if i set the paremeters like this:
set pdlabel NNPDF30_nlo_nf_5_pdfas
set lhaid 292200

at his case madGraph cant find the pdf set.

when i set it lhapdf, this time madgraph gives this error:

index of lhapdf file not found.

yesterday:
i found a file but i forget the name of the file.
the file includes all pdf names.
i tried to add nnpdf3.0 to this list, and i added but this time madgraph found lhapdf but coulndt calculate well (gived error).

i stuck with it.
Could you please help me.
Thank you.

Hi,

I guess that this is more a lhapdf problem and not a MG5 issue.
Indeed lhapdf can behave in some weird way if you request a lhapdfid which is not supported by your current version of lhapdf.
I actually guess that this is your problem.

Which version of lhapdf did you use?
From which version of lhapdf, your pdf set is include?

> i found a file but i forget the name of the file.

I guess that you are referring to the lhapdf.index file (if I remember the name correctly)
If your set is not present inside then indeed your version of lhapdf need to be updated to be able to support that set.
(I do not know if you are allowed to just update that file and/or if it requires other change in lhapdf)

Note that we do not yet support lhapdf6.2 (this will be for the next version)

Cheers,

Olivier

> On Nov 14, 2017, at 10:17, sonus <email address hidden> wrote:
>
> Question #659916 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/659916
>
> Status: Solved => Open
>
> sonus is still having a problem:
> Hello again,
>
> I supposed that my problem isn't solved exactly.
>
> We set the pdf parameters like this:
> set pdlabel lhapdf
> set lhaid 292600 (this is nnpdf3.0 id)
>
> At the begining, we thinked it worked but than we realized actually
> madgraph were using nnpdf2.3. Not the pdf set which we setted
> (nnpdf3.0).
>
>
> Than we tried to solve this.
> if i set the paremeters like this:
> set pdlabel NNPDF30_nlo_nf_5_pdfas
> set lhaid 292200
>
> at his case madGraph cant find the pdf set.
>
> when i set it lhapdf, this time madgraph gives this error:
>
> index of lhapdf file not found.
>
> yesterday:
> i found a file but i forget the name of the file.
> the file includes all pdf names.
> i tried to add nnpdf3.0 to this list, and i added but this time madgraph found lhapdf but coulndt calculate well (gived error).
>
> i stuck with it.
> Could you please help me.
> Thank you.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask sonus for more information if necessary.

To post a message you must log in.