Fortran Compiler not detected by MG5_aMC

Asked by Grant

When I try to output the result of a process as it says to do in the tutorial using the command "output MY_FIRST_MG5_RUN", I get the following error:
Error detected in "output MY_FIRST_MG5_RUN"
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : No Fortran Compiler detected! Please install one

I've installed a fortran compiler from this link: https://hpc.sourceforge.net/

Specifically, I installed gfortran-11.2-bin.tar.gz as I am on an intell i5 mac running Monterey
I also tried installing gcc-11.2-bin.tar.gz and ran into a similar issue

I've tried both moving the gfortran executable and the entire usr folder into the MG5_aMC_v3_5_3 folder, and I've also tried manually inputting the path for the gfortran executable into the mg5_configuration.txt file, but I still get the same error.

How do I fix this?

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

From your source, it is typically enough to follow their instructions and then mg5aMC will detect it.
So you likely uncompress the files in a wrong location.
You can check by opening a bash terminal and type "gfortran" if bash complains that gfortran does not exists, then re-install it up to the point that the above is working.

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.