- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page