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

ICE with 19U3... is this still present with more recent versions?

OP1
New Contributor III
458 Views

This triggers an ICE with 19U3. I would like to know if upgrading to a more recent version would help.
Thanks!

PROGRAM P
TYPE :: T
END TYPE T
CLASS(T),ALLOCATABLE :: A
!$OMP PARALLEL DO PRIVATE(A)
DO I=1,2
END DO
!$OMP END PARALLEL DO
END

 

0 Kudos
5 Replies
mecej4
Honored Contributor III
458 Views

ICE still present in 19.0.4.

0 Kudos
Johannes_Rieke
New Contributor III
458 Views

Hi, seems to be still present in PSXE2019U5 for Windows x64:

Intel(R) MPI Library 2019 Update 5 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright 2007-2019 Intel Corporation.

Copyright (C) 1985-2019 Intel Corporation. All rights reserved.
Intel(R) Compiler 19.0 Update 5 (package 281)

**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.9.17
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Program Files (x86)\IntelSWTools>d:

D:\>cd D:\02_Fortran\99_test\PSXE2019U5_ICE

D:\02_Fortran\99_test\PSXE2019U5_ICE>ifort OpenMP_ICE.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.0.5.281 Build 20190815
Copyright (C) 1985-2019 Intel Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 14.16.27034.0
Copyright (C) Microsoft Corporation.  All rights reserved.

-out:OpenMP_ICE.exe
-subsystem:console
OpenMP_ICE.obj

D:\02_Fortran\99_test\PSXE2019U5_ICE>OpenMP_ICE.exe

D:\02_Fortran\99_test\PSXE2019U5_ICE>ifort /Qopenmp OpenMP_ICE.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.0.5.281 Build 20190815
Copyright (C) 1985-2019 Intel Corporation.  All rights reserved.

fortcom: Fatal: There has been an internal compiler error (C0000005).
compilation aborted for OpenMP_ICE.f90 (code 1)

D:\02_Fortran\99_test\PSXE2019U5_ICE>

 

0 Kudos
OP1
New Contributor III
458 Views

Thanks for the confirmation. I reported this to Intel.

0 Kudos
John_Campbell
New Contributor II
458 Views

I am not familiar with this code example.
A is only referenced in a !$OMP directive, so where is it allocated for the master thread ?
Type T has no elements, so what is being referenced and what is being allocated ?
I presume this may be a conforming code without !$OMP but I don't understand it.
Could someone explain the purpose.

0 Kudos
jimdempseyatthecove
Honored Contributor III
458 Views

John,

The point of the post is not that the code does anything useful, rather that the compiler "crashed" as opposed to displaying an error message or completing the compilation of an otherwise useless, but conforming, program.

Compilers should not crash.... except for stupid programming error such as a recursive INCLUDE/#include or other out of memory resources.

Jim Dempsey

0 Kudos
Reply