Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Avisos
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

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

OP1
Nuevo Colaborador III
683 Vistas

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 Respuestas
mecej4
Colaborador Distinguido III
683 Vistas

ICE still present in 19.0.4.

Johannes_Rieke
Nuevo Colaborador III
683 Vistas

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>

 

OP1
Nuevo Colaborador III
683 Vistas

Thanks for the confirmation. I reported this to Intel.

John_Campbell
Nuevo Colaborador II
683 Vistas

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.

jimdempseyatthecove
Colaborador Distinguido III
683 Vistas

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

Responder