- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reference: https://github.com/fortran-lang/stdlib/issues/249
I was trying to build a project with the oneAPI Fortran compiler and encountered an ICE in the projects test suite. After tracking the issue down I could produce the following minimal working example to trigger the ICE:
program mwe
implicit none
integer, parameter :: dp = selected_real_kind(15)
real(dp) :: d(2, 3), e(2, 3)
logical :: stat
d = reshape([1, 2, 3, 4, 5, 6], [2, 3])
e = reshape([1, 2, 3, 4, 5, 6], [2, 3])
stat = all(abs(e-d) < epsilon(1.0_dp))
end program mwe
Will produce an ICE with `-standard-semantics` flag:
> ifort --version ifort (IFORT) 2021.1 Beta 20200827 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. > ifort mwe.f90 -standard-semantics mwe.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 mwe.f90 (code 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for taking the time to bring this to our attention!
I confirm the issue for beta10, but Parallel Studio compilers 19.1.x are good including the latest one. I tested the upcoming oneAPI 2021.1 ifort release in the HPC Toolkit and it does not ICE. We should be releasing oneAPI next week. Please wait for that release and try this again.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sebastian,
There is a dedicated forum for Fortran issues (Intel® Fortran Compiler - Intel Community). We are transferring this query to that forum.
Regards
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for taking the time to bring this to our attention!
I confirm the issue for beta10, but Parallel Studio compilers 19.1.x are good including the latest one. I tested the upcoming oneAPI 2021.1 ifort release in the HPC Toolkit and it does not ICE. We should be releasing oneAPI next week. Please wait for that release and try this again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The fix is available in Intel® oneAPI 2021.1.
![](/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