Colleagues,While experimenting with upgrading some commercial engineering software for multi-core/thread operation, it has become clear that I need to detect the number of cores, NOT including hyperthreads. This is true if I use local threading with OpenMP or multiple images with Coarray. Is there a (simple) way to detect the number of cores only? Or at least recognize that hyperthreading is 'on' and account for it. I found some old material on this topic in this forum from 2006. It there more recent information/methods? Clients will be using XP SP3 and Win7.David
For more complete information about compiler optimizations, see our Optimization Notice.