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

E6600 Core 2 Duo CPU USAGE

yuri_gerelli
Beginner
703 Views
Hi, I've a problem with a code optimization. I'm running WindowsXP SP2 with Visual Studio 2005 and Intel Visual fortram compiler 9.1 . I've compiled as with VS2005 as with the fortran command line a source code with the /O2 /QaxT /QxT optimizations. When I run the executable I notice tha only a CPU works and the other is shut down (only a few percent of usage). How can I used both CPU at full performance?
0 Kudos
1 Reply
Wendy_Doerner__Intel
Valued Contributor I
703 Views

Yuri,

Hi. To use both CPUs you will need to actually parallize your code. Two ways the compiler supports this is through the /Qparallel switch or using OpenMP routines. Please see the Intel Visual Fortranfor Windows Documentationfor more information:

http://www3.intel.com/cd/software/products/asmo-na/eng/compilers/fwin/279827.htm

Wendy D.

Intel Developer Support

0 Kudos
Reply