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

Stack Overflow

Dix_Carneiro__Rafael
306 Views

Hello,

I have slightly increased the size of a subset of dynamically allocated arrays in my codes and am getting a stack overflow message using Microsoft Visual Studio on my personal desktop.

I have played with the stack reserve size, having increased it from  1G to 2.1G, with no impact. That did not work.

However, my codes work fine on a Linux HPC. There, I have the following settings:

ulimit -s unlimited
export OMP_STACKSIZE=1G

Any advice on what settings to change to make my codes work on my personal desktop with Microsoft Visual Studio?

Thank you,
Rafael

 

 

0 Kudos
1 Reply
IanH
Honored Contributor II
273 Views

Are you using the /heap-arrays:0 Intel Fortran compiler option on Windows?  If not... do so!

0 Kudos
Reply