fortcom: Fatal: There has been an internal compiler error (C0000005).

fortcom: Fatal: There has been an internal compiler error (C0000005).

haifeng2009的头像

I am working on a big in-house code on a new system with visual studio and intel fortran. I keep getting a strange error:

fortcom: Fatal: There has been an internal compiler error (C0000005).

I have simplified the code to the set of the attached which reproduces the error. The attached code does nothing but having a few modules and a few declarations of variables. The compiler I use is Intel Fortran with two different versions. Both produce the same error.

 Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte l(R) 64, Version 13.0.1.119 Build 20121008

 Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte l(R) 64, Version 13.0.0.089 Build 20120731

The 32-versions seem to work all right.

The order I compiled the code is like this

ifort /c Particle_mod.f90

ifort /c BaseGrid_mod.f90

ifort /c FDFGrid_mod.f90

ifort /c FDFCellPtcl_mod.f90

ifort /c SD_Data_mod.f90

ifort /c FDFC_mod.f90

ifort /c FDFI_mod.f90

The error shows up when compiling the last file FDFI_mod.f90.

Is it a compiler bug???

 

 

附件尺寸
下载 basegrid-mod.f90210 字节
下载 fdfc-mod.f90567 字节
下载 fdfcellptcl-mod.f90307 字节
下载 fdfgrid-mod.f90558 字节
下载 fdfi-mod.f90338 字节
下载 particle-mod.f90379 字节
下载 sd-data-mod.f90799 字节
6 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
Steve Lionel (Intel)的头像

Internal Compiler Error is always a compiler bug. Sometimes it can be triggered by errors in the source code, but often valid code will get an ICE.  I will look at your example and see what I can find out. Thanks.

Steve
Steve Lionel (Intel)的头像

I have escalated this to development as issue DPD200240130. If I learn of a workaround I will let you know.

Steve
haifeng2009的头像

Thanks, Steve.

mecej4的头像

The Version 12.1 64-bit compiler does not seem to have this problem.

Steve Lionel (Intel)的头像

This problem will be fixed in Update 4 (planned for late June.)

Steve

登陆并发表评论。