Running Madgraph + LHAPDF, compilation error

Asked by Martin Duy Tat on 2018-06-25

Dear MadGraph experts,
I'm currently trying to run the process p p > e+ ve [QCD] on Madgraph 2.6.3 using the PDF library LHAPDF 6.2.1 on Scientific Linux 6.9. I have already successfully installed boost, lhapdf6 and pythia8 through Madgraph, and it ran fine. However, running "install lhapdf6" installed LHAPDF 6.1.6, which doesn't have the PDF sets I need. Therefore I downloaded LHAPDF 6.2.1 seperately, but this gives me an error when running the same process.

If this error is solely due to Madgraph not support LHAPDF 6.2.1 yet, may I ask when this will be supported?

Here is the error. Thank you so much!

INFO: Update the dependent parameter of the param_card.dat
INFO: Starting run
INFO: Compiling the code
INFO: Using LHAPDF v6.2.1 interface for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling directories...
INFO: Compiling on 32 cores
INFO: Compiling P0_udx_epve...
INFO: Compiling P0_dxu_epve...
WARNING: fct <function compile_dir at 0x7fd934584b18> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF2/SubProcesses/P0_udx_epve.
The compilation fails with the following output message:
    /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -lstdc++ -o test_soft_col_limits parton_lum_1.o parton_lum_2.o parton_lum_3.o parton_lum_chooser.o matrix_1.o matrix_2.o matrix_3.o real_me_chooser.o leshouche_inc_chooser.o fks_inc_chooser.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o fastjetfortran_madfks_core.o fjcore.o fastjet_wrapper.o fks_singular.o veto_xsec.o montecarlocounter.o reweight_xsec.o boostwdir2.o configs_and_props_inc_chooser.o initcluster.o cluster.o reweight.o get_color.o FKSParamReader.o iproc_map.o MC_integer.o appl_interface_dummy.o genps_fks.o weight_lines.o test_soft_col_limits.o BinothLHADummy.o cuts.o pythia_unlops.o recluster.o -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -L/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/HEPTools/lhapdf6/lib -lLHAPDF -lstdc++
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_getpdfsetlist_':
    pdf_lhapdf62.cc:(.text+0x39a): undefined reference to `_ZN6LHAPDF16availablePDFSetsB5cxx11Ev'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_setdatapath_':
    pdf_lhapdf62.cc:(.text+0x528): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `getdatapath_':
    pdf_lhapdf62.cc:(.text+0x79e): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_appenddatapath_':
    pdf_lhapdf62.cc:(.text+0x98b): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
    pdf_lhapdf62.cc:(.text+0xba0): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::loadMember(int)':
    pdf_lhapdf62.cc:(.text+0x1985): undefined reference to `LHAPDF::mkPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::PDFSetHandler(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    pdf_lhapdf62.cc:(.text+0x4f9d): undefined reference to `LHAPDF::lookupPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::PDFSetHandler(int)':
    pdf_lhapdf62.cc:(.text+0x52d1): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `pdfset_':
    pdf_lhapdf62.cc:(.text+0x56c2): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `getdescm_':
    pdf_lhapdf62.cc:(.text+0x9145): undefined reference to `LHAPDF::PDFInfo::get_entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::Config::get()':
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF6Config3getEv[_ZN6LHAPDF6Config3getEv]+0x40): undefined reference to `LHAPDF::findFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF6Config3getEv[_ZN6LHAPDF6Config3getEv]+0x109): undefined reference to `LHAPDF::Info::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::PDF::set() const':
    pdf_lhapdf62.cc:(.text._ZNK6LHAPDF3PDF3setEv[_ZNK6LHAPDF3PDF3setEv]+0x158): undefined reference to `LHAPDF::getPDFSet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::setVerbosity(int)':
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF12setVerbosityEi[_ZN6LHAPDF12setVerbosityEi]+0x2b1): undefined reference to `LHAPDF::findFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF12setVerbosityEi[_ZN6LHAPDF12setVerbosityEi]+0x3c3): undefined reference to `LHAPDF::Info::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::pathsPrepend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x14): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x250): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    collect2: error: ld returned 1 exit status
    make: *** [test_soft_col_limits] Error 1

Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/mg5amcnlo.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
WARNING: fct <function compile_dir at 0x7fd934584b18> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF2/SubProcesses/P0_dxu_epve.
The compilation fails with the following output message:
    /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -lstdc++ -o test_soft_col_limits parton_lum_1.o parton_lum_2.o parton_lum_3.o parton_lum_chooser.o matrix_1.o matrix_2.o matrix_3.o real_me_chooser.o leshouche_inc_chooser.o fks_inc_chooser.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o fastjetfortran_madfks_core.o fjcore.o fastjet_wrapper.o fks_singular.o veto_xsec.o montecarlocounter.o reweight_xsec.o boostwdir2.o configs_and_props_inc_chooser.o initcluster.o cluster.o reweight.o get_color.o FKSParamReader.o iproc_map.o MC_integer.o appl_interface_dummy.o genps_fks.o weight_lines.o test_soft_col_limits.o BinothLHADummy.o cuts.o pythia_unlops.o recluster.o -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -L/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/HEPTools/lhapdf6/lib -lLHAPDF -lstdc++
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_getpdfsetlist_':
    pdf_lhapdf62.cc:(.text+0x39a): undefined reference to `_ZN6LHAPDF16availablePDFSetsB5cxx11Ev'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_setdatapath_':
    pdf_lhapdf62.cc:(.text+0x528): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `getdatapath_':
    pdf_lhapdf62.cc:(.text+0x79e): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_appenddatapath_':
    pdf_lhapdf62.cc:(.text+0x98b): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
    pdf_lhapdf62.cc:(.text+0xba0): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::loadMember(int)':
    pdf_lhapdf62.cc:(.text+0x1985): undefined reference to `LHAPDF::mkPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::PDFSetHandler(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    pdf_lhapdf62.cc:(.text+0x4f9d): undefined reference to `LHAPDF::lookupPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::PDFSetHandler(int)':
    pdf_lhapdf62.cc:(.text+0x52d1): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `pdfset_':
    pdf_lhapdf62.cc:(.text+0x56c2): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `getdescm_':
    pdf_lhapdf62.cc:(.text+0x9145): undefined reference to `LHAPDF::PDFInfo::get_entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::Config::get()':
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF6Config3getEv[_ZN6LHAPDF6Config3getEv]+0x40): undefined reference to `LHAPDF::findFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF6Config3getEv[_ZN6LHAPDF6Config3getEv]+0x109): undefined reference to `LHAPDF::Info::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::PDF::set() const':
    pdf_lhapdf62.cc:(.text._ZNK6LHAPDF3PDF3setEv[_ZNK6LHAPDF3PDF3setEv]+0x158): undefined reference to `LHAPDF::getPDFSet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::setVerbosity(int)':
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF12setVerbosityEi[_ZN6LHAPDF12setVerbosityEi]+0x2b1): undefined reference to `LHAPDF::findFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF12setVerbosityEi[_ZN6LHAPDF12setVerbosityEi]+0x3c3): undefined reference to `LHAPDF::Info::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::pathsPrepend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x14): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
    pdf_lhapdf62.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x250): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    collect2: error: ld returned 1 exit status
    make: *** [test_soft_col_limits] Error 1

Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/mg5amcnlo.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
WARNING: Fail to compile the Subprocesses
INFO:
INFO: Checking test output:
INFO: P0_udx_epve
INFO: Result for test_ME:
Command "launch auto " interrupted with error:
IOError : [Errno 2] No such file or directory: '/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF2/SubProcesses/P0_udx_epve/test_ME.log'

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Duy Tat
Solved:
2018-06-28
Last query:
2018-06-28
Last reply:
2018-06-26

