<?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 Alignment of allocated arrays in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Alignment-of-allocated-arrays/m-p/769729#M21952</link>
    <description>You might use the same strategy has the people from FFTW?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.fftw.org/doc/Allocating-aligned-memory-in-Fortran.html#Allocating-aligned-memory-in-Fortran" target="_blank"&gt;http://www.fftw.org/doc/Allocating-aligned-memory-in-Fortran.html#Allocating-aligned-memory-in-Fortran&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 14 May 2012 18:58:15 GMT</pubDate>
    <dc:creator>rreis</dc:creator>
    <dc:date>2012-05-14T18:58:15Z</dc:date>
    <item>
      <title>Alignment of allocated arrays</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Alignment-of-allocated-arrays/m-p/769727#M21950</link>
      <description>I've been looking for an ifort compiler switch to turn on alignment of allocated arrays. In particular, I'd like my arrays to be aligned on 16 byte boundaries, to avoid problems where different code paths are taken to use SSE instructions depending on whether the array is aligned nicely or not.&lt;BR /&gt;&lt;BR /&gt;I can make allocated arrays be aligned by using directives like this:&lt;BR /&gt;&lt;BR /&gt;Real, Allocatable :: frog(:), toad(:), newt(:)&lt;BR /&gt;!DEC$ ATTRIBUTES ALIGN : 16 :: frog, toad, newt&lt;BR /&gt;&lt;BR /&gt;but to avoid having to do this in many places it would be simpler to use a command line switch. Is there one? I'd hoped that -align would do it, but it doesn't, and nothing else I've tried worked. I'm using a 32-bit 12.1 compiler on Windows and Linux (as far as I can tell, the 64-bit compiler always does 16-byte aligned allocation by default).&lt;BR /&gt;&lt;BR /&gt;Mick&lt;BR /&gt;</description>
      <pubDate>Wed, 09 May 2012 11:51:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Alignment-of-allocated-arrays/m-p/769727#M21950</guid>
      <dc:creator>Mick_Pont</dc:creator>
      <dc:date>2012-05-09T11:51:18Z</dc:date>
    </item>
    <item>
      <title>Alignment of allocated arrays</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Alignment-of-allocated-arrays/m-p/769728#M21951</link>
      <description>I've heard that the 13.0 compiler would introduce such a switch. I don't know how popular 32-bit Windows will be in the future, with the hoped for increase in usage of AVX, which has more need of 32-byte alignment.</description>
      <pubDate>Wed, 09 May 2012 14:42:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Alignment-of-allocated-arrays/m-p/769728#M21951</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-05-09T14:42:32Z</dc:date>
    </item>
    <item>
      <title>Alignment of allocated arrays</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Alignment-of-allocated-arrays/m-p/769729#M21952</link>
      <description>You might use the same strategy has the people from FFTW?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.fftw.org/doc/Allocating-aligned-memory-in-Fortran.html#Allocating-aligned-memory-in-Fortran" target="_blank"&gt;http://www.fftw.org/doc/Allocating-aligned-memory-in-Fortran.html#Allocating-aligned-memory-in-Fortran&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 May 2012 18:58:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Alignment-of-allocated-arrays/m-p/769729#M21952</guid>
      <dc:creator>rreis</dc:creator>
      <dc:date>2012-05-14T18:58:15Z</dc:date>
    </item>
  </channel>
</rss>

