I have 2 xeon CPUs in the PC, each has 4 cores. However, I can only set num_threads to 4. If I set it to a number > 4, I get a message:
OMP: Error #136: Cannot create thread.
OMP: System error #8: Not enough storage is available to process this command.
OMP: Error #178: Function GetExitCodeThread() failed:
OMP: System error #6: The handle is invalid.
Is it not possible to use all the cores in the system because they are distributed across 2 cpus or why is this happening?
(Compiler: Intel C++ 13.0
OS: Windows server 2008 R2)