Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

internal compiler error with /O3

Roman1
New Contributor I
337 Views

Hi,

I am using Intel Fortran compiler 14.0.1.139. When I compile the following program with the /O3 option (and 64-bit), I am getting an internal compiler error. The compilation succeeds if I remove the /O3, or if I compile as 32-bit, or if I use the older compiler (14.0.0.103).

[fortran]
module mod1
real(kind=8),allocatable:: Gfull(:,:)
contains
!--------------------------------------------------------
subroutine sub( x, y )
implicit none
real(kind=8),intent(in):: x(:)
real(kind=8),intent(out):: y(:)
integer mcell, ndat, i, im, m1, m2
integer,parameter:: msize = 10000
mcell= size( Gfull, 1)
ndat = size( Gfull, 2)
y = 0.d0
do im = 1, 10
 m1 = (im-1)*msize + 1
 m2 = min(m1 + msize - 1, mcell)
 do i = 1, ndat
 y(i) = y(i) + dot_product( Gfull(m1:m2,i), x(m1:m2) )
 end do ! i
end do ! im
return
end subroutine sub
end module mod1
[/fortran]


Roman

0 Kudos
3 Replies
Steven_L_Intel1
Employee
337 Views

Thanks - we'll check it out.

0 Kudos
Steven_L_Intel1
Employee
337 Views

Escalated as issue DPD200249697. Seems to be a vectorizer problem.

0 Kudos
Steven_L_Intel1
Employee
337 Views

This was fixed in update 2 (14.0.2).

0 Kudos
Reply