launch does not work

Asked by kamuran

Dear Experts,

I had a working MadGraph version before. But, the launch command started to give error today and I could not understand the reason. The error is like below. Could you please let me know hot to fix this?

Best regards,
Kamuran

Error detected in "generate_events run_02"
write debug file /Users/kamurandilsiz/HEP_Softwares/MG5_aMC_v2_5_2/test/run_02_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/kamurandilsiz/HEP_Softwares/MG5_aMC_v2_5_2/test/Source.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o setrun.o setrun.f
     cd PDF; make
     cd MODEL; make
     ar cru ../../lib/libpdf.a Ctq4Fn.o Ctq5Par.o Ctq5Pdf.o Partonx5.o Ctq6Pdf.o cteq3.o mrs98.o mrs98lo.o mrs98ht.o mrs99.o mrst2001.o mrst2002.o jeppe02.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDriver.o
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
     ranlib ../../lib/libpdf.a
     FATAL:/Library/Developer/CommandLineTools/usr/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!
     make[1]: *** [rw_para.o] Error 1
     make: *** [../lib/libmodel.a] Error 2
     make: *** Waiting for unfinished jobs....
     FATAL:/Library/Developer/CommandLineTools/usr/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!
     make: *** [setrun.o] 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:
kamuran
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

Did you install some version of gcc?
We advised to not do that, and use the built-in clang compiler (you only have to install gfortran but not the full gcc)
According to this link, the problem is that your version of gcc is too old and incompatible with your assembler:
https://software.intel.com/en-us/forums/intel-c-compiler/topic/505708
Please follow on of the instructions of that link.

Cheers,

Olivier

On 12 Mar 2017, at 23:23, kamuran <<email address hidden><mailto:<email address hidden>>> wrote:

FATAL:/Library/Developer/CommandLineTools/usr/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!

Revision history for this message
kamuran (dilsiz) said :
#2

Hi Oliver,

Thanks for your answer. For the case someone else needs I used following commands and this solved the problem.

curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /

Best regards,
Kamuran