Compilation error

Asked by Jyotismita Adhikary

Dear Experts!

While trying to compile for a BSM process, I am getting an error as follows:

Error detected in "generate_events run_01"
write debug file /Users/adhikaryj/Downloads/MG5_aMC_v3_5_3/PROC_NuScalar_mumu_UFO_0/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/adhikaryj/Downloads/MG5_aMC_v3_5_3/PROC_NuScalar_mumu_UFO_0/SubProcesses/P1_vlq_lqjs.
 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/MacOSX14.sdk/usr/lib/libc++.tbd' for architecture arm64
     collect2: error: ld returned 1 exit status
     make: *** [gensym] 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

I have checked already the compatibilities. Still unable to diagnose the issue.

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

Hi,

So this seems to be a compatibility of your compiler and SDK.
Related likely that one is targeting intel chip and the other one arm chip.

So the solution is likely to re-install a version of gfortran compatible with your SDK.

I have the weird feeling that your SDK is targetting intel, are you on an intel mac? (in that case it would make sense).
But I can be wrong on this since I do not have that much experience in those type of error message (which to be honest are not related to our code).

Cheers,

Olivier

> On 19 Mar 2024, at 22:40, Jyotismita Adhikary <email address hidden> wrote:
>
> New question #709614 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/709614
>
> Dear Experts!
>
> While trying to compile for a BSM process, I am getting an error as follows:
>
> Error detected in "generate_events run_01"
> write debug file /Users/adhikaryj/Downloads/MG5_aMC_v3_5_3/PROC_NuScalar_mumu_UFO_0/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/adhikaryj/Downloads/MG5_aMC_v3_5_3/PROC_NuScalar_mumu_UFO_0/SubProcesses/P1_vlq_lqjs.
> 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/MacOSX14.sdk/usr/lib/libc++.tbd' for architecture arm64
> collect2: error: ld returned 1 exit status
> make: *** [gensym] 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
>
> I have checked already the compatibilities. Still unable to diagnose the issue.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Jyotismita Adhikary for more information if necessary.

To post a message you must log in.