Cannot run MadGraph 2.6.3.2 in Mac Pro

Asked by KP.Xie

Hi,

When I installed the MG5_2_6_3_2 on my Mac Pro and ran a process to check if the installation is correct, I generated
p p > t t~ @1
p p > t t~ j @2
and launched. And it yielded:

Working on SubProcesses
INFO: P2_gg_ttxg
Error detected in "generate_events run_01"
write debug file /Users/kpxie/Documents/HEP_Tools/MG5_aMC_v2_6_3_2/SM_pp_ttx_matching/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/kpxie/Documents/HEP_Tools/MG5_aMC_v2_6_3_2/SM_pp_ttx_matching/SubProcesses/P2_gg_ttxg.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c driver.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c myamp.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c genps.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
     genps.f:60:55:

            call gen_mom(iconfig,mincfig,maxcfig,invar,wgt,x,p)
                                                            1
     Error: Actual argument contains too few elements for dummy argument 'p1' (8/24) at (1)
     make: *** [genps.o] Error 1
     make: *** Waiting for unfinished jobs....

 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

I don't know why. My Mac Pro has gcc and gcc-8. I also tried to set fortran_compiler = gfortran-7 in mg5_configuration.txt, but none of them worked. Could you help me? Thanks a lot!!

Best,
Ke-Pan

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

Hi,

2.6.3.2 is not compatible with gcc-8.
Please either downgrade to gcc-7 or updgrade to the latest version of MG5aMC

Cheers,

Olivier

> On 31 Mar 2019, at 15:37, KP.Xie <email address hidden> wrote:
>
> New question #679685 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/679685
>
> Hi,
>
> When I installed the MG5_2_6_3_2 on my Mac Pro and ran a process to check if the installation is correct, I generated
> p p > t t~ @1
> p p > t t~ j @2
> and launched. And it yielded:
>
> Working on SubProcesses
> INFO: P2_gg_ttxg
> Error detected in "generate_events run_01"
> write debug file /Users/kpxie/Documents/HEP_Tools/MG5_aMC_v2_6_3_2/SM_pp_ttx_matching/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/kpxie/Documents/HEP_Tools/MG5_aMC_v2_6_3_2/SM_pp_ttx_matching/SubProcesses/P2_gg_ttxg.
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c driver.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c myamp.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c genps.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
> genps.f:60:55:
>
> call gen_mom(iconfig,mincfig,maxcfig,invar,wgt,x,p)
> 1
> Error: Actual argument contains too few elements for dummy argument 'p1' (8/24) at (1)
> make: *** [genps.o] Error 1
> make: *** Waiting for unfinished jobs....
>
> 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
>
> I don't know why. My Mac Pro has gcc and gcc-8. I also tried to set fortran_compiler = gfortran-7 in mg5_configuration.txt, but none of them worked. Could you help me? Thanks a lot!!
>
> Best,
> Ke-Pan
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
KP.Xie (kpxie) said :
#2

Thanks Olivier Mattelaer, that solved my question.