Hi.
I recently parallelized a program of mine using OpenMP directives using Intel's fortran compiler. The program appears to run fine if I use 1-4 threads, but with 5 or more threads it crashes at runtime, with a message such as the following:
The thread 0x1d94 has exited with code 0 (0x0). Unhandled exception at 0x00007FF79B3D8507 in Tvar19.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x0000008161A93000).
I am currently using the following compiler options: /Od /Qopenmp /F:10000000 /Zi /traceback /check:noarg_temp_created . Changing the number associated with the /F: option doesn't help.
When the program crashes, nothing is written to the command window from which I have run the program. A window simply pops up and tells me the program has quit. Then it asks if I want to debug using visual studio, in which case Visual Studio gives me the aforementioned error and a bunch of assembly code which is all Greek to me.
If anyone can help me get this program running with more than 4 threads, I would be most appreciative.