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

ICE with ifx 2021.3 and LOGICAL*1 variable + debug flag

Donners__John
Beginner
460 Views

The following test is run when compiling OpenMPI:

 

program falign
external align
LOGICAL*1 w,x,y,z
CHARACTER a,b,c
common /foo/a,w,b,x,y,c,z
call align(w,x,y,z)
end

 

This program compiles fine without debug flag: ifx -c conftestf.f

The compiler ifx crashes when compiled with debug flag: ifx -g -c conftestf.f

/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x19d2bda]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a5945d]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2ab0d62]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2ab0e90]
/lib64/libc.so.6(+0x37400)[0x7fe4258fb400]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x19dd31f]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x19dd9b0]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a81348]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a34f6d]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a41e37]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a40c44]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a8dd60]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a8716a]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a8c0f0]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2a8ace7]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x29d2b0b]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x29d22a4]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x2b4473c]
/lib64/libc.so.6(__libc_start_main+0xf3)[0x7fe4258e7493]
/opt/intel/oneapi/compiler/2021.3.0/linux/bin/xfortcom[0x27eeccb]

conftestf.f: 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.
compilation aborted for conftestf.f (code 3)

 

Cheers,

John

0 Kudos
1 Solution
Khalik_K_Intel
Moderator
275 Views

The problem you reported is fixed in our latest version of Intel® Fortran Compiler (Beta) (ifx) which is part of Intel® oneAPI HPC Toolkit (2021.4).

 

We will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread.

Any further interaction in this thread will be considered community only.


Regards,

Khalik.


View solution in original post

2 Replies
Khalik_K_Intel
Moderator
404 Views

Hello John,


Thank you for contacting Intel Support.

This is a known issue for our development team and it has already been reported, so we are working on this.

The fix should become available in one of the upcoming releases.


In the meantime, you may use ifort compiler which compiles this code without ICE.


Kind regards,

Khalik.


Khalik_K_Intel
Moderator
276 Views

The problem you reported is fixed in our latest version of Intel® Fortran Compiler (Beta) (ifx) which is part of Intel® oneAPI HPC Toolkit (2021.4).

 

We will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread.

Any further interaction in this thread will be considered community only.


Regards,

Khalik.


Reply