- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've been using Intel Fortran Compiler at school for more than a year on an AMD 1700+. A few months ago I got a laptop with a P4 3.2 GHz processor. I start running the same programs on my laptop using the same compiler and surprisingly the time for complete was the same like only one of the 2 logical processors was used. How can I make my programs to run faster.
Thank you
Cristian
Thank you
Cristian
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, please understand that even with Hyper-Threading technology, you still have only one physical processor. To take advantage of Hyper-Threading, you need to have a multithreaded application with two or more execution threads.
There are many ways to do that - you can try the compiler's -parallel option and see what you get, you can use OpenMP or you can "roll your own" threading using Linux threads. See the Optimizing Applications section of the Intel Fortran Compiler documentation for more on building multithreaded applications.
There are many ways to do that - you can try the compiler's -parallel option and see what you get, you can use OpenMP or you can "roll your own" threading using Linux threads. See the Optimizing Applications section of the Intel Fortran Compiler documentation for more on building multithreaded applications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thak you for the answer.
BR
Cristian
BR
Cristian
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