MC@NLO with LHAPDF 6.1.4. - no event file, in log file: pdflib could not understand the input

Asked by Milena

Hello,
i am using MC@NLO with lhapdf 6.1.4 - when i try to compile and run NLO code, i am getting:

gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcHerwigpp/mcatnlo_vbmain_pp.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_vbxsec.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_vbpdks.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_helas2.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_date.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_int.f
gcc -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_uxdate.c
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_uti.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_str.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/linux.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcHerwigpp/mcatnlo_stdlhe.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_mlmtolha.f
gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/dummies.f
gcc -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/trapfpe.c
gfortran -w -O2 -fno-automatic mcatnlo_vbmain_pp.o mcatnlo_vbxsec.o mcatnlo_vbpdks.o mcatnlo_helas2.o mcatnlo_date.o mcatnlo_int.o mcatnlo_uxdate.o mcatnlo_uti.o mcatnlo_str.o linux.o mcatnlo_stdlhe.o mcatnlo_mlmtolha.o dummies.o trapfpe.o -L/home/lenka/lhapdf/lib/ -lLHAPDF -o VVNLO_EXE_LHAPDF
rm: cannot remove `wwqq_a.events': No such file or directory
rm: cannot remove `wwqq_b.events': No such file or directory
rm: cannot remove `wwqg_a.events': No such file or directory
rm: cannot remove `wwqg_b.events': No such file or directory
rm: cannot remove `wwag_a.events': No such file or directory
rm: cannot remove `wwag_b.events': No such file or directory
runNLO did not succeed, exit status=1

There is no event file and in the log file i get:

LHAPDF 6.1.4 loading /home/lenka/lhapdf/share/LHAPDF/CT10/CT10_0000.dat
CT10 PDF set, member #0, version 4; LHAPDF ID = 10800

........ and at the end of the log file:

 Enter group name and id number for PDF set
 PDFLIB could not understand the input

PDFLIB is set to LHAPDF and it seems that pdf is loaded, but then it says it could not understand the input.

I installed lhapdf following the instructions from the official site. Every pdf set is in the lhapdf/share/LHAPDF directory (lhapdf install automatically installs it here, version 6.1.4 does not have lhapdf -getdata) . For example i have CT10 directory in lhapdf/share/LHAPDF, not in PDFsets directory.
First i tried to put sets in PDFsets directory, but i was getting : can't find valid pdf. When i deleted PDFsets directory i started to get described problem. (CT10 is in the same directory as pdfsets.index and lhapdf.conf, i have data files in CT10, no grid files)

Maybe i should get grid files instead of data files or get data files in some other way (i got them by lhapdf install)?

Thank you, i would really appreciate some help.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
marco zaro Edit question
Last query:
Last reply:
Revision history for this message
marco zaro (marco-zaro) said :
#1

Hi,
I am not an expert of MC@NLO, (without the 'a').
Here is the launchpad page of (MadGraph5_)aMC@NLO.
For support regarding MC@NLO, see here
http://www.hep.phy.cam.ac.uk/theory/webber/MCatNLO/

I have notified one of the MC@NLO developers, Paolo Torrielli about your question.
Best,

Marc

Revision history for this message
Paolo Torrielli (paolo-torrielli) said :
#2

Hello,
could you please try and see if setting LHALINK = DYNAMIC or STATIC
makes some difference?
Cheers,
Paolo

On 16 Dec 2014, at 18:56, Milena <email address hidden> wrote:

> Question #259150 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/259150
>
> Description changed to:
> Hello,
> i am using MC@NLO with lhapdf 6.1.4 - when i try to compile and run NLO code, i am getting:
>
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcHerwigpp/mcatnlo_vbmain_pp.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_vbxsec.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_vbpdks.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_helas2.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_date.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_int.f
> gcc -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_uxdate.c
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_uti.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_str.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/linux.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcHerwigpp/mcatnlo_stdlhe.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/mcatnlo_mlmtolha.f
> gfortran -w -O2 -fno-automatic -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/dummies.f
> gcc -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/trapfpe.c
> gfortran -w -O2 -fno-automatic mcatnlo_vbmain_pp.o mcatnlo_vbxsec.o mcatnlo_vbpdks.o mcatnlo_helas2.o mcatnlo_date.o mcatnlo_int.o mcatnlo_uxdate.o mcatnlo_uti.o mcatnlo_str.o linux.o mcatnlo_stdlhe.o mcatnlo_mlmtolha.o dummies.o trapfpe.o -L/home/lenka/lhapdf/lib/ -lLHAPDF -o VVNLO_EXE_LHAPDF
> rm: cannot remove `wwqq_a.events': No such file or directory
> rm: cannot remove `wwqq_b.events': No such file or directory
> rm: cannot remove `wwqg_a.events': No such file or directory
> rm: cannot remove `wwqg_b.events': No such file or directory
> rm: cannot remove `wwag_a.events': No such file or directory
> rm: cannot remove `wwag_b.events': No such file or directory
> runNLO did not succeed, exit status=1
>
>
> There is no event file and in the log file i get:
>
> LHAPDF 6.1.4 loading /home/lenka/lhapdf/share/LHAPDF/CT10/CT10_0000.dat
> CT10 PDF set, member #0, version 4; LHAPDF ID = 10800
>
>
> ........ and at the end of the log file:
>
> Enter group name and id number for PDF set
> PDFLIB could not understand the input
>
>
> PDFLIB is set to LHAPDF and it seems that pdf is loaded, but then it
> says it could not understand the input.
>
> I installed lhapdf following the instructions from the official site. Every pdf set is in the lhapdf/share/LHAPDF directory (lhapdf install automatically installs it here, version 6.1.4 does not have lhapdf -getdata) . For example i have CT10 directory in lhapdf/share/LHAPDF, not in PDFsets directory.
> First i tried to put sets in PDFsets directory, but i was getting : can't find valid pdf. When i deleted PDFsets directory i started to get described problem. (CT10 is in the same directory as pdfsets.index and lhapdf.conf, i have data files in CT10, no grid files)
>
> Maybe i should get grid files instead of data files or get data files in
> some other way (i got them by lhapdf install)?
>
> Thank you, i would really appreciate some help.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Milena (lenka-bajic) said :
#3

