Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

OpenMP limit

$
0
0

Hi,

Does anyone know if there is a limit to the size of the reduction variable in OpenMP?

When I compile and run the attached simple program, it always crashes with a stack overflow.  I have tried setting the stack to 1GB (/STACK:1073741824).  I have tried using the heap (/heap-arrays0).  And I have tried calling KMP_SET_STACKSIZE_S.  Nothing worked for me.

The program works as expected, if I make the size of x smaller.

Roman

AttachmentSize
Downloadtest-omp-stack.f90842 bytes

Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>