Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

ICE related to submodule

Jiang__Wei
Beginner
105 Views

Sorry I can not reduce the code  and reproduce the buy further.

------ Build started: Project: 20191013ifortICEsubmodule, Configuration: Debug|Win32 ------

Compiling with Intel(R) Visual Fortran Compiler 19.0.4.245 [IA-32]...
MoveParticleBundle1DXDI.F90
D:\Source\Repos\20191013ifortICEsubmodule\MoveParticleBundle1DXDI.F90(1): catastrophic error: **Internal compiler error: internal abort** 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 D:\Source\Repos\20191013ifortICEsubmodule\MoveParticleBundle1DXDI.F90 (code 1)

Build log written to  "file://D:\Source\Repos\20191013ifortICEsubmodule\Debug\BuildLog.htm"
20191013ifortICEsubmodule - 1 error(s), 0 warning(s)

---------------------- Done ----------------------
Microsoft Visual Studio Community 2019
Version 16.3.4

Operating System: Windows 10 Pro $64-$ bit $(10.0, \text { Build } 18362)$

 

0 Kudos
1 Reply
Jiang__Wei
Beginner
105 Views

I have located the error

In line 23 of MoveParticleBundle1DXDI.F90

just repalce  

Call PB%PO(i)%(PF) with

Call PB%PO(i)%MoveES(PF)

the error will be gone. 

Note PO(i)%MoveES is also in a submodule located at MoveParticleOne1DXDI.F90. It should report a grammar error, not an ICE.

Reply