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

Utilizing Hyper-threading and dual core processors?

AONym
New Contributor II
292 Views
How do I write and build a Fortran pgm to take maximum advantage of hyper-threading and dual cores? the same executable must run on many different machines; the goal is maximum execution speed.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
292 Views
Read the section of the provided Optimizing Applications manual on parallel processing. You can use the compiler's auto-parallel feature (best when combined with generating optimization reports to see what blocks the compiler from parallelizing loops) or, for better overall parallelization but more coding effort, OpenMP.

You should also take advantage of the compiler's other optimization features, such as Whole Program Optimization (/Qipo), Profile-Guided Optimization, /O3 and use the CPU-specific switch combination "/QaxT /QxW". This will run on any PC that has a Pentium 4 (or compatible) or later processor, but will optimize best for Intel Core 2 processors.

Depending on your application needs, look also at what the Intel Math Kernel Library has to offer.
0 Kudos
Reply