compilation error when compile Source Directory

Asked by Briney Bai

I got an error message after launching a process:

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/brineybai/Downloads/MG5_aMC_v2_6_3_2/test6/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/brineybai/Downloads/MG5_aMC_v2_6_3_2/test6/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 -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
quit
INFO:

I wonder how to solve this error.
Thanks!

Question information

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

Looks like Mojave remove that library.

YOu have the patch here that make it trough, it will be publish in our next version of the code
https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.4/revision/303

Cheers,

Olivier

Revision history for this message
Briney Bai (brineybai) said :
#2

Thanks, Oliver! I updated my macOS system to masOS Mojave 10.14.1 and the error disappeared.

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

Thanks for the information that 10.14.1 fix the issue :-)

Cheers,

Olivier