- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have recently run into an internal compiler error with ifort 15.0, for a piece of code that works just fine with Ifort 14.0. I think this is a regression bug.
The catastrophic error shows up when I create a polymorphic pointer to an extended type with a long name, which is defined within a module that also has a long name. I see the error whenever the sum of the two names (module + type) is equal to or larger than 110 characters.
Please consider the following code:
module module________________with_a_long_name_of_55_characters type :: type__________________with_a_long_name_of_55_characters integer :: i end type type__________________with_a_long_name_of_55_characters end module module________________with_a_long_name_of_55_characters program p use module________________with_a_long_name_of_55_characters, only: & type__________________with_a_long_name_of_55_characters implicit none class(type__________________with_a_long_name_of_55_characters), pointer :: sim allocate(type__________________with_a_long_name_of_55_characters::sim) sim%i = 4 write(*,*) sim%i end program p
Compiling with
$ ifort -stand f08 p.f90 -o -p
I see the error
101004_2054
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 p.F90 (code 1)
The same code is correctly compiled by ifort 14.0.
$ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.2.164 Build 20150121
Thanks,
Yaman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We've identified the underlying problem, which is in all compilers but it's very dependent on memory layout. We hope to get at least a partial fix in for XE 2015 Update 4, and a more comprehensive fix in for the 16.0 compiler.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks - we'll check it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Escalated as issue DPD200369789. I was intrigued to note that I could not reproduce this on Windows, just Linux. 15.0.3 has the same bad behavior. Thanks for the nice example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error is still present on Windows when generating 32-bit objects:
S:\lang>ifort /stand:f08 longn.f90 Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 15.0.3.208 Build 20150407 Copyright (C) 1985-2015 Intel Corporation. All rights reserved. fortcom: Fatal: There has been an internal compiler error (C0000005). compilation aborted for longn.f90 (code 1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So it is... Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We've identified the underlying problem, which is in all compilers but it's very dependent on memory layout. We hope to get at least a partial fix in for XE 2015 Update 4, and a more comprehensive fix in for the 16.0 compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is good news, I look forward to having ifort 15.0.4 on our cluster.
Thank you. Yaman.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not to correct Steve, but the actual update will be XE 2015 Update 5, due out later this year.
--Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's for large values of 4....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "more comprehensive" fix is planned for 16.0.2, scheduled for February.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page