Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

detect processor core

kompute
Beginner
385 Views

Hi

Is there a way or code availabletodetect the topological relationships between physical package, processor core, and logical processors sharing the same core in a multi-processing platform with IA-32 processors using fortran language?

0 Kudos
2 Replies
Steven_L_Intel1
Employee
385 Views

Entirely in Fortran? No, though Windows Vista (and Linux, I think) have features that might make it possible.

There is C code to do this and an article explaining it here.(link to code at end of article.) You could adapt this into something you can call from Fortran.

0 Kudos
kompute
Beginner
385 Views
Noted. Thanks.
0 Kudos
Reply