Error detected in "generate_events run_01"

Asked by Giorgio Busoni

Since I updated to El Capitan, I am getting the following error message whenever trying to launch any process (In this example I am using a custom-defined model, but this happens also with the vanilla SM shipped with MG5):

Error detected in "generate_events run_01"
write debug file /Users/gbusoni/Desktop/MG5_aMC_v2_5_2/PROC_S2HDM_TII_LO_0/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 /Users/gbusoni/Desktop/MG5_aMC_v2_5_2/PROC_S2HDM_TII_LO_0/Source.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
     gfortran -lc++ -mmacosx-version-min=10.7 -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 -lc++ -mmacosx-version-min=10.7 -lbias
     ld: library not found for -lcrt1.10.6.o
     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

Question information

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

You should try to run the following command in your terminal:

xcode-select --install

Cheers,

Olivier

> On Dec 15, 2016, at 15:18, Giorgio Busoni <email address hidden> wrote:
>
> New question #406772 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/406772
>
> Since I updated to El Capitan, I am getting the following error message whenever trying to launch any process (In this example I am using a custom-defined model, but this happens also with the vanilla SM shipped with MG5):
>
> Error detected in "generate_events run_01"
> write debug file /Users/gbusoni/Desktop/MG5_aMC_v2_5_2/PROC_S2HDM_TII_LO_0/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 /Users/gbusoni/Desktop/MG5_aMC_v2_5_2/PROC_S2HDM_TII_LO_0/Source.
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
> gfortran -lc++ -mmacosx-version-min=10.7 -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 -lc++ -mmacosx-version-min=10.7 -lbias
> ld: library not found for -lcrt1.10.6.o
> 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
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Giorgio Busoni (giorgiobusoni) said :
#2

It worked, thanks

Revision history for this message
Giorgio Busoni (giorgiobusoni) said :
#3

Thanks Olivier Mattelaer, that solved my question.