Dear Martin,

> If this error is solely due to Madgraph not support LHAPDF 6.2.1 yet, may I ask when this will be supported?

That version of lhapdf is actually now supported by MG5aMC and the version that you use should be able to handle lhapdf. Now that this is true that the auto-download install automatically 6.1.6 (partly because the installation of 6.2.1 is highly different from the 6.1.6 and that it will create issue on old version of MG5aMC to link to lhapdf 6.2)

Can I ask you to test a leading order process (like p p > e+ ve) to see if that one is working?

Cheers,

Olivier

> On 25 Jun 2018, at 12:52, Martin Duy Tat <email address hidden> wrote:
>
> New question #670444 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/670444
>
> Dear MadGraph experts,
> I'm currently trying to run the process p p > e+ ve [QCD] on Madgraph 2.6.3 using the PDF library LHAPDF 6.2.1 on Scientific Linux 6.9. I have already successfully installed boost, lhapdf6 and pythia8 through Madgraph, and it ran fine. However, running "install lhapdf6" installed LHAPDF 6.1.6, which doesn't have the PDF sets I need. Therefore I downloaded LHAPDF 6.2.1 seperately, but this gives me an error when running the same process.
>
> If this error is solely due to Madgraph not support LHAPDF 6.2.1 yet, may I ask when this will be supported?
>
> Here is the error. Thank you so much!
>
> INFO: Update the dependent parameter of the param_card.dat
> INFO: Starting run
> INFO: Compiling the code
> INFO: Using LHAPDF v6.2.1 interface for PDFs
> INFO: Compiling source...
> INFO: ...done, continuing with P* directories
> INFO: Compiling directories...
> INFO: Compiling on 32 cores
> INFO: Compiling P0_udx_epve...
> INFO: Compiling P0_dxu_epve...
> WARNING: fct <function compile_dir at 0x7fd934584b18> does not return 0. Stopping the code in a clean way. The error was:
> A compilation Error occurs when trying to compile /data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF2/SubProcesses/P0_udx_epve.
> The compilation fails with the following output message:
> /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -lstdc++ -o test_soft_col_limits parton_lum_1.o parton_lum_2.o parton_lum_3.o parton_lum_chooser.o matrix_1.o matrix_2.o matrix_3.o real_me_chooser.o leshouche_inc_chooser.o fks_inc_chooser.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o fastjetfortran_madfks_core.o fjcore.o fastjet_wrapper.o fks_singular.o veto_xsec.o montecarlocounter.o reweight_xsec.o boostwdir2.o configs_and_props_inc_chooser.o initcluster.o cluster.o reweight.o get_color.o FKSParamReader.o iproc_map.o MC_integer.o appl_interface_dummy.o genps_fks.o weight_lines.o test_soft_col_limits.o BinothLHADummy.o cuts.o pythia_unlops.o recluster.o -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -L/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/HEPTools/lhapdf6/lib -lLHAPDF -lstdc++
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_getpdfsetlist_':
> pdf_lhapdf62.cc:(.text+0x39a): undefined reference to `_ZN6LHAPDF16availablePDFSetsB5cxx11Ev'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_setdatapath_':
> pdf_lhapdf62.cc:(.text+0x528): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `getdatapath_':
> pdf_lhapdf62.cc:(.text+0x79e): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_appenddatapath_':
> pdf_lhapdf62.cc:(.text+0x98b): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> pdf_lhapdf62.cc:(.text+0xba0): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::loadMember(int)':
> pdf_lhapdf62.cc:(.text+0x1985): undefined reference to `LHAPDF::mkPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::PDFSetHandler(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> pdf_lhapdf62.cc:(.text+0x4f9d): undefined reference to `LHAPDF::lookupPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::PDFSetHandler(int)':
> pdf_lhapdf62.cc:(.text+0x52d1): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `pdfset_':
> pdf_lhapdf62.cc:(.text+0x56c2): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `getdescm_':
> pdf_lhapdf62.cc:(.text+0x9145): undefined reference to `LHAPDF::PDFInfo::get_entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::Config::get()':
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF6Config3getEv[_ZN6LHAPDF6Config3getEv]+0x40): undefined reference to `LHAPDF::findFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF6Config3getEv[_ZN6LHAPDF6Config3getEv]+0x109): undefined reference to `LHAPDF::Info::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::PDF::set() const':
> pdf_lhapdf62.cc:(.text._ZNK6LHAPDF3PDF3setEv[_ZNK6LHAPDF3PDF3setEv]+0x158): undefined reference to `LHAPDF::getPDFSet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::setVerbosity(int)':
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF12setVerbosityEi[_ZN6LHAPDF12setVerbosityEi]+0x2b1): undefined reference to `LHAPDF::findFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF12setVerbosityEi[_ZN6LHAPDF12setVerbosityEi]+0x3c3): undefined reference to `LHAPDF::Info::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::pathsPrepend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x14): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x250): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> collect2: error: ld returned 1 exit status
> make: *** [test_soft_col_limits] Error 1
>
> Please try to fix this compilations issue and retry.
> Help might be found at https://answers.launchpad.net/mg5amcnlo.
> If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
> WARNING: fct <function compile_dir at 0x7fd934584b18> does not return 0. Stopping the code in a clean way. The error was:
> A compilation Error occurs when trying to compile /data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF2/SubProcesses/P0_dxu_epve.
> The compilation fails with the following output message:
> /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -lstdc++ -o test_soft_col_limits parton_lum_1.o parton_lum_2.o parton_lum_3.o parton_lum_chooser.o matrix_1.o matrix_2.o matrix_3.o real_me_chooser.o leshouche_inc_chooser.o fks_inc_chooser.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o fastjetfortran_madfks_core.o fjcore.o fastjet_wrapper.o fks_singular.o veto_xsec.o montecarlocounter.o reweight_xsec.o boostwdir2.o configs_and_props_inc_chooser.o initcluster.o cluster.o reweight.o get_color.o FKSParamReader.o iproc_map.o MC_integer.o appl_interface_dummy.o genps_fks.o weight_lines.o test_soft_col_limits.o BinothLHADummy.o cuts.o pythia_unlops.o recluster.o -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -L/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/HEPTools/lhapdf6/lib -lLHAPDF -lstdc++
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_getpdfsetlist_':
> pdf_lhapdf62.cc:(.text+0x39a): undefined reference to `_ZN6LHAPDF16availablePDFSetsB5cxx11Ev'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_setdatapath_':
> pdf_lhapdf62.cc:(.text+0x528): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `getdatapath_':
> pdf_lhapdf62.cc:(.text+0x79e): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `lhapdf_appenddatapath_':
> pdf_lhapdf62.cc:(.text+0x98b): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> pdf_lhapdf62.cc:(.text+0xba0): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::loadMember(int)':
> pdf_lhapdf62.cc:(.text+0x1985): undefined reference to `LHAPDF::mkPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::PDFSetHandler(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> pdf_lhapdf62.cc:(.text+0x4f9d): undefined reference to `LHAPDF::lookupPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `(anonymous namespace)::PDFSetHandler::PDFSetHandler(int)':
> pdf_lhapdf62.cc:(.text+0x52d1): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `pdfset_':
> pdf_lhapdf62.cc:(.text+0x56c2): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `getdescm_':
> pdf_lhapdf62.cc:(.text+0x9145): undefined reference to `LHAPDF::PDFInfo::get_entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::Config::get()':
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF6Config3getEv[_ZN6LHAPDF6Config3getEv]+0x40): undefined reference to `LHAPDF::findFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF6Config3getEv[_ZN6LHAPDF6Config3getEv]+0x109): undefined reference to `LHAPDF::Info::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::PDF::set() const':
> pdf_lhapdf62.cc:(.text._ZNK6LHAPDF3PDF3setEv[_ZNK6LHAPDF3PDF3setEv]+0x158): undefined reference to `LHAPDF::getPDFSet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::setVerbosity(int)':
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF12setVerbosityEi[_ZN6LHAPDF12setVerbosityEi]+0x2b1): undefined reference to `LHAPDF::findFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF12setVerbosityEi[_ZN6LHAPDF12setVerbosityEi]+0x3c3): undefined reference to `LHAPDF::Info::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../../lib//libpdf.a(pdf_lhapdf62.o): In function `LHAPDF::pathsPrepend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x14): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> pdf_lhapdf62.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x250): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> collect2: error: ld returned 1 exit status
> make: *** [test_soft_col_limits] Error 1
>
> Please try to fix this compilations issue and retry.
> Help might be found at https://answers.launchpad.net/mg5amcnlo.
> If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
> WARNING: Fail to compile the Subprocesses
> INFO:
> INFO: Checking test output:
> INFO: P0_udx_epve
> INFO: Result for test_ME:
> Command "launch auto " interrupted with error:
> IOError : [Errno 2] No such file or directory: '/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF2/SubProcesses/P0_udx_epve/test_ME.log'
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Martin Duy Tat (martin.tat) said : #2

