- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying the latest ifx (2022.2.0) with the -fsyntax-only flag gives internal compiler error or catastrophic error with a very simple module file:
module Definitions
use, intrinsic :: iso_fortran_env, only: int8, int64, real64
implicit none
private
integer, parameter :: iwp = int64, wp = real64, byte = int8
public :: iwp, wp, byte
end module Definitions
"ifort -fsyntax-only -c file.f90" works fine, but ifx gives:
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0x14661fa]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0x114f242]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0x11b4562]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0x11b4690]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fad5721a520]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0x10a7e00]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0xf430f8]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0xf42683]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0xf90d35]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0xf8b91e]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0xfbc7a4]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0xfbd9cd]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0x119911f]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0x10acef4]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0x1256e88]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fad57201d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fad57201e40]
/opt/intel/oneapi/compiler/2022.2.0/linux/bin-llvm/xfortcom[0xeec8a9]
file.f90: error #5633: **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.
Besides, adding "-fsyntax-only" to the file in https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-error-initializing-a-user-defined-type-with-no-components/m-p/1421633#M163147 gives:
file.f90(39): internal error: Please visit 'http://www.intel.com/software/products/support' for assistance.
object = mytype()
^
a.f90(39): catastrophic error: Internal Compiler Error: Ref module: ffe_cl.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is an interesting one. The short answer is we have a fix coming already in version 2023.0 which will be available around the end of year.
For this one, yes, it fails for ifx v2022.2 in the oneapi 2022.3 release.
ifx -fsyntax-only -c file.f90
#0 0x00000000011b4562 (/nfs/pdx/disks/cts2/tools/oneapi/2022.3.0/compiler/2022.2.0/linux/bin-llvm/xfortcom+0x11b4562)
etc
I tried a build from our upcoming 2023.0 release, no crash
$ ifx -fsyntax-only -c file.f90
$
$ ls -l definitions.mod
-rw-r--r-- 1 foo bar 1026 Oct 13 07:18 definitions.mod
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is an interesting one. The short answer is we have a fix coming already in version 2023.0 which will be available around the end of year.
For this one, yes, it fails for ifx v2022.2 in the oneapi 2022.3 release.
ifx -fsyntax-only -c file.f90
#0 0x00000000011b4562 (/nfs/pdx/disks/cts2/tools/oneapi/2022.3.0/compiler/2022.2.0/linux/bin-llvm/xfortcom+0x11b4562)
etc
I tried a build from our upcoming 2023.0 release, no crash
$ ifx -fsyntax-only -c file.f90
$
$ ls -l definitions.mod
-rw-r--r-- 1 foo bar 1026 Oct 13 07:18 definitions.mod

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