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

EXE error

A2009
Beginner
422 Views
Hi,

I have compiled a code by the following switches:
ifort /4R8 /O3 /Qopenmp h.f

When I run the h.exe I get the error:
forrtl: severe (170): Program Exception - stack overflow
Image PC Routine Line Source
h 00000001400DB9D7 Unknown Unknown Unknown
h 0000000140001016 Unknown Unknown Unknown
h 00000001400D8C0C Unknown Unknown Unknown
h 00000001400B5CD5 Unknown Unknown Unknown
kernel32.dll 000000007797F33D Unknown Unknown Unknown
ntdll.dll 0000000077BB2CC1 Unknown Unknown Unknown

Could someone help me what the problem with my code can be?

Thanks.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
422 Views
It may not be a problem with your code. If you add /traceback you'll get routine and line info.

Try adding at the end of the compile/link line: /link /stack:100000000

and see what happens.
0 Kudos
Reply