<?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 Re: Automatic Code generation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765783#M20040</link>
    <description>How do i set those options? I did set the Qparallel option from Project----&amp;gt;Properties but no code is generated.</description>
    <pubDate>Thu, 16 Feb 2006 22:24:07 GMT</pubDate>
    <dc:creator>albert2</dc:creator>
    <dc:date>2006-02-16T22:24:07Z</dc:date>
    <item>
      <title>Automatic Code generation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765781#M20038</link>
      <description>I have installed the Intell Fortran Compiler 9.0 and VS Integration component. The problem is that i cannot accomplish automatic code generation for parallelization of loops. What are the steps i must follow (in the VS environment) to automatically generate parallel code? Will this feature take full advantage of my computer's dual core capabilities?&lt;BR /&gt;&lt;BR /&gt;Windows Xp Professional, AMD Athlon 64 Dual Core 4200+</description>
      <pubDate>Thu, 16 Feb 2006 18:33:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765781#M20038</guid>
      <dc:creator>albert2</dc:creator>
      <dc:date>2006-02-16T18:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Code generation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765782#M20039</link>
      <description>You would enable auto-vectorization by setting -QxW.  For easily parallized code, there is the -Qparallel option, which generates thread parallel OpenMP code automatically.  In most practical cases, you would require -Qopenmp and OpenMP directives, to get effective threading.  With the Qparallel or OpenMP code, when you set the environment variable OMP_NUM_THREADS=2 at run time, the threaded loops will use both cores.</description>
      <pubDate>Thu, 16 Feb 2006 21:32:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765782#M20039</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2006-02-16T21:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Code generation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765783#M20040</link>
      <description>How do i set those options? I did set the Qparallel option from Project----&amp;gt;Properties but no code is generated.</description>
      <pubDate>Thu, 16 Feb 2006 22:24:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765783#M20040</guid>
      <dc:creator>albert2</dc:creator>
      <dc:date>2006-02-16T22:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Code generation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765784#M20041</link>
      <description>As a test for the auto parallelization i use the following lines of code:&lt;BR /&gt;&lt;BR /&gt;PROGRAM console2&lt;BR /&gt;PARAMETER (N=100000000)&lt;BR /&gt;REAL A, C(N)&lt;BR /&gt;&lt;BR /&gt;DO I = 1, N&lt;BR /&gt;A=2*I-1&lt;BR /&gt;C(I) = SQRT(A)&lt;BR /&gt;ENDDO&lt;BR /&gt;&lt;BR /&gt;write(*,*) N, C(1), C(N)&lt;BR /&gt;&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;Also the command line looks like this:&lt;BR /&gt;&lt;BR /&gt;/nologo /Zi /Qunroll3 /Qparallel /Qpar_threshold:0 /recursive /reentrancy /Qopenmp /warn:all /module:"$(INTDIR)/" /object:"$(INTDIR)/" /traceback /check:bounds /libs:static /dbglibs /c&lt;BR /&gt;&lt;BR /&gt;I still cannot see any code generated. What am i doing wrong?</description>
      <pubDate>Mon, 20 Feb 2006 16:55:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765784#M20041</guid>
      <dc:creator>albert2</dc:creator>
      <dc:date>2006-02-20T16:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Code generation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765785#M20042</link>
      <description>It looks as if you started with a debug configuration - you've got /Zi and /check:bounds in there - the latter would probably disable any parallelization.  Removing some of those options I get this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;H:&amp;gt;ifort /Qunroll3 /Qparallel /Qpar_threshold:0 /recursive /reentrancy /Qopenmp t.f90&lt;BR /&gt;Intel Fortran Compiler for 32-bit applications, Version 9.0    Build 20060120Z Package ID: W_FC_C_9.0.029&lt;BR /&gt;Copyright (C) 1985-2006 Intel Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;H:	.f90(5) : (col. 0) remark: LOOP WAS AUTO-PARALLELIZED.&lt;BR /&gt;&lt;BR /&gt;Are you looking for something else?</description>
      <pubDate>Mon, 20 Feb 2006 22:21:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765785#M20042</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-02-20T22:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Code generation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765786#M20043</link>
      <description>OK, i removed some options as you suggested and i managed to get the "loop was paralelized message" in Bulidlog.htm file. Can i actually get to see the pararellized code? Also another question. How can i change the OMP_NUM_THREADS?</description>
      <pubDate>Mon, 20 Feb 2006 23:11:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765786#M20043</guid>
      <dc:creator>albert2</dc:creator>
      <dc:date>2006-02-20T23:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Code generation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765787#M20044</link>
      <description>You can ask for an assembly listing - I'm not sure how helpful that will be.&lt;BR /&gt;&lt;BR /&gt;OMP_NUM_THREADS is an environment variable you can set before running the program.  I would suggest that you read the chapter on parallel programming in the "Optimizing Applications" manual for a lot more information.  You may also find /Qpar-report3 to provide additional helpful information.</description>
      <pubDate>Tue, 21 Feb 2006 00:02:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-Code-generation/m-p/765787#M20044</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-02-21T00:02:45Z</dc:date>
    </item>
  </channel>
</rss>

