<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to increase CPU usage for my fortran code? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821389#M47849</link>
    <description>i7-2760QM is quad core with HT (8 hardware threads)&lt;BR /&gt;E8400 is dual core without HT (2 hardware threads)&lt;BR /&gt;&lt;BR /&gt;100% / 8 = 12.5%&lt;BR /&gt;100% / 2 = 50%&lt;BR /&gt;&lt;BR /&gt;17% on i7 indicates you have an additional 4.5% load over 1 thread.&lt;BR /&gt;&lt;BR /&gt;For single threaded application you are not seeing underutilization of your processor.&lt;BR /&gt;&lt;BR /&gt;Consider converting your Fortran program to take advantage of the additional cores.&lt;BR /&gt;Using OpenMP directive is one method. If you are using statistical functions consider using the Intel Math Kernel Library (MKL) as it is (has) multi-threaded support.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
    <pubDate>Wed, 16 May 2012 20:56:12 GMT</pubDate>
    <dc:creator>jimdempseyatthecove</dc:creator>
    <dc:date>2012-05-16T20:56:12Z</dc:date>
    <item>
      <title>how to increase CPU usage for my fortran code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821387#M47847</link>
      <description>I am runninga Fortran program (DOS application), on my laptop processor i7-2760QM 2.4 GHz, 8GB 1600 MHz Ram, 120GB SSD, it shows 17% usage of total CPU. Also when I run the same program at another desktop with cheaper processor E8400 3GHz, 4GB Ram, it shows 50% usage and very shorter run times. Why is that so? Is there a solution?&lt;BR /&gt;&lt;BR /&gt;It is also desirable to mention here that I am using intel parallel studio xe to compile the program. The latter involves explicit use of parallelizations in do and for loops.</description>
      <pubDate>Wed, 16 May 2012 08:19:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821387#M47847</guid>
      <dc:creator>rohitverma80</dc:creator>
      <dc:date>2012-05-16T08:19:57Z</dc:date>
    </item>
    <item>
      <title>how to increase CPU usage for my fortran code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821388#M47848</link>
      <description>If you spend significant time on this, it's worthwhile to use formal tools to diagnose, e.g. Intel Inspector (thread checker) and Amplifier (performance profiler). Otherwise, you need to check each step of parallelism separately for correctness and performance gain (e.g. by commenting out OpenMP parallel regions). Such a problem could be caused by a race condition (incorrect threading) or false sharing (multiple threads writing to the same or nearby cache lines).&lt;BR /&gt;In some cases, asking ifort why it doesn't auto-parallelize, by /Qparallel, /Qpar-report2, and /Qguide-par, may give clues (or convince you the compiler is off target). It's usually best to optimize for vectorization first, then tackle threaded parallelism. Look for loop interchanges which the compiler will make for vectorization and write them in so that parallelization doesn't defeat them.</description>
      <pubDate>Wed, 16 May 2012 11:30:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821388#M47848</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-05-16T11:30:33Z</dc:date>
    </item>
    <item>
      <title>how to increase CPU usage for my fortran code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821389#M47849</link>
      <description>i7-2760QM is quad core with HT (8 hardware threads)&lt;BR /&gt;E8400 is dual core without HT (2 hardware threads)&lt;BR /&gt;&lt;BR /&gt;100% / 8 = 12.5%&lt;BR /&gt;100% / 2 = 50%&lt;BR /&gt;&lt;BR /&gt;17% on i7 indicates you have an additional 4.5% load over 1 thread.&lt;BR /&gt;&lt;BR /&gt;For single threaded application you are not seeing underutilization of your processor.&lt;BR /&gt;&lt;BR /&gt;Consider converting your Fortran program to take advantage of the additional cores.&lt;BR /&gt;Using OpenMP directive is one method. If you are using statistical functions consider using the Intel Math Kernel Library (MKL) as it is (has) multi-threaded support.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Wed, 16 May 2012 20:56:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821389#M47849</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-05-16T20:56:12Z</dc:date>
    </item>
    <item>
      <title>how to increase CPU usage for my fortran code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821390#M47850</link>
      <description>I assumed (should have so stated) that you were using 4 threads on the 4 core CPU. If the idle HT logical processors on your performance meter bother you, reboot with HT disabled. &lt;BR /&gt;</description>
      <pubDate>Wed, 16 May 2012 22:59:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821390#M47850</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-05-16T22:59:45Z</dc:date>
    </item>
    <item>
      <title>How to increase CPU usage for my Fortran code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821391#M47851</link>
      <description>&amp;gt;&amp;gt;How to increase &lt;STRONG&gt;CPU&lt;/STRONG&gt; usage for my &lt;STRONG&gt;Fortran&lt;/STRONG&gt; code?&lt;BR /&gt;&lt;BR /&gt;For &lt;STRONG&gt;MS-DOS&lt;/STRONG&gt; application I would consider the following:&lt;BR /&gt;&lt;BR /&gt;- Reduce as much as possible &lt;STRONG&gt;I/O&lt;/STRONG&gt; operations with&lt;STRONG&gt;HDD&lt;/STRONG&gt;, that is, keep data in memory as much as you can,&lt;BR /&gt; or keep data on a &lt;STRONG&gt;RamDisk&lt;/STRONG&gt;.A &lt;STRONG&gt;RamDisk&lt;/STRONG&gt; driver isavailable on &lt;STRONG&gt;Microsoft&lt;/STRONG&gt;'s website.&lt;BR /&gt;&lt;BR /&gt; Let me know if you won't be able to find and I look at my CD archives&lt;BR /&gt;&lt;BR /&gt;-Try to use &lt;STRONG&gt;Extended Memory&lt;/STRONG&gt; by using a&lt;STRONG&gt;DPMI&lt;/STRONG&gt; driver&lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;DPMI&lt;/STRONG&gt; - &lt;STRONG&gt;DOS&lt;/STRONG&gt; Protected Mode Interface&lt;BR /&gt;&lt;BR /&gt;-Set &lt;STRONG&gt;CPU&lt;/STRONG&gt; affinity for a second &lt;STRONG&gt;CPU&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;- Boost a priority to &lt;STRONG&gt;High&lt;/STRONG&gt;, butI wouldn't recommend toboost to&lt;STRONG&gt;Real-Time&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;</description>
      <pubDate>Wed, 16 May 2012 23:45:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-to-increase-CPU-usage-for-my-fortran-code/m-p/821391#M47851</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-05-16T23:45:46Z</dc:date>
    </item>
  </channel>
</rss>

