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