<?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: complex*32 and real*16 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/complex-32-and-real-16/m-p/750784#M7282</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/225202"&gt;paolodenti&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SUBROUTINE LUCINQP(AM,NDDMST,N,IER)&lt;/P&gt;
&lt;P&gt;DIMENSION AM(40,40),V(40)&lt;/P&gt;
&lt;P&gt;COMPLEX*32 AM&lt;/P&gt;
&lt;P&gt;REAL*16 V&lt;/P&gt;
&lt;P&gt;REAL*16 SUM&lt;/P&gt;
&lt;P&gt;DO 1309 I=1,N&lt;/P&gt;
&lt;P&gt;SUM=0.0Q0&lt;/P&gt;
&lt;P&gt;DO 1319 J=1,N&lt;/P&gt;
&lt;P&gt;1319 SUM=SUM+REAL(AM(I,J))**2+IMAG(AM(I,J))**2&lt;/P&gt;
&lt;P&gt;1309 V(I)=1.0Q0/SUM&lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;end&lt;/P&gt;
&lt;P&gt;gives the message&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;t.f(1): warning #18000: The specified alignment (32) cannot be honored. Instead an alignment of 16 is used&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;I don't get any message with ifort 11 beta Intel64. You must have used a different compiler; how is anyone to guess? Are you implying that it didn't work? By the way, you are lucky if non-standard quad precision in the style of 20 years ago is working for you. In particular, use of REAL this way could be ambiguous.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Nov 2008 14:06:41 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-11-03T14:06:41Z</dc:date>
    <item>
      <title>complex*32 and real*16</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/complex-32-and-real-16/m-p/750783#M7281</link>
      <description>&lt;P&gt;
&lt;/P&gt;&lt;P&gt;  SUBROUTINE LUCINQP(AM,NDDMST,N,IER)&lt;/P&gt;
&lt;P&gt;  DIMENSION AM(40,40),V(40)&lt;/P&gt;
&lt;P&gt;  COMPLEX*32 AM&lt;/P&gt;
&lt;P&gt;  REAL*16 V&lt;/P&gt;
&lt;P&gt;  REAL*16 SUM&lt;/P&gt;
&lt;P&gt;  DO 1309 I=1,N&lt;/P&gt;
&lt;P&gt;  SUM=0.0Q0&lt;/P&gt;
&lt;P&gt;  DO 1319 J=1,N&lt;/P&gt;
&lt;P&gt;1319 SUM=SUM+REAL(AM(I,J))**2+IMAG(AM(I,J))**2&lt;/P&gt;
&lt;P&gt;1309 V(I)=1.0Q0/SUM&lt;/P&gt;
&lt;P&gt;  return&lt;/P&gt;
&lt;P&gt;  end&lt;/P&gt;
&lt;P&gt;gives the message&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;t.f(1): warning #18000: The specified alignment (32) cannot be honored. Instead an alignment of 16 is used&lt;/P&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Instead,&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;  dimension a(1000,1000),b(1000)&lt;/DIV&gt;
&lt;DIV&gt;  complex*32 a&lt;/DIV&gt;
&lt;DIV&gt;  real*16 b&lt;/DIV&gt;
&lt;DIV&gt;  do 1 i=1,1000&lt;/DIV&gt;
&lt;DIV&gt;  b(i)=0.0q0&lt;/DIV&gt;
&lt;DIV&gt;  do 1 j=1,1000&lt;/DIV&gt;
&lt;DIV&gt; 1 a(i,j)=(0.0q0,0.0q0)&lt;/DIV&gt;
&lt;DIV&gt;  b(611)=qacos(0.0q0)*2&lt;/DIV&gt;
&lt;DIV&gt;  a(27,311)=(1.0q0,-2.0q0)*.5q0&lt;/DIV&gt;
&lt;DIV&gt;  write(11,*)sqrt(a(27,311))&lt;/DIV&gt;
&lt;DIV&gt;  write(11,*)b(611)&lt;/DIV&gt;
&lt;DIV&gt;  stop&lt;/DIV&gt;
&lt;DIV&gt;  end&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;returns no message and works fairly in q-precision.&lt;/DIV&gt;
&lt;DIV&gt;??????&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 09:10:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/complex-32-and-real-16/m-p/750783#M7281</guid>
      <dc:creator>paolodenti</dc:creator>
      <dc:date>2008-11-03T09:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: complex*32 and real*16</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/complex-32-and-real-16/m-p/750784#M7282</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/225202"&gt;paolodenti&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SUBROUTINE LUCINQP(AM,NDDMST,N,IER)&lt;/P&gt;
&lt;P&gt;DIMENSION AM(40,40),V(40)&lt;/P&gt;
&lt;P&gt;COMPLEX*32 AM&lt;/P&gt;
&lt;P&gt;REAL*16 V&lt;/P&gt;
&lt;P&gt;REAL*16 SUM&lt;/P&gt;
&lt;P&gt;DO 1309 I=1,N&lt;/P&gt;
&lt;P&gt;SUM=0.0Q0&lt;/P&gt;
&lt;P&gt;DO 1319 J=1,N&lt;/P&gt;
&lt;P&gt;1319 SUM=SUM+REAL(AM(I,J))**2+IMAG(AM(I,J))**2&lt;/P&gt;
&lt;P&gt;1309 V(I)=1.0Q0/SUM&lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;end&lt;/P&gt;
&lt;P&gt;gives the message&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;t.f(1): warning #18000: The specified alignment (32) cannot be honored. Instead an alignment of 16 is used&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;I don't get any message with ifort 11 beta Intel64. You must have used a different compiler; how is anyone to guess? Are you implying that it didn't work? By the way, you are lucky if non-standard quad precision in the style of 20 years ago is working for you. In particular, use of REAL this way could be ambiguous.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 14:06:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/complex-32-and-real-16/m-p/750784#M7282</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-03T14:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: complex*32 and real*16</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/complex-32-and-real-16/m-p/750785#M7283</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;This is a bug that is fixed in version 11.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 14:17:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/complex-32-and-real-16/m-p/750785#M7283</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-11-03T14:17:12Z</dc:date>
    </item>
  </channel>
</rss>

