ifort 15 does not support RETURN in main program

Bug #1567513 reported by Ayan Paul
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pythia/pgs package for MadGraph
New
Undecided
Unassigned

Bug Description

ifort gives error with RETURN in main program:

hep2lhe.f(514): error #6353: A RETURN statement is invalid in the main program.
      RETURN
------^

pythia.f(473): error #6353: A RETURN statement is invalid in the main program.
      RETURN
------^

the GOTO - CONTINUE works here and is algorithmically equivalent. Thank you.

Ayan

Tags: ifort
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Thanks for the information, I will replace those by STOP 0
which sounds better ( goto are always messy)

Cheers,

Olivier

affects: mg5amcnlo → pythia-pgs-for-mg
Revision history for this message
Ayan Paul (apaul2) wrote : Re: [Bug 1567513] Re: ifort 15 does not support RETURN in main program

Hi Olivier,

Also, -ffixed-line-length-132 in the MadAnalysis makefile does not work
for ifort (its -132 for ifort). There is also a returns in the main
program in line 95 of plot_events.f. That is as far as I looked. Thanks.

regards,
Ayan

On 07/04/2016 18:16, Olivier Mattelaer wrote:
> Thanks for the information, I will replace those by STOP 0
> which sounds better ( goto are always messy)
>
> Cheers,
>
> Olivier
>
> ** Project changed: mg5amcnlo => pythia-pgs-for-mg
>

--
Ayan Paul
_______________________________________________________________

Office:

Dipartimento di Fisica
Universita' di Roma La Sapienza
Piazza le Aldo Moro 2
00185 Roma RM Italy
Ph: (+39) 06 4991 4237

Residence:

via delle Provincie 114
B19
00161 Roma RM Italy
Ph: (+39) 33480 94805
_______________________________________________________________

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.