Hello,
I am trying to run MG5_aMC_v2_2_2 on a machine of SMU university.
on this machine they have installed an lhapdf in /usr/local which I don't have permission to get access there and I get this error when it trying to download the PDF:
INFO: Using LHAPDF v5.8.9 interface for PDFs
INFO: Trying to download NNPDF23_nlo_as_0118.LHgrid
Getting sets from http://www.hepforge.org/archive/lhapdf/pdfsets/current
Installing sets to /usr/local/share/lhapdf/PDFsets
Error: [Errno 13] Permission denied: '/usr/local/share/lhapdf/PDFsets'
WARNING: Could not download NNPDF23_nlo_as_0118.LHgrid into /users/ali/MG5_aMC_v2_2_2/amcfast_test/lib/PDFsets. Trying to save it locally
So, I have attempted to install a local lhapdf and set the lhapdf-config to this and then I get this error:
Starting run
INFO: Compiling the code
INFO: Using LHAPDF v5.9.1 interface for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling directories...
INFO: Compiling on 8 cores
INFO: Compiling P0_dxu_wp...
INFO: Compiling P0_udx_wp...
WARNING: A compilation Error occurs when trying to compile /users/ali/MG5_aMC_v2_2_2/amcfast_test/SubProcesses/P0_udx_wp.
The compilation fails with the following output message:
/usr/bin/gfortran -o test_ME symmetry_fks_test_ME.o 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 fks_inc_chooser.o leshouche_inc_chooser.o genps_fks.o setcuts.o setscales.o born.o sborn_sf.o b_sf_001.o fks_Sij.o trapfpe.o fastjetfortran_madfks_full.o fastjet_wrapper.o fks_singular.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.o BinothLHADummy.o cuts.o pythia_unlops.o recluster.o -L/users/ali/lib -lAPPLgrid -m64 -L/usr/lib/x86_64-linux-gnu -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic -u setup_amcfast_ -L/users/ali/lib -lamcfast -lamcfastcore -L../../lib/ -ldhelas -lgeneric -lmodel -lpdf -lcernlib -lLHAPDF -lstdc++ -Wl,-rpath,/usr/local/lib -lm -L/usr/local/lib -lfastjettools -lfastjet -lfastjetplugins -lsiscone_spherical -lsiscone -lstdc++
/usr/bin/ld: warning: libgfortran.so.1, needed by /users/ali/lib/libLHAPDF.so, not found (try using -rpath or -rpath-link)
/users/ali/lib/libamcfast.a(amcfast_interface.o): In function `amcfast::fill()':
amcfast_interface.cxx:(.text+0x39c): undefined reference to `appl::grid::fill_phasespace(double, double, double, double, double const*, int)'
amcfast_interface.cxx:(.text+0x586): undefined reference to `appl::grid::fill_phasespace(double, double, double, double, double const*, int)'
amcfast_interface.cxx:(.text+0x5d4): undefined reference to `appl::grid::fill_phasespace(double, double, double, double, double const*, int)'
amcfast_interface.cxx:(.text+0x61e): undefined reference to `appl::grid::fill_phasespace(double, double, double, double, double const*, int)'
amcfast_interface.cxx:(.text+0x631): undefined reference to `appl::grid::fill(double, double, double, double, double const*, int)'
amcfast_interface.cxx:(.text+0x661): undefined reference to `appl::grid::fill(double, double, double, double, double const*, int)'
amcfast_interface.cxx:(.text+0x691): undefined reference to `appl::grid::fill(double, double, double, double, double const*, int)'
amcfast_interface.cxx:(.text+0x69b): undefined reference to `appl::grid::fill(double, double, double, double, double const*, int)'
/users/ali/lib/libamcfast.a(amcfast_interface.o): In function `amcfast::init()':
amcfast_interface.cxx:(.text+0x1f2e): undefined reference to `lumi_pdf::lumi_pdf(std::string const&, std::vector<int, std::allocator<int> > const&)'
amcfast_interface.cxx:(.text+0x2279): undefined reference to `appl::grid::grid(std::string const&, std::string const&)'
amcfast_interface.cxx:(.text+0x245e): undefined reference to `appl::grid::grid(int, double, double, int, int, double, double, int, int, double, double, std::string, int, int, std::string)'
I think as you can see it cannot find the library of gfortran and applgrid I do n't know how to give the path of this library to madgraph, I'm trying LD_LIBRARY_PATH=/.../ but it was not useful.
I wil appreciate any help.
Thanks,
Alirzea.