- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The source file below produces upon compilation with ifort 16.0.0 20150815 on two slightly different parallel sandy bridge systems with
ifort -r8 -O2 -c compilererror.f90
catastrophic error: **Internal compiler error: segmentation violation signal raised** 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 compilererror.f90 (code 1)
The compilation completes without errors for -O1, without -r8 or for version 15.0.2, and maybe lower versions, too.
compilererror.f90:
module b
implicit none
integer :: e
contains
subroutine a(c,d)
implicit none
integer :: i
real, dimension(-e:) :: c
real, dimension(*) :: d
do i=1,9
d(i)=-c(i-1)
enddo
end subroutine a
end module b
This is the most simple version of the error producing code I could find.
Is there anything wrong with the piece of code? What could be the reason for the (optimizer?) error?
Thanks in advance!
K.H
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks - I can reproduce this and will send it on to the developers. There's nothing wrong with your code that I can see. The key here seems to be the kind of D - if it is REAL(8) you get the error. I will let you know what we find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't reproduce this in our development stream for what I expect to be 16.0.2, due in February, so it looks as if this may have been fixed. When I get a real Update 2 compiler I will check again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hear you, but this type of request would get a very low priority when compared to fixing bugs that are still reproducible. It won't be long before 16.0.2 is out and you can try that on your larger code. If it still fails, then get back to us.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page