mad graph giving error while generating events

Asked by Prudhvi Nikhil Bhattiprolu on 2018-10-24

Dear Madgraph team,

I am getting the following error while generating events in mad graph (version 2.6.3.2),

"Error detected in "generate_events run_01"
write debug file /Users/prudhvibhattiprolu/test_zz/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/prudhvibhattiprolu/test_zz/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"

Could you please guide me to fix this. (Im using gcc 6.4.0_2)

Also, please find the debug.log file attached. (https://www.dropbox.com/s/bgt7wt4tw9g6ct0/run_01_tag_1_debug.log?dl=0)

Thank you very much!

Sincerely,
Prudhvi Bhattiprolu

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2018-10-25
Last query:
2018-10-25
Last reply:
2018-10-24

Hi,

Are you running on Mojave?
If not please run "xcode-select --install"
It seems that the above solution does not work on Mojave.

In that case, you can try the following patch:
https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.4/revision/303

Cheers,

Olivier

On 24 Oct 2018, at 20:32, Prudhvi Nikhil Bhattiprolu <<email address hidden><mailto:<email address hidden>>> wrote:

New question #675537 on MadGraph5_aMC@NLO:
https://answers.launchpad.net/mg5amcnlo/+question/675537

Dear Madgraph team,

I am getting the following error while generating events in mad graph (version 2.6.3.2),

"Error detected in "generate_events run_01"
write debug file /Users/prudhvibhattiprolu/test_zz/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/prudhvibhattiprolu/test_zz/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"

Could you please guide me to fix this. (Im using gcc 6.4.0_2)

Also, please find the debug.log file attached. (https://www.dropbox.com/s/bgt7wt4tw9g6ct0/run_01_tag_1_debug.log?dl=0)

Thank you very much!

Sincerely,
Prudhvi Bhattiprolu

--
You received this question notification because you are an answer
contact for MadGraph5_aMC@NLO.

Hello Olivier,

Yes, I am running on Mojave.

I tried the patch, and now it is working fine.

Thank you very much!

Sincerely,
Prudhvi Bhattiprolu

Thanks Olivier Mattelaer, that solved my question.