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

increase stack size from executable

ecc26
Beginner
1,751 Views
I'm new at this software, trying to use someone else code. I get the "stack overflow error". I found on the release notes that the stack size can be increased "by using ETDITBIN on the executable." how can I do this what do they mean with the executable.? Are this changes done from the developer? Any tip would be greatly appreciated.

sofi
0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,751 Views
I suggest starting with this Visual Fortran Newsletter article.

Steve
0 Kudos
TimP
Honored Contributor III
1,751 Views
EDITBIN comes with Visual Studio, either the C++ or the CVF version. Its use is covered in VS Help. You should be able to make your own copy of a .exe and use EDITBIN to modify it. Changing stack limits is a common use for this command. Steve's article gives useful background, but I didn't see an explicit reference to the instructions. In the simplest case:

EDITBIN /STACK:nnnnnn some.exe

sets the stack limit for some.exe to approximately nnnnnn bytes.
0 Kudos
Reply