Running LO process gives me this error:

INFO: Update the dependent parameter of the param_card.dat
Generating 100 events with run name run_01
survey run_01
INFO: compile directory
INFO: Using LHAPDF v6.2.1 interface for PDFs
compile Source Directory
Error detected in "generate_events run_01"
write debug file /data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF3/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : A compilation Error occurs when trying to compile /data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF3/Source.
 The compilation fails with the following output message:
     /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
     /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
     /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -O3 -I/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/HEPTools/lhapdf6/include -L/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/HEPTools/lhapdf6/lib -lLHAPDF -lLHAPDF -lstdc++ -lbias
     ../lib//libpdf.a(pdf_lhapdf6.o): In function `lhapdf_getpdfsetlist_':
     pdf_lhapdf6.cc:(.text+0x19a): undefined reference to `_ZN6LHAPDF16availablePDFSetsB5cxx11Ev'
     ../lib//libpdf.a(pdf_lhapdf6.o): In function `getdatapath_':
     pdf_lhapdf6.cc:(.text+0x428): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
     ../lib//libpdf.a(pdf_lhapdf6.o): In function `setpdfpath_':
     pdf_lhapdf6.cc:(.text+0x7aa): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
     pdf_lhapdf6.cc:(.text+0xa70): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
     ../lib//libpdf.a(pdf_lhapdf6.o): In function `getdescm_':
     pdf_lhapdf6.cc:(.text+0x80c9): undefined reference to `LHAPDF::PDFInfo::get_entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
     ../lib//libpdf.a(pdf_lhapdf6.o): In function `LHAPDF::PDF::set() const':
     pdf_lhapdf6.cc:(.text._ZNK6LHAPDF3PDF3setEv[_ZNK6LHAPDF3PDF3setEv]+0x158): undefined reference to `LHAPDF::getPDFSet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
     ../lib//libpdf.a(pdf_lhapdf6.o): In function `LHAPDF::pathsPrepend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
     pdf_lhapdf6.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1a): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
     pdf_lhapdf6.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x2d0): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
     ../lib//libpdf.a(pdf_lhapdf6.o): In function `lhapdf_amc::PDFSetHandler::loadMember(int)':
     pdf_lhapdf6.cc:(.text._ZN10lhapdf_amc13PDFSetHandler10loadMemberEi[_ZN10lhapdf_amc13PDFSetHandler10loadMemberEi]+0x75): undefined reference to `LHAPDF::mkPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
     ../lib//libpdf.a(pdf_lhapdf6.o): In function `lhapdf_amc::PDFSetHandler::PDFSetHandler(int)':
     pdf_lhapdf6.cc:(.text._ZN10lhapdf_amc13PDFSetHandlerC2Ei[_ZN10lhapdf_amc13PDFSetHandlerC5Ei]+0x51): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
     collect2: error: ld returned 1 exit status
     make: *** [../bin/internal/combine_events] Error 1

 Please try to fix this compilations issue and retry.
 Help might be found at https://answers.launchpad.net/mg5amcnlo.
 If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo

