Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zuodong_Y_
Beginner
202 Views

segmentation fault in parameterized derived-type and coarray case

Jump to solution

Following code compiled with ifort -coarray on Intel(R) 64, Version 18.0.1.163 Build 20171018 cause segmentation fault. Any reason for this?

program main
	implicit none
	type gfs(D)
		integer, len :: D
		integer :: Qs(D)
	end type
	type(gfs(2)) :: phy
  • phy%Qs(1:2)=[1:2] end program
  •  

    0 Kudos
    1 Solution
    Igor_V_Intel
    Employee
    140 Views

    The bug is fixed in the compiler shipped as a part of oneAPI Gold release.


    View solution in original post

    5 Replies
    Steve_Lionel
    Black Belt Retired Employee
    202 Views

    I can reproduce this in 19.1. Looks like a compiler bug to me - please report it through the Online Service Center.  I'd guess that the interaction between length type parameters and coarrays hasn't been fully tested.

    Igor_V_Intel
    Employee
    202 Views

    I have reproduced it as well and will escalate to be fixed. Thanks for reporting it.

    Igor_V_Intel
    Employee
    141 Views

    The bug is fixed in the compiler shipped as a part of oneAPI Gold release.


    View solution in original post

    JohnNichols
    Valued Contributor I
    135 Views

    Per chance what is the Gold edition?

    Steve_Lionel
    Black Belt Retired Employee
    125 Views

    "Gold" means production release - the one you can see. It's a term some software developers use, not part of the product name.

    Reply