compilation error while generating events

Asked by Prudhvi Bhattiprolu

Dear Madgraph Team,

I have been trying to generate events (different processes), but there is some compilation error. for simplicity, I tried generating p p > e+ e-, and I am getting the following
"Error detected in "generate_events run_01"
write debug file /Users/prudhvibhattiprolu/ee/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/ee/SubProcesses/P1_qq_ll.
 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:328:25:

           & nbranch,P,M,S,X,jac,pswgt)
                              1
     Error: Actual argument contains too few elements for dummy argument 'x' (16/40) at (1)
     genps.f:60:53:

            call gen_mom(iconfig,mincfig,maxcfig,invar,wgt,x,p)
                                                          1
     Error: Actual argument contains too few elements for dummy argument 'x' (5/16) 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 am also attaching the debug file here -> https://www.dropbox.com/sh/vexkzi12hsk1npl/AABA1z_5KYWAT8RGYL-bRsH0a?dl=0

This error never occurred to me before. Can you please let me know , why this is happening and guide me to fix this.

Also, please let me know, if any additional files are needed.

Thanks for all your help!

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:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

Did you update to gcc version 8?
We do not support such version so far.

Cheers,

Olivier

> On 30 Jun 2018, at 08:09, Prudhvi Nikhil Bhattiprolu <email address hidden> wrote:
>
> New question #670564 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/670564
>
> Dear Madgraph Team,
>
> I have been trying to generate events (different processes), but there is some compilation error. for simplicity, I tried generating p p > e+ e-, and I am getting the following
> "Error detected in "generate_events run_01"
> write debug file /Users/prudhvibhattiprolu/ee/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/ee/SubProcesses/P1_qq_ll.
> 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:328:25:
>
> & nbranch,P,M,S,X,jac,pswgt)
> 1
> Error: Actual argument contains too few elements for dummy argument 'x' (16/40) at (1)
> genps.f:60:53:
>
> call gen_mom(iconfig,mincfig,maxcfig,invar,wgt,x,p)
> 1
> Error: Actual argument contains too few elements for dummy argument 'x' (5/16) 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 am also attaching the debug file here -> https://www.dropbox.com/sh/vexkzi12hsk1npl/AABA1z_5KYWAT8RGYL-bRsH0a?dl=0
>
> This error never occurred to me before. Can you please let me know , why this is happening and guide me to fix this.
>
> Also, please let me know, if any additional files are needed.
>
> Thanks for all your help!
>
> Sincerely,
> Prudhvi Bhattiprolu
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Prudhvi Bhattiprolu (prudhvibhattiprolu) said :
#2

Hello Olivier,

Yes, looks like gcc auto-updated to version 8 on my computer. I now uninstalled it and installed gcc 6.3.0 and Madgraph is running fine.

Thanks a ton!

Sincerely,
Prudhvi Bhattiprolu

Revision history for this message
Prudhvi Bhattiprolu (prudhvibhattiprolu) said :
#3

Thanks Olivier Mattelaer, that solved my question.