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

Stack overflow or allocate problems

vadeiko
Beginner
400 Views
I am running IVF 9.1 under Windows XP 64.
I have a program which works fine under Unix system with option:
-s unlimited
When I ran the same program under XP64 it returned me
forrtl: severe (170): Program Exception - stack overflow
So I tried increasing the size of the stack from 1 to 2 GB (my RAM is 2GB). In that case I would get the following error:
forrtl: severe (151): allocatable array is already allocated
Does anybody know what could bethe problem?
Thanks.
0 Kudos
4 Replies
Steven_L_Intel1
Employee
400 Views
2GB stack? I don't think that works at all, even on Linux, and you may end up with data corruption.

Please report all beta issues to Intel Premier Support.
0 Kudos
vadeiko
Beginner
400 Views
Well, I tried different sizes (100 MB, for instance)
It didn't work.
I will post a report to support. However, I noticed that there was the same issue with previous versions though (year 2004)
or
By the way, in the last thread you refer tosome newsletter but the link doesn't work. Could you give it again?
It seems that the issue is quite old but I couldn't find a solution.

Message Edited by vadeiko on 04-12-200611:26 AM

Message Edited by vadeiko on 04-12-200611:26 AM

0 Kudos
Steven_L_Intel1
Employee
400 Views
The error message may be the same but that doesn't mean it's the same problem.

See here for the newsletter articles.

I strongly recommend sending an example that demonstrates the problem to Intel Premier Support.
0 Kudos
vadeiko
Beginner
400 Views
I found an error in my program. It really tried to allocate the same array twice.
Thank you, Steve for your help.
0 Kudos
Reply