Compilation error with subprocesses

Asked by Emma Tintinger

Can someone help me figure out what to do about this error? To fix this error, I have tried redownloading Madgraph and reinstalling pythia8, delphes, etc but I keep running into issues installing many of those programs (eMELA, MadAnalysis5, Delphes, and lhapdf didn't work for me I think) so I wasn't able to go forward with that approach. I also tried to update cmake and I tried deleting Xcode and downloading a newer beta version but I think that might have made things worse. Please help, I think I'm just making more problems.

ERROR MESSAGE:
Error detected in "generate_events run_01"

str : A compilation Error occurs when trying to compile /Users/emmatintinger/Downloads/MG5_aMC_v3_5_0/:?/SubProcesses/P1_gg_ttx.
 The compilation fails with the following output message:
     gfortran -o gensym symmetry.o idenparts.o -L../../lib/ -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lgammaUPC -lcernlib -lbias -lc++ -mmacosx-version-min=10.8
     ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd' for architecture arm64
     collect2: error: ld returned 1 exit status
     make: *** [gensym] Error 1

Question information

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

My advise is to
1) remove any instance of gfortran/gcc on your system
2) remove all previously compiled code (madgraph/fastjet/...)
3) re-install gcc and gfortran from here: https://hpc.sourceforge.net/
4) be sure that all binary are correctly pointing on those and not on some other version of ld/gcc/g++/....
5) reinstall everything. (lhapdf can be tricky due to a python issue, I did install by hand so far since I fail to find a good way to install it via the install command)

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.