gfortran-8 compilation error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| MadGraph5_aMC@NLO |
Undecided
|
Unassigned |
Bug Description
Hey MG5 team,
Madgraph (MG5_aMC-2.6.3.2) does not work with gfortran-8.1. I get the following compilation error after launch:
genps.f:60:55:
call gen_mom(
Error: Actual argument contains too few elements for dummy argument ‘p1’ (5/20) at (1)
This happens for any process and model I tried (including SM e+ e- > mu+ mu- for which the log file is attached). I imagine the -fbounds-check got stricter with gfortran-8 and now catches this.
I will go back to gfortran-5 for now but would appreciate if you could fix this.
Cheers and thanks,
Jonas
Jonas Wittbrodt (nandurius) wrote : | #1 |
Ivan Razumov (iarspider) wrote : | #2 |
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1779636] [NEW] gfortran-8 compilation error | #3 |
Hi,
The development version (2.6.4) is currently tagged as compatible for LO run with gcc8.
This being said, NLO is not yet supported by gcc8 and
It is likely that some feature will not be fully working in 2.6.4 with gcc8.
We will need help of all users to find all the issues related to gcc8 and I do not expect this to be fully stable before a while.
Cheers,
Olivier
> On 2 Jul 2018, at 11:31, Jonas Wittbrodt <email address hidden> wrote:
>
> Public bug reported:
>
> Hey MG5 team,
>
> Madgraph (MG5_aMC-2.6.3.2) does not work with gfortran-8.1. I get the
> following compilation error after launch:
>
> genps.f:60:55:
> call gen_mom(
> 1
> Error: Actual argument contains too few elements for dummy argument ‘p1’ (5/20) at (1)
>
> This happens for any process and model I tried (including SM e+ e- > mu+
> mu- for which the log file is attached). I imagine the -fbounds-check
> got stricter with gfortran-8 and now catches this.
>
> I will go back to gfortran-5 for now but would appreciate if you could
> fix this.
>
> Cheers and thanks,
> Jonas
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Status: New
>
> ** Attachment added: "log file"
> https:/
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https:/
>
> Title:
> gfortran-8 compilation error
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> Hey MG5 team,
>
> Madgraph (MG5_aMC-2.6.3.2) does not work with gfortran-8.1. I get the
> following compilation error after launch:
>
> genps.f:60:55:
> call gen_mom(
> 1
> Error: Actual argument contains too few elements for dummy argument ‘p1’ (5/20) at (1)
>
> This happens for any process and model I tried (including SM e+ e- >
> mu+ mu- for which the log file is attached). I imagine the -fbounds-
> check got stricter with gfortran-8 and now catches this.
>
> I will go back to gfortran-5 for now but would appreciate if you could
> fix this.
>
> Cheers and thanks,
> Jonas
>
> To manage notifications about this bug go to:
> https:/
Jonas Wittbrodt (nandurius) wrote : | #4 |
Hi Olivier,
thanks for the reply. Great to hear that you are already working on it. I will gladly try out 2.6.4 with gcc8 once it is available.
Also thanks to Ivan for the patch suggestion, setting -std=legacy should do very similar things to going back to the older compiler.
Cheers,
Jonas
Changed in mg5amcnlo: | |
status: | New → Fix Released |
Hi Jonas,
we at GENSER have also encountered this problem. You can use the patch (attached) to fix it.
Best regards,
Ivan