Hello, I have been experiencing the following error intermittently:
OMP abort: currently configured to support a maximum of 32 threads. Please specify a larger value via the KMP_ALL_THREADS environment variable to raise this limit.
The platform is WinXP, VC7.1, MKL7.2.1, Dual Zeon 2.8Ghz and I am using Win32 threads. My application never has more that 32 concurrent threads (maximum 4), but does create more than 32 in the lifetime of the application. Each threads calls into the MKL.
Does KMP_ALL_THREADS apply to the maximum number of concurrent threads or to the total number used? This page http://www.centerspace.net/support.php?page=1 suggests the latter. However, if this is the case I would always expect my application to terminate at thread # 33; however it frequently completes, having created over 1000 threads in the lifetime of the application. On other occasions, it terminates randomly.
As expected, I can consistently get the application to terminate by changing KMP_ALL_THREADS to less than the number of concurrent threads.
I hope someone can shed some light on this.