Hi! I am using MadGraph 2.4.3 on lxplus
I set up my environment doing the following:
##########################################
setupATLAS
lsetup root
export PYTHONDIR=/afs/cern.ch/sw/lcg/external/Python/2.7.3/x86_64-slc6-gcc48-opt
export PYTHONPATH=$PYTHONPATH:$ROOTSYS/lib
export LD_LIBRARY_PATH=$ROOTSYS/lib:$PYTHONDIR/lib:$LD_LIBRARY_PATH:/opt/rh/python27/root/usr/lib64
export PATH=/afs/cern.ch/work/a/aleopold/private/software/madgraph5/LHAPDF-install/bin:$PATH
export LD_LIBRARY_PATH=/afs/cern.ch/work/a/aleopold/private/software/madgraph4/LHAPDF-install/lib:$LD_LIBRARY_PATH
export PYTHONPATH=/afs/cern.ch/work/a/aleopold/private/software/madgraph4/LHAPDF-install/lib64/python2.7/site-packages:$PYTHONPATH
export PYTHONDIR=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.13-x86_64-slc6-gcc49/2.7.13-597a5/x86_64-slc6-gcc49-opt
export PYTHONPATH=/afs/cern.ch/work/a/aleopold/private/software/madgraph5/LHAPDF-install/lib64/python2.7/site-packages:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.14-x86_64-slc6-gcc49-opt/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.14-x86_64-slc6-gcc49-opt/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.14-x86_64-slc6-gcc49-opt/lib
export LD_LIBRARY_PATH=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.14-x86_64-slc6-gcc49-opt/lib:/afs/cern.ch/sw/lcg/external/Python/2.7.3/x86_64-slc6-gcc48-opt/lib:/afs/cern.ch/work/a/aleopold/private/software/madgraph5/LHAPDF-install/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.14-x86_64-slc6-gcc49-opt/lib:/afs/cern.ch/sw/lcg/external/Python/2.7.3/x86_64-slc6-gcc48-opt/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/davix/0.6.6-x86_64-slc6/lib64:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/xrootd/4.2.3-x86_64-slc6/v4.2.3/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.14-x86_64-slc6-gcc49-opt/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/fftw/3.1.2-x86_64-slc6-gcc49-opt/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/gsl/1.10-x86_64-slc6-gcc49-opt/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.13-x86_64-slc6-gcc49/2.7.13-597a5/x86_64-slc6-gcc49-opt/lib:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc493_x86_64_slc6/slc6/gcc49/lib64:/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc493_x86_64_slc6/slc6/gcc49/lib::/opt/rh/python27/root/usr/lib64:/opt/rh/python27/root/usr/lib64
##########################################
and then try to generate some susy events with the following script (which has worked in the past and also works for other people)
##########################################
set max_npoint_for_channel 0
import model_v4 mssm
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define susystrong = go ul ur dl dr cl cr sl sr t1 t2 b1 b2 ul~ ur~ dl~ dr~ cl~ cr~ sl~ sr~ t1~ t2~ b1~ b2~
generate p p > x1+ n2 $ susystrong \@1
add process p p > x1- n2 $ susystrong \@2
output SUSY -nojpeg
launch
set run_card ebeam1 6500
set run_card ebeam2 6500
set run_card pdlabel lhapdf
set run_card lhaid 247000
set run_card nevents 10000
set run_card iseed 1
set run_card drjj 0
set mass 1000022 250
set mass 1000023 650
set mass 1000024 650
set mass 25 125
set mass 1000001 5.68441109E+05 # ~d_L^M
set mass 2000001 5.45228462E+05 # ~d_R^M
set mass 1000002 5.61119014E+05 # ~u_L^M
set mass 2000002 5.49259265E+05 # ~u_R^M
set mass 1000003 5.68441109E+05 # ~s_L^M
set mass 2000003 5.45228462E+05 # ~s_R^M
set mass 1000004 5.61119014E+05 # ~c_L^M
set mass 2000004 5.49259265E+05 # ~c_R^M
set mass 1000005 5.13065179E+05 # ~b_1^M
set mass 2000005 5.43726676E+05 # ~b_2^M
set mass 1000006 3.99668493E+05 # ~t_1^M
set mass 2000006 5.85785818E+05 # ~t_2^M
set mass 1000011 2.02915690E+05 # ~e_L^M
set mass 2000011 1.44102799E+05 # ~e_R^M
set mass 1000012 1.85258326E+05 # ~nu_eL^M
set mass 1000013 2.02915690E+05 # ~mu_L^M
set mass 2000013 1.44102799E+05 # ~mu_R^M
set mass 1000014 1.85258326E+05 # ~nu_muL^M
set mass 1000015 1.34490864E+05 # ~tau_1^M
set mass 2000015 2.06867805E+05 # ~tau_2^M
set mass 1000016 1.84708464E+05 # ~nu_tauL^M
set mass 1000021 6.07713704E+05 # ~g^M
set mass 1000025 -3.63756027E+05 # ~chi_30^M
set mass 1000035 3.81729382E+05 # ~chi_40^M
set mass 1000037 3.79939320E+05 # ~chi_2+^M
##########################################
I somehow run into a compilation error. I tried to reinstall the whole thing, but I get the same result:
compile Source Directory
Error detected in "generate_events run_01"
write debug file /afs/cern.ch/work/a/aleopold/private/software/madgraph4/MG5_aMC_v2_4_3/SUSY/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 /afs/cern.ch/work/a/aleopold/private/software/madgraph4/MG5_aMC_v2_4_3/SUSY/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 -lstdc++ -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 -lLHAPDF
../lib//libpdf.a(pdf_lhapdf6.o): In function `lhapdf_getpdfsetlist_':
pdf_lhapdf6.cc:(.text+0x40): undefined reference to `_ZN6LHAPDF16availablePDFSetsB5cxx11Ev'
../lib//libpdf.a(pdf_lhapdf6.o): In function `getdatapath_':
pdf_lhapdf6.cc:(.text+0x286): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
../lib//libpdf.a(pdf_lhapdf6.o): In function `setpdfpath_':
pdf_lhapdf6.cc:(.text+0x581): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
pdf_lhapdf6.cc:(.text+0x7df): 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::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]+0x17): undefined reference to `_ZN6LHAPDF5pathsB5cxx11Ev'
pdf_lhapdf6.cc:(.text._ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6LHAPDF12pathsPrependERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x217): 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::PDF::set() const':
pdf_lhapdf6.cc:(.text._ZNK6LHAPDF3PDF3setEv[_ZNK6LHAPDF3PDF3setEv]+0x207): 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 `_ZN6LHAPDF11getPDFIndexB5cxx11Ev':
pdf_lhapdf6.cc:(.text._ZN6LHAPDF11getPDFIndexB5cxx11Ev[_ZN6LHAPDF11getPDFIndexB5cxx11Ev]+0xcb): undefined reference to `LHAPDF::findFile(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]+0x192): undefined reference to `LHAPDF::mkPDF(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
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
If there are any hints on to what could cause this I would be very grateful!
Best,
Alex