Hi,

when i set LHALINK=STATIC, i get bunch od different mistakes:

/home/lenka/LHAPDF-6.1.4/src/LHAGlue.cc:558: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/home/lenka/LHAPDF-6.1.4/src/LHAGlue.cc:559: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/home/lenka/LHAPDF-6.1.4/src/LHAGlue.cc:559: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/home/lenka/LHAPDF-6.1.4/src/LHAGlue.cc:556: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/home/lenka/LHAPDF-6.1.4/src/LHAGlue.cc:559: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/home/lenka/LHAPDF-6.1.4/src/LHAGlue.cc:558: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/home/lenka/LHAPDF-6.1.4/src/LHAGlue.cc:557: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/home/lenka/lhapdf/lib/libLHAPDF.a(libLHAPDFGlue_la-LHAGlue.o): In function `getq2maxm_':
..... and more

with LHALINK=DYNAMIC:

gcc -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/trapfpe.c
gfortran -w -O2 -fno-automatic mcatnlo_vbmain_pp.o mcatnlo_vbxsec.o mcatnlo_vbpdks.o mcatnlo_helas2.o mcatnlo_date.o mcatnlo_int.o mcatnlo_uxdate.o mcatnlo_uti.o mcatnlo_str.o linux.o mcatnlo_stdlhe.o mcatnlo_mlmtolha.o dummies.o trapfpe.o -L/home/lenka/lhapdf/lib/ -lLHAPDF -o VVNLO_EXE_LHAPDF
rm: cannot remove `wwqq_a.events': No such file or directory
rm: cannot remove `wwqq_b.events': No such file or directory
rm: cannot remove `wwqg_a.events': No such file or directory
rm: cannot remove `wwqg_b.events': No such file or directory
rm: cannot remove `wwag_a.events': No such file or directory
rm: cannot remove `wwag_b.events': No such file or directory
runNLO did not succeed, exit status=1

My lhapdf directory looks like this:

bin - > lhapdf, lhapdf-config
include -> LHAPDF -> header files..
lib -> libLHAPDF.a libLHAPDF.la libLHAPDF.so pkgconfig python2.7
share -> LHAPDF -> CT10, cteq66 ... pdfsets.index, lhapdf-conf

and i get the error:
gcc -I/home/lenka/MCatNLO/include -c /home/lenka/MCatNLO/srcCommon/trapfpe.c
gfortran -w -O2 -fno-automatic mcatnlo_vbmain_pp.o mcatnlo_vbxsec.o mcatnlo_vbpdks.o mcatnlo_helas2.o mcatnlo_date.o mcatnlo_int.o mcatnlo_uxdate.o mcatnlo_uti.o mcatnlo_str.o linux.o mcatnlo_stdlhe.o mcatnlo_mlmtolha.o dummies.o trapfpe.o -L/home/lenka/lhapdf/lib/ -lLHAPDF -o VVNLO_EXE_LHAPDF
rm: cannot remove `wwqq_a.events': No such file or directory
rm: cannot remove `wwqq_b.events': No such file or directory
rm: cannot remove `wwqg_a.events': No such file or directory
rm: cannot remove `wwqg_b.events': No such file or directory
rm: cannot remove `wwag_a.events': No such file or directory
rm: cannot remove `wwag_b.events': No such file or directory
runNLO did not succeed, exit status=1

i tried to make directory lhapdf/share/LHAPDF/PDFsets and get CT10 directory into PDFsets but i was getting:
Can't find valid PDF CT10/0

i even tried to change LHAPDF to lhapdf but i fot:
can't find pdfsets.index file

Maybe i shoudl download grid files instead of the data files? I installed data files with lhapdf install (it unpacked the data files into the directory CT10 for example)

Or just try with an oder version of lhapdf?

Cheers and thanks.

Revision history for this message
Milena (lenka-bajic) said :
#4

Ok, i installed lhapdf version 5.9.1 and it works with MC@NLO.

With the newest version of lhapdf (6.1.4) i just couldn't manage it to work.

Revision history for this message
Paolo Torrielli (paolo-torrielli) said :
#5

Hi Milena,
ok, this would have been my next suggestion. I have personally tried
MC@NLO with many versions of LHAPDF5, but never with LHAPDF6, which
has been released after the latest MC@NLO version.
I’ll ask around anyway, to know if someone managed to have it working
with LHAPDF6.
Cheers,
Paolo

On 17 Dec 2014, at 20:51, Milena <email address hidden> wrote:

> Question #259150 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/259150
>
> Milena posted a new comment:
> Ok, i installed lhapdf version 5.9.1 and it works with MC@NLO.
>
> With the newest version of lhapdf (6.1.4) i just couldn't manage it to
> work.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

Can you help with this problem?

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

To post a message you must log in.