Madgraph compilation error on Mac M1 silicon chip

Asked by sehar ajmal

Hi, I am attaching my error which i get when i tried to run tutorial process but for pdflabel= lhapdf and lhaid=263000.
I alos tried different methods such as
1) installation of gfortran for M1
2) installation of xcode comand line tools
3) tried with different versions of Madgraph.

ERROR detail...
INFO: Update the dependent parameter of the param_card.dat
Generating 10000 events with run name run_02
survey run_02
INFO: compile directory
INFO: Using LHAPDF v6.3.0 interface for PDFs
INFO: Trying to download NNPDF30_lo_as_0130
  File "/opt/homebrew/Cellar/python@3.9/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site.py", line 178
    file=sys.stderr)
        ^
SyntaxError: invalid syntax
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 248 100 248 0 0 338 0 --:--:-- --:--:-- --:--:-- 867
100 26.0M 100 26.0M 0 0 1201k 0 0:00:22 0:00:22 --:--:-- 1308k
x NNPDF30_lo_as_0130/
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0056.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0037.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0042.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130.info
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0072.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0099.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0021.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0016.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0020.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0089.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0068.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0053.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0070.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0052.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0046.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0008.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0083.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0033.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0032.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0045.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0024.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0086.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0081.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0062.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0057.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0030.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0078.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0041.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0088.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0005.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0079.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0036.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0051.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0084.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0050.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0100.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0019.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0034.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0073.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0035.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0069.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0040.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0025.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0000.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0065.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0095.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0013.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0085.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0027.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0018.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0049.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0064.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0012.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0066.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0067.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0015.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0077.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0094.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0074.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0002.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0017.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0009.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0031.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0044.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0063.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0096.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0087.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0001.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0055.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0060.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0075.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0022.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0061.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0080.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0091.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0039.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0082.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0090.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0047.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0007.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0054.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0023.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0038.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0026.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0006.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0014.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0048.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0004.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0059.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0003.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0011.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0093.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0043.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0097.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0010.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0058.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0029.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0098.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0071.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0076.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0028.dat
x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0092.dat
INFO: NNPDF30_lo_as_0130 successfully downloaded and stored in /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/lib/PDFsets
WARNING: [Errno 17] File exists: '/Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/lib/PDFsets/NNPDF30_lo_as_0130'
compile Source Directory
Using random number seed offset = 27
INFO: Running Survey
Creating Jobs
Working on SubProcesses
INFO: Compiling for process 1/2.
INFO: P1_gg_ttx
Error detected in "generate_events run_02"
write debug file /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_02_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : A compilation Error occurs when trying to compile /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/SubProcesses/P1_gg_ttx.
 The compilation fails with the following output message:
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c driver.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c myamp.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c genps.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c get_color.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cuts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cluster.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c reweight.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setscales.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c idenparts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c dummy_fct.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c matrix1_orig.f -I../../Source/
     gfortran -o madevent_forhel driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1_orig.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib -static-libstdc++ -std=c++11 -I/Users/seharajmal/Work/MG5_aMC_v3_1_1/HEPTools/lhapdf6_py3/include -L/Users/seharajmal/Work/MG5_aMC_v3_1_1/HEPTools/lhapdf6_py3//lib -lLHAPDF -lLHAPDF -lbias -lc++ -mmacosx-version-min=10.8
     ld: warning: ld: warning: object file (myamp.o) was built for newer macOS version (11.5) than being linked (10.8)object file (driver.o) was built for newer macOS version (11.5) than being linked (10.8)

     ld: warning: object file (genps.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (unwgt.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (setcuts.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (get_color.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (cuts.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (cluster.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (reweight.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (initcluster.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (addmothers.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (setscales.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (idenparts.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (dummy_fct.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (auto_dsig.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (matrix1_orig.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (auto_dsig1.o) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: dylib (/opt/homebrew/Cellar/gcc/11.2.0/lib/gcc/11/libgfortran.dylib) was built for newer macOS version (11.4) than being linked (10.8)
     ld: warning: dylib (/opt/homebrew/Cellar/gcc/11.2.0/lib/gcc/11/libgcc_s.1.1.dylib) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libdsample.a(DiscreteSampler.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(alfas_functions_lhapdf.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libbias.a(dummy.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libdhelas.a(aloha_functions.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(basecode.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(dgauss.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(kin_functions.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libdhelas.a(FFV1_0.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libdhelas.a(FFV1_1.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libdhelas.a(FFV1_2.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(getissud.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(invarients.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libpdf.a(opendata.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(open_file.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libpdf.a(pdg2pdf_lhapdf6.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libmodel.a(printout.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libdsample.a(dsample.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libdsample.a(ranmar.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(rw_events.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(readgrid.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(run_printout.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libmodel.a(rw_para.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(setrun.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(transpole.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libmodel.a(couplings.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libdhelas.a(VVV1P0_1.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(ran1.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libdsample.a(StringCast.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libpdf.a(pdf_lhapdf62.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libmodel.a(couplings1.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libmodel.a(couplings2.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libcernlib.a(dlsqp2.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libpdf.a(PhotonFlux.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libgeneric.a(pawgraphs.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libpdf.a(pdfwrap_lhapdf.o)) was built for newer macOS version (11.5) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(libLHAPDFPaths_la-Paths.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(Factories.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(Config.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(PDFIndex.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(PDF.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(PDFSet.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(AlphaS_ODE.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(Utils.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(AlphaS_Ipol.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(FileIO.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(libLHAPDFInfo_la-Info.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(AlphaS.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(GridPDF.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(PDFInfo.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(AlphaS_Analytic.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(ErrExtrapolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(BicubicInterpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(BilinearInterpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(LogBicubicInterpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(LogBilinearInterpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(ContinuationExtrapolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(NearestPointExtrapolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-exceptions.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-parse.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-node_data.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emitter.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emit.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(KnotArray.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(Interpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-nodeevents.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-nodebuilder.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emitterstate.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emitfromevents.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-ostream_wrapper.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emitterutils.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-parser.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-memory.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-directives.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-binary.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-null.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-singledocparser.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-regex_yaml.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-scanner.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-tag.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-stream.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-scantoken.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-simplekey.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-scanscalar.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-scantag.o)) was built for newer macOS version (11.0) than being linked (10.8)
     ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-exp.o)) was built for newer macOS version (11.0) than being linked (10.8)
     Undefined symbols for architecture arm64:
       "___chkstk_darwin", referenced from:
           __ZN6LHAPDF8mkAlphaSERKNS_4InfoE in libLHAPDF.a(Factories.o)
     ld: symbol(s) not found for architecture arm64
     collect2: error: ld returned 1 exit status
     make: *** [madevent_forhel] 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
quit

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
sehar ajmal
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

Looks like an error which occurs when you compile some libraries with one compiler and some other libraries with another compiler. So the typical solution in that case is to remove everything and re-install everything with the same compiler.

Note that I'm not aware of a gfortran version compiled with M1 that support quadruple precision.
(If you have found one please tell how you have installed it -- or if you have compile it from source --)
So using a gfortran compiled with M1 will not work at NLO accuracy.

Cheers,

Olivier

> On 4 Oct 2021, at 19:20, sehar ajmal <email address hidden> wrote:
>
> New question #698961 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/698961
>
> Hi, I am attaching my error which i get when i tried to run tutorial process but for pdflabel= lhapdf and lhaid=263000.
> I alos tried different methods such as
> 1) installation of gfortran for M1
> 2) installation of xcode comand line tools
> 3) tried with different versions of Madgraph.
>
>
> ERROR detail...
> INFO: Update the dependent parameter of the param_card.dat
> Generating 10000 events with run name run_02
> survey run_02
> INFO: compile directory
> INFO: Using LHAPDF v6.3.0 interface for PDFs
> INFO: Trying to download NNPDF30_lo_as_0130
> File "/opt/homebrew/Cellar/python@3.9/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site.py", line 178
> file=sys.stderr)
> ^
> SyntaxError: invalid syntax
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> 100 248 100 248 0 0 338 0 --:--:-- --:--:-- --:--:-- 867
> 100 26.0M 100 26.0M 0 0 1201k 0 0:00:22 0:00:22 --:--:-- 1308k
> x NNPDF30_lo_as_0130/
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0056.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0037.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0042.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130.info
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0072.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0099.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0021.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0016.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0020.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0089.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0068.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0053.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0070.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0052.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0046.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0008.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0083.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0033.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0032.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0045.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0024.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0086.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0081.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0062.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0057.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0030.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0078.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0041.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0088.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0005.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0079.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0036.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0051.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0084.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0050.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0100.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0019.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0034.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0073.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0035.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0069.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0040.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0025.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0000.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0065.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0095.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0013.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0085.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0027.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0018.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0049.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0064.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0012.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0066.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0067.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0015.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0077.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0094.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0074.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0002.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0017.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0009.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0031.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0044.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0063.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0096.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0087.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0001.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0055.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0060.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0075.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0022.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0061.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0080.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0091.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0039.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0082.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0090.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0047.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0007.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0054.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0023.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0038.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0026.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0006.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0014.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0048.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0004.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0059.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0003.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0011.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0093.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0043.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0097.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0010.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0058.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0029.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0098.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0071.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0076.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0028.dat
> x NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0092.dat
> INFO: NNPDF30_lo_as_0130 successfully downloaded and stored in /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/lib/PDFsets
> WARNING: [Errno 17] File exists: '/Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/lib/PDFsets/NNPDF30_lo_as_0130'
> compile Source Directory
> Using random number seed offset = 27
> INFO: Running Survey
> Creating Jobs
> Working on SubProcesses
> INFO: Compiling for process 1/2.
> INFO: P1_gg_ttx
> Error detected in "generate_events run_02"
> write debug file /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_02_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> str : A compilation Error occurs when trying to compile /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/SubProcesses/P1_gg_ttx.
> The compilation fails with the following output message:
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c driver.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c myamp.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c genps.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c get_color.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cuts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cluster.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c reweight.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setscales.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c idenparts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c dummy_fct.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c matrix1_orig.f -I../../Source/
> gfortran -o madevent_forhel driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1_orig.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib -static-libstdc++ -std=c++11 -I/Users/seharajmal/Work/MG5_aMC_v3_1_1/HEPTools/lhapdf6_py3/include -L/Users/seharajmal/Work/MG5_aMC_v3_1_1/HEPTools/lhapdf6_py3//lib -lLHAPDF -lLHAPDF -lbias -lc++ -mmacosx-version-min=10.8
> ld: warning: ld: warning: object file (myamp.o) was built for newer macOS version (11.5) than being linked (10.8)object file (driver.o) was built for newer macOS version (11.5) than being linked (10.8)
>
> ld: warning: object file (genps.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (unwgt.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (setcuts.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (get_color.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (cuts.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (cluster.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (reweight.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (initcluster.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (addmothers.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (setscales.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (idenparts.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (dummy_fct.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (auto_dsig.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (matrix1_orig.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (auto_dsig1.o) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: dylib (/opt/homebrew/Cellar/gcc/11.2.0/lib/gcc/11/libgfortran.dylib) was built for newer macOS version (11.4) than being linked (10.8)
> ld: warning: dylib (/opt/homebrew/Cellar/gcc/11.2.0/lib/gcc/11/libgcc_s.1.1.dylib) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libdsample.a(DiscreteSampler.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(alfas_functions_lhapdf.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libbias.a(dummy.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libdhelas.a(aloha_functions.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(basecode.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(dgauss.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(kin_functions.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libdhelas.a(FFV1_0.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libdhelas.a(FFV1_1.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libdhelas.a(FFV1_2.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(getissud.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(invarients.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libpdf.a(opendata.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(open_file.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libpdf.a(pdg2pdf_lhapdf6.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libmodel.a(printout.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libdsample.a(dsample.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libdsample.a(ranmar.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(rw_events.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(readgrid.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(run_printout.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libmodel.a(rw_para.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(setrun.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(transpole.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libmodel.a(couplings.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libdhelas.a(VVV1P0_1.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(ran1.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libdsample.a(StringCast.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libpdf.a(pdf_lhapdf62.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libmodel.a(couplings1.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libmodel.a(couplings2.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libcernlib.a(dlsqp2.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libpdf.a(PhotonFlux.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libgeneric.a(pawgraphs.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libpdf.a(pdfwrap_lhapdf.o)) was built for newer macOS version (11.5) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(libLHAPDFPaths_la-Paths.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(Factories.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(Config.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(PDFIndex.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(PDF.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(PDFSet.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(AlphaS_ODE.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(Utils.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(AlphaS_Ipol.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(FileIO.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(libLHAPDFInfo_la-Info.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(AlphaS.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(GridPDF.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(PDFInfo.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(AlphaS_Analytic.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(ErrExtrapolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(BicubicInterpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(BilinearInterpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(LogBicubicInterpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(LogBilinearInterpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(ContinuationExtrapolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(NearestPointExtrapolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-exceptions.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-parse.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-node_data.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emitter.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emit.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(KnotArray.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(Interpolator.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-nodeevents.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-nodebuilder.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emitterstate.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emitfromevents.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-ostream_wrapper.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-emitterutils.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-parser.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-memory.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-directives.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-binary.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-null.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-singledocparser.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-regex_yaml.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-scanner.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-tag.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-stream.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-scantoken.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-simplekey.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-scanscalar.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-scantag.o)) was built for newer macOS version (11.0) than being linked (10.8)
> ld: warning: object file (../../lib//libLHAPDF.a(liblhapdf_yaml_cpp_la-exp.o)) was built for newer macOS version (11.0) than being linked (10.8)
> Undefined symbols for architecture arm64:
> "___chkstk_darwin", referenced from:
> __ZN6LHAPDF8mkAlphaSERKNS_4InfoE in libLHAPDF.a(Factories.o)
> ld: symbol(s) not found for architecture arm64
> collect2: error: ld returned 1 exit status
> make: *** [madevent_forhel] 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
> quit
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
sehar ajmal (sajmal0) said :
#2

Hi Olivier, Thank you for your response. I tried your suggestion and up to some extent it worked. Now i'm using clang 12.0.5 and gcc compilers , but still it is giving me some errors (alot less than before). I am attaching the error here

Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
compile Source Directory
Error detected in "generate_events run_01"
write debug file /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : A compilation Error occurs when trying to compile /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/Source.
 The compilation fails with the following output message:
     Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
     gcc -w -fPIC -O -ffixed-line-length-132 -c -o StringCast.o StringCast.f
     gcc -w -fPIC -O -ffixed-line-length-132 -c -o ranmar.o ranmar.f
     gcc -w -fPIC -O -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
     gcc -w -fPIC -O -ffixed-line-length-132 -c -o transpole.o transpole.f
     gcc -w -fPIC -O -ffixed-line-length-132 -c -o invarients.o invarients.f
     gcc -w -fPIC -O -ffixed-line-length-132 -c -o hfill.o hfill.f
     gcc -w -fPIC -O -ffixed-line-length-132 -c -o pawgraphs.o pawgraphs.f
     gcc -w -fPIC -O -ffixed-line-length-132 -c -o ran1.o ran1.f
     error: invalid value 'f95' in '-x f95'
     error: invalid value 'f95' in '-x f95'
     make: *** [ranmar.o] Error 1
     make: *** Waiting for unfinished jobs....
     error: invalid value 'f95' in '-x f95'
     make: *** [hfill.o] Error 1
     error: invalid value 'f95' in '-x f95'
     error: invalid value 'f95' in '-x f95'
     make: *** [alfas_functions.o] Error 1
     make: *** [StringCast.o] Error 1
     make: *** [transpole.o] Error 1
     error: invalid value 'f95' in '-x f95'
     error: invalid value 'f95' in '-x f95'
     error: invalid value 'f95' in '-x f95'
     make: *** [ran1.o] Error 1
     make: *** [invarients.o] Error 1
     make: *** [pawgraphs.o] 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

Thanks again
Regards

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Hi,

You are using gcc + clang?
I was not aware that gcc can compile fortran file.
I guess that this is actually the issue reported by the code... that gcc can not be used to compiled fortran file.

One configuration (also on M1) that works is gfortran + clang.

Cheers,

Olivier

> On 5 Oct 2021, at 10:46, sehar ajmal <email address hidden> wrote:
>
> Question #698961 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/698961
>
> Status: Answered => Open
>
> sehar ajmal is still having a problem:
> Hi Olivier, Thank you for your response. I tried your suggestion and up
> to some extent it worked. Now i'm using clang 12.0.5 and gcc compilers ,
> but still it is giving me some errors (alot less than before). I am
> attaching the error here
>
> Generating 10000 events with run name run_01
> survey run_01
> INFO: compile directory
> compile Source Directory
> Error detected in "generate_events run_01"
> write debug file /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> str : A compilation Error occurs when trying to compile /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/Source.
> The compilation fails with the following output message:
> Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
> gcc -w -fPIC -O -ffixed-line-length-132 -c -o StringCast.o StringCast.f
> gcc -w -fPIC -O -ffixed-line-length-132 -c -o ranmar.o ranmar.f
> gcc -w -fPIC -O -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
> gcc -w -fPIC -O -ffixed-line-length-132 -c -o transpole.o transpole.f
> gcc -w -fPIC -O -ffixed-line-length-132 -c -o invarients.o invarients.f
> gcc -w -fPIC -O -ffixed-line-length-132 -c -o hfill.o hfill.f
> gcc -w -fPIC -O -ffixed-line-length-132 -c -o pawgraphs.o pawgraphs.f
> gcc -w -fPIC -O -ffixed-line-length-132 -c -o ran1.o ran1.f
> error: invalid value 'f95' in '-x f95'
> error: invalid value 'f95' in '-x f95'
> make: *** [ranmar.o] Error 1
> make: *** Waiting for unfinished jobs....
> error: invalid value 'f95' in '-x f95'
> make: *** [hfill.o] Error 1
> error: invalid value 'f95' in '-x f95'
> error: invalid value 'f95' in '-x f95'
> make: *** [alfas_functions.o] Error 1
> make: *** [StringCast.o] Error 1
> make: *** [transpole.o] Error 1
> error: invalid value 'f95' in '-x f95'
> error: invalid value 'f95' in '-x f95'
> error: invalid value 'f95' in '-x f95'
> make: *** [ran1.o] Error 1
> make: *** [invarients.o] Error 1
> make: *** [pawgraphs.o] 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
>
>
> Thanks again
> Regards
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
sehar ajmal (sajmal0) said :
#4

Hi, Thanks Olivier
but with gfortran the error looks like this

INFO: Update the dependent parameter of the param_card.dat
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
compile Source Directory
Using random number seed offset = 21
INFO: Running Survey
Creating Jobs
Working on SubProcesses
INFO: Compiling for process 1/2.
INFO: P1_gg_ttx
Error detected in "generate_events run_01"
write debug file /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : A compilation Error occurs when trying to compile /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/SubProcesses/P1_gg_ttx.
 The compilation fails with the following output message:
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c driver.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c myamp.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c genps.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c get_color.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cuts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cluster.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c reweight.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setscales.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c idenparts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c dummy_fct.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c matrix1_orig.f -I../../Source/
     gfortran -o madevent_forhel driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1_orig.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib -lbias -lc++ -mmacosx-version-min=10.8
     ld: library not found for -lgfortran
     collect2: error: ld returned 1 exit status
     make: *** [madevent_forhel] 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
quit
INFO:

Regards

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

Which seems to indicate that you have an issue with the linking of some gfortran library.
I guess you did not install it correctly did you use:
http://hpc.sourceforge.net/ <http://hpc.sourceforge.net/>
for the installation of gfortran?

Cheers,

Olivier

> On 5 Oct 2021, at 11:11, sehar ajmal <email address hidden> wrote:
>
> Question #698961 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/698961
>
> Status: Answered => Open
>
> sehar ajmal is still having a problem:
> Hi, Thanks Olivier
> but with gfortran the error looks like this
>
> INFO: Update the dependent parameter of the param_card.dat
> Generating 10000 events with run name run_01
> survey run_01
> INFO: compile directory
> compile Source Directory
> Using random number seed offset = 21
> INFO: Running Survey
> Creating Jobs
> Working on SubProcesses
> INFO: Compiling for process 1/2.
> INFO: P1_gg_ttx
> Error detected in "generate_events run_01"
> write debug file /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> str : A compilation Error occurs when trying to compile /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/SubProcesses/P1_gg_ttx.
> The compilation fails with the following output message:
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c driver.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c myamp.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c genps.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c get_color.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cuts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cluster.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c reweight.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setscales.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c idenparts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c dummy_fct.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c matrix1_orig.f -I../../Source/
> gfortran -o madevent_forhel driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1_orig.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib -lbias -lc++ -mmacosx-version-min=10.8
> ld: library not found for -lgfortran
> collect2: error: ld returned 1 exit status
> make: *** [madevent_forhel] 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
> quit
> INFO:
>
> Regards
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
sehar ajmal (sajmal0) said :
#6

Now i reinstalled it and get this
INFO: Update the dependent parameter of the param_card.dat
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
compile Source Directory
Error detected in "generate_events run_01"
write debug file /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : A compilation Error occurs when trying to compile /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/Source.
 The compilation fails with the following output message:
     gfortran -w -fPIC -O -ffixed-line-length-132 -c -o setrun.o setrun.f
     cd PDF; make
     cd MODEL; make
     make: *** [setrun.o] Killed: 9
     make: *** Waiting for unfinished jobs....
     ar cru ../../lib/libpdf.a Ctq6Pdf.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDriver.o
     gfortran -w -fPIC -O -ffixed-line-length-132 -c -o rw_para.o rw_para.f
     ranlib ../../lib/libpdf.a
     make[1]: *** [rw_para.o] Killed: 9
     make: *** [../lib/libmodel.a] Error 2

 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
quit

Thank you so much for your response.
Regards

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#7

who send the signal 9 to the process? you?

Olivier

> On 5 Oct 2021, at 12:15, sehar ajmal <email address hidden> wrote:
>
> Question #698961 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/698961
>
> Status: Answered => Open
>
> sehar ajmal is still having a problem:
> Now i reinstalled it and get this
> INFO: Update the dependent parameter of the param_card.dat
> Generating 10000 events with run name run_01
> survey run_01
> INFO: compile directory
> compile Source Directory
> Error detected in "generate_events run_01"
> write debug file /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> str : A compilation Error occurs when trying to compile /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/Source.
> The compilation fails with the following output message:
> gfortran -w -fPIC -O -ffixed-line-length-132 -c -o setrun.o setrun.f
> cd PDF; make
> cd MODEL; make
> make: *** [setrun.o] Killed: 9
> make: *** Waiting for unfinished jobs....
> ar cru ../../lib/libpdf.a Ctq6Pdf.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDriver.o
> gfortran -w -fPIC -O -ffixed-line-length-132 -c -o rw_para.o rw_para.f
> ranlib ../../lib/libpdf.a
> make[1]: *** [rw_para.o] Killed: 9
> make: *** [../lib/libmodel.a] Error 2
>
> 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
> quit
>
>
> Thank you so much for your response.
> Regards
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
sehar ajmal (sajmal0) said :
#8

Hi, the problem regarding compilers solved after reinstalling everything and specifying compilers gfortran and clang in the mg5 configuration file. Thank you!

However, when using NNPDF30 is giving me errors. given as

INFO: Refine results to 10000
INFO: Generating 10000.0 unweighted events.
Error when reading /Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/SubProcesses/P1_gg_ttx/G1/results.dat
Command "generate_events " interrupted with error:
Exception : Reported error: End code 134.0
  Full associated log:
 ==== LHAPDF6 USING DEFAULT-TYPE LHAGLUE INTERFACE ====
 LHAPDF 6.3.0 loading /Users/seharajmal/Work/MG5_aMC_v3_1_1/HEPTools/lhapdf6_py3//share/LHAPDF/NNPDF30_lo_as_0130/NNPDF30_lo_as_0130_0000.dat
 NNPDF30_lo_as_0130 PDF set, member #0, version 2; LHAPDF ID = 263000
 libc++abi: terminating with uncaught exception of type LHAPDF::MetadataError: Metadata for key: AlphaS_FlavorScheme not found.

 Program received signal SIGABRT: Process abort signal.

 Backtrace for this error:
 #0 0x103720b17
 #1 0x10371fbab
 #2 0x189f86c43
 #3 0x189f3b43b
 #4 0x189e83453
 #5 0x189ef9b43
 #6 0x189eeae3b
 #7 0x189de3ca3
 #8 0x189ef8f2b
 #9 0x189efbc0b
 #10 0x189efbbb7

 ls status:
 input_app.txt
 log.txt
 run1_app.log
 run_01_log.txt

Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/Users/seharajmal/Work/MG5_aMC_v3_1_1/bin/MY_FIRST_MG5_RUN/run_02_tag_1_debug.log'.
Please attach this file to your report.
quit

Best regards

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#9

First time I see this error which is generated by the lhapdf library, looks like a problem of the metadata of that specific pdf set (so does it works for other pdf set?) In this case, I'm not sure if you should contact PDF set author and/or lhapdf maintainer.

Cheers,

Olivier

Revision history for this message
sehar ajmal (sajmal0) said :
#10

yes i tried different Pdf sets and it is giving same error. Only the one already available in the Madgraph i.e. nn23lo1 = pdlabel with
   230000 = lhaid is working fine.
What do you suggest in that case?

Many thanks for all the suggestions.

regards

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#11

Then you can ask lhapdf author for guidance.

Cheers,

Olivier

Revision history for this message
sehar ajmal (sajmal0) said :
#12

ok i will do that.
Thanks alot.

best regards