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

Internal compiler error

Sagan__David
Beginner
313 Views

Test program is below. Upon compiling:

erpsim1:~/dcs16/linux_lib/test> ifort test.f90
test.f90(27): catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for test.f90 (code 1)

erpsim1:~/dcs16/linux_lib/test> ifort --version
ifort (IFORT) 14.0.0 20130728

erpsim1:~/dcs16/linux_lib/test> uname -a
Linux erpsim1.lns.cornell.edu 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 14:24:33 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux

Test also fails with V13.

------------------------------------------------------------------

module bmad_struct2

type target_point_struct
real :: r(3) = 0 ! (x, y, z)
end type

type photon_target_struct
logical :: enabled = .false.
type (target_point_struct) :: corner(4) = target_point_struct()
type (target_point_struct) :: center = target_point_struct()
end type

type photon_element_struct
type (photon_target_struct) :: target = photon_target_struct()
end type

end module

!--------------------------------------

module bmad_cpp_test_mod

use bmad_struct2

contains

subroutine test2_f_photon_target ()
implicit none
type(photon_target_struct) :: f_photon_target
end subroutine test2_f_photon_target

end module

0 Kudos
3 Replies
Kevin_D_Intel
Employee
313 Views

And also still failing in our Composer XE 2013 SP1 Update 1. Thank you for the convenient reproducer. I will report this to Development and post updates regarding a fix or work around as I learn it.

(Internal tracking id: DPD200249412)
(Resolution Update on 09/16/2014): This defect is fixed in the Intel® Parallel Studio XE 2015 Initial Release (2015.0.090 - Linux)

0 Kudos
Kevin_D_Intel
Employee
314 Views

This issue has been fixed for our major release later this year. Development is investigating fixing in the current 14.0 release; however, that is probably not likely due to the complexity of the fix. The internal error occurs related to the default initialization. A work around would be to create an initialization routine to explicitly set the fields to zero rather than depend on default initialization.

0 Kudos
Kevin_D_Intel
Employee
314 Views

Just confirming again this issue is resolved in the Intel® Parallel Studio XE 2015 release for Linux (Version 15.0.0.090 Build 20140723) now available from the Intel® Registration Center.

Also, Development determined the complexity and associated risk to back port the fix into the current Intel® Composer XE 2013 SP1 (14.0 compiler) was too significant so please either upgrade to the newer release or continue using the earlier suggested work around.

0 Kudos
Reply