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

how to use Fortran to get cpuid or computer information

jiang_2009
Beginner
1,752 Views
hi
Is there any function I can call to get cpuid or computer information using Fortran? what kind of lib should I use if it has?
and my OS is VSF X64.
thx a lot


0 Kudos
1 Solution
Steven_L_Intel1
Employee
1,752 Views

Take a look at the Win32Platform sample in Intel Visual Fortran 11.x and see if it meets your needs. You can't quite get all the info that CPUID gives, but it may be adequate, and there is more information available through the Win32 APIs - especially on some newer versions of Windows.

View solution in original post

0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,753 Views

Take a look at the Win32Platform sample in Intel Visual Fortran 11.x and see if it meets your needs. You can't quite get all the info that CPUID gives, but it may be adequate, and there is more information available through the Win32 APIs - especially on some newer versions of Windows.
0 Kudos
jiang_2009
Beginner
1,752 Views

Take a look at the Win32Platform sample in Intel Visual Fortran 11.x and see if it meets your needs. You can't quite get all the info that CPUID gives, but it may be adequate, and there is more information available through the Win32 APIs - especially on some newer versions of Windows.
Thanks Steve
0 Kudos
Reply