Are you sure that you compiled lhapdf and MG5aMC with the same version of the compiler.
I have never seen this particular error but it sound similar to error when a user mix g77 and gfortran.

 Cheers,

Olivier

> On 25 Jun 2018, at 13:52, Martin Duy Tat <email address hidden> wrote:
>
> Question #670444 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/670444
>
> Status: Answered => Open
>
> Martin Duy Tat is still having a problem:
> Running LO process gives me this error:
>
> INFO: Update the dependent parameter of the param_card.dat
> Generating 100 events with run name run_01
> survey run_01
> INFO: compile directory
> INFO: Using LHAPDF v6.2.1 interface for PDFs
> compile Source Directory
> Error detected in "generate_events run_01"
> write debug file /data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF3/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> MadGraph5Error : A compilation Error occurs when trying to compile /data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/oldPDF3/Source.
> The compilation fails with the following output message:
> /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
> /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
> /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -O3 -I/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/HEPTools/lhapdf6/include -L/data/atlas/atlasdata/tat/newMG5/MG5_aMC_v2_6_3/HEPTools/lhapdf6/lib -lLHAPDF -lLHAPDF -lstdc++ -lbias
> ../lib//libpdf.a(pdf_lhapdf6.o): In function `lhapdf_getpdfsetlist_':
> pdf_lhapdf6.cc:(.text+0x19a): undefined reference to `_ZN6LHAPDF16availablePDFSetsB5cxx11Ev'
> ../lib//libpdf.a(pdf_lhapdf6.o): In function `getdatapath_':
> pdf_lhapdf6.cc:(.text+0x428): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> ../lib//libpdf.a(pdf_lhapdf6.o): In function `setpdfpath_':
> pdf_lhapdf6.cc:(.text+0x7aa): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> pdf_lhapdf6.cc:(.text+0xa70): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../lib//libpdf.a(pdf_lhapdf6.o): In function `getdescm_':
> pdf_lhapdf6.cc:(.text+0x80c9): undefined reference to `LHAPDF::PDFInfo::get_entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
> ../lib//libpdf.a(pdf_lhapdf6.o): In function `LHAPDF::PDF::set() const':
> pdf_lhapdf6.cc:(.text._ZNK6LHAPDF3PDF3setEv[_ZNK6LHAPDF3PDF3setEv]+0x158): undefined reference to `LHAPDF::getPDFSet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../lib//libpdf.a(pdf_lhapdf6.o): In function `LHAPDF::pathsPrepend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> pdf_lhapdf6.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1a): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
> pdf_lhapdf6.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x2d0): undefined reference to `LHAPDF::setPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> ../lib//libpdf.a(pdf_lhapdf6.o): In function `lhapdf_amc::PDFSetHandler::loadMember(int)':
> pdf_lhapdf6.cc:(.text._ZN10lhapdf_amc13PDFSetHandler10loadMemberEi[_ZN10lhapdf_amc13PDFSetHandler10loadMemberEi]+0x75): undefined reference to `LHAPDF::mkPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
> ../lib//libpdf.a(pdf_lhapdf6.o): In function `lhapdf_amc::PDFSetHandler::PDFSetHandler(int)':
> pdf_lhapdf6.cc:(.text._ZN10lhapdf_amc13PDFSetHandlerC2Ei[_ZN10lhapdf_amc13PDFSetHandlerC5Ei]+0x51): undefined reference to `_ZN6LHAPDF9lookupPDFB5cxx11Ei'
> collect2: error: ld returned 1 exit status
> make: *** [../bin/internal/combine_events] Error 1
>
> Please try to fix this compilations issue and retry.
> Help might be found at https://answers.launchpad.net/mg5amcnlo.
> If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Martin Duy Tat (martin.tat) said : #4

Thank you so much for your help. I've recompiled Madgraph, LHAPDF, Pythia8 etc. This fixed the problem for the LO process, now everything runs perfectly. However, at NLO, a new error has showed up:

INFO: Update the dependent parameter of the param_card.dat
INFO: Starting run
INFO: Compiling the code
INFO: Using LHAPDF v6.2.1 interface for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling directories...
INFO: Compiling on 32 cores
INFO: Compiling P0_udx_epve...
INFO: Compiling P0_dxu_epve...
WARNING: fct <function compile_dir at 0x7f8ef89e05f0> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/LOTEST2/SubProcesses/P0_dxu_epve.
The compilation fails with the following output message:
    /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -o check_poles parton_lum_1.o parton_lum_2.o parton_lum_3.o parton_lum_chooser.o matrix_1.o matrix_2.o matrix_3.o real_me_chooser.o leshouche_inc_chooser.o fks_inc_chooser.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o fastjetfortran_madfks_core.o fjcore.o fastjet_wrapper.o fks_singular.o veto_xsec.o montecarlocounter.o reweight_xsec.o boostwdir2.o configs_and_props_inc_chooser.o initcluster.o cluster.o reweight.o get_color.o FKSParamReader.o iproc_map.o MC_integer.o appl_interface_dummy.o genps_fks.o weight_lines.o cuts.o pythia_unlops.o recluster.o check_poles.o BinothLHA.o born_hel.o -L../../lib/ libMadLoop.a -lcts -liregi -L/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/HEPTools/lib/ -lninja -L/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/HEPTools/lib/ -lavh_olo -L/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/HEPTools/lib/ -lcollier -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -L/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/HEPTools/lhapdf6/lib -lLHAPDF -lstdc++ -lstdc++
    ../../lib//libcts.a(cts_cuttools.o): In function `ctsinit_':
    cts_cuttools.f90:(.text+0x5a4): undefined reference to `qlinit_'
    ../../lib//libcts.a(cts_loopfunctions.o): In function `__loopfunctions_MOD_getloop':
    cts_loopfunctions.f90:(.text+0xd9): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x10d): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x14c): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x395): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x3e5): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x435): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x91d): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x979): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x9e3): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0xeff): undefined reference to `qli4_'
    cts_loopfunctions.f90:(.text+0xf8b): undefined reference to `qli4_'
    cts_loopfunctions.f90:(.text+0x100e): undefined reference to `qli4_'
    ../../lib//libcts.a(cts_loopfunctions.o): In function `__mp_loopfunctions_MOD_get_mp_loop':
    cts_loopfunctions.f90:(.text+0x2a86): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x2ad4): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x2b2c): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x2d6a): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x2dc9): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x2e28): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x3490): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x3508): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x3583): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x3b62): undefined reference to `qli4_'
    cts_loopfunctions.f90:(.text+0x3bf3): undefined reference to `qli4_'
    cts_loopfunctions.f90:(.text+0x3c93): undefined reference to `qli4_'
    ../../lib//libiregi.a(mis_warp.o): In function `__mis_warp_MOD_d0c1':
    mis_warp.f90:(.text+0xd1d): undefined reference to `qlinit_'
    mis_warp.f90:(.text+0xebe): undefined reference to `qli4_'
    mis_warp.f90:(.text+0xfe9): undefined reference to `qli4_'
    mis_warp.f90:(.text+0x131c): undefined reference to `qli4_'
    ../../lib//libiregi.a(mis_warp.o): In function `__mis_warp_MOD_c0c1':
    mis_warp.f90:(.text+0x184f): undefined reference to `qlinit_'
    mis_warp.f90:(.text+0x1fa9): undefined reference to `qli3_'
    ../../lib//libiregi.a(mis_warp.o): In function `__mis_warp_MOD_b0c1':
    mis_warp.f90:(.text+0x2368): undefined reference to `qlinit_'
    mis_warp.f90:(.text+0x2573): undefined reference to `qli2_'
    ../../lib//libiregi.a(mis_warp.o): In function `__mis_warp_MOD_a0c1':
    mis_warp.f90:(.text+0x28c2): undefined reference to `qlinit_'
    mis_warp.f90:(.text+0x28f5): undefined reference to `qli1_'
    collect2: error: ld returned 1 exit status
    make: *** [check_poles] Error 1

Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/mg5amcnlo.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
WARNING: fct <function compile_dir at 0x7f8ef89e05f0> does not return 0. Stopping the code in a clean way. The error was:
A compilation Error occurs when trying to compile /data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/LOTEST2/SubProcesses/P0_udx_epve.
The compilation fails with the following output message:
    /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc620_x86_64_slc6/6.2.0/x86_64-slc6/bin/gfortran -o check_poles parton_lum_1.o parton_lum_2.o parton_lum_3.o parton_lum_chooser.o matrix_1.o matrix_2.o matrix_3.o real_me_chooser.o leshouche_inc_chooser.o fks_inc_chooser.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o fastjetfortran_madfks_core.o fjcore.o fastjet_wrapper.o fks_singular.o veto_xsec.o montecarlocounter.o reweight_xsec.o boostwdir2.o configs_and_props_inc_chooser.o initcluster.o cluster.o reweight.o get_color.o FKSParamReader.o iproc_map.o MC_integer.o appl_interface_dummy.o genps_fks.o weight_lines.o cuts.o pythia_unlops.o recluster.o check_poles.o BinothLHA.o born_hel.o -L../../lib/ libMadLoop.a -lcts -liregi -L/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/HEPTools/lib/ -lninja -L/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/HEPTools/lib/ -lavh_olo -L/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/HEPTools/lib/ -lcollier -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -L/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/HEPTools/lhapdf6/lib -lLHAPDF -lstdc++ -lstdc++
    ../../lib//libcts.a(cts_cuttools.o): In function `ctsinit_':
    cts_cuttools.f90:(.text+0x5a4): undefined reference to `qlinit_'
    ../../lib//libcts.a(cts_loopfunctions.o): In function `__loopfunctions_MOD_getloop':
    cts_loopfunctions.f90:(.text+0xd9): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x10d): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x14c): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x395): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x3e5): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x435): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x91d): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x979): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x9e3): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0xeff): undefined reference to `qli4_'
    cts_loopfunctions.f90:(.text+0xf8b): undefined reference to `qli4_'
    cts_loopfunctions.f90:(.text+0x100e): undefined reference to `qli4_'
    ../../lib//libcts.a(cts_loopfunctions.o): In function `__mp_loopfunctions_MOD_get_mp_loop':
    cts_loopfunctions.f90:(.text+0x2a86): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x2ad4): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x2b2c): undefined reference to `qli1_'
    cts_loopfunctions.f90:(.text+0x2d6a): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x2dc9): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x2e28): undefined reference to `qli2_'
    cts_loopfunctions.f90:(.text+0x3490): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x3508): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x3583): undefined reference to `qli3_'
    cts_loopfunctions.f90:(.text+0x3b62): undefined reference to `qli4_'
    cts_loopfunctions.f90:(.text+0x3bf3): undefined reference to `qli4_'
    cts_loopfunctions.f90:(.text+0x3c93): undefined reference to `qli4_'
    ../../lib//libiregi.a(mis_warp.o): In function `__mis_warp_MOD_d0c1':
    mis_warp.f90:(.text+0xd1d): undefined reference to `qlinit_'
    mis_warp.f90:(.text+0xebe): undefined reference to `qli4_'
    mis_warp.f90:(.text+0xfe9): undefined reference to `qli4_'
    mis_warp.f90:(.text+0x131c): undefined reference to `qli4_'
    ../../lib//libiregi.a(mis_warp.o): In function `__mis_warp_MOD_c0c1':
    mis_warp.f90:(.text+0x184f): undefined reference to `qlinit_'
    mis_warp.f90:(.text+0x1fa9): undefined reference to `qli3_'
    ../../lib//libiregi.a(mis_warp.o): In function `__mis_warp_MOD_b0c1':
    mis_warp.f90:(.text+0x2368): undefined reference to `qlinit_'
    mis_warp.f90:(.text+0x2573): undefined reference to `qli2_'
    ../../lib//libiregi.a(mis_warp.o): In function `__mis_warp_MOD_a0c1':
    mis_warp.f90:(.text+0x28c2): undefined reference to `qlinit_'
    mis_warp.f90:(.text+0x28f5): undefined reference to `qli1_'
    collect2: error: ld returned 1 exit status
    make: *** [check_poles] Error 1

Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/mg5amcnlo.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
WARNING: Fail to compile the Subprocesses
INFO:
INFO: Checking test output:
INFO: P0_udx_epve
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
Command "launch auto " interrupted with error:
IOError : [Errno 2] No such file or directory: '/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/LOTEST2/SubProcesses/P0_udx_epve/check_poles.log'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/data/atlas/atlasdata/tat/MG5_aMC_v2_6_3/LOTEST2/run_04_tag_1_debug.log'.
Please attach this file to your report.

Again, thank you!

Martin Duy Tat (martin.tat) said : #5

Turns out the last error was due to some mysterious error during compilation of Madgraph. I recompiled from scratch, now everything works perfectly. Thank you so much for your help Olivier.

Great excellent.

Thanks,

Olivier