<?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 You may need to replace &amp;quot;TO&amp;quot; in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092898#M124821</link>
    <description>&lt;P&gt;You may need to replace "TO" with "," in your DO loop. The "TO" format may have been valid in very old FORTRAN compilers from some vendors. Note, IVF may (I do not know) support TO syntax provided you supply an appropriate option (perhaps /f66, or /vms&amp;nbsp;compatibility).&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2016 14:31:49 GMT</pubDate>
    <dc:creator>jimdempseyatthecove</dc:creator>
    <dc:date>2016-06-10T14:31:49Z</dc:date>
    <item>
      <title>Fortran code Error explanantions</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092891#M124814</link>
      <description>&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Hi, &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;I ran the following code on Fortran. These were my results:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;FUNCTION&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt; PKLEQ(XLO, XHI)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;DOUBLE PRECISION&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt; A,B,C,D,E,F,H, O,P,Q,R,S,T,U,V,W,X,Y,Z&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;INTEGER&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt; I,J,K,L,M,N&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;DIMENSION&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt; XI(5), WI(6)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;XI(1) = 0.148874338981631&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;XI(2) = 0.433395394129247&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;XI(3) = 0.679409568299024&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;XI(4) = 0.865063366688985&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;XI(5) = 0.973906528517172&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;WI(1) = 0.295524224714753&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;WI(2) = 0.269266719309996&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;WI(3) = 0.219086362515982&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;WI(4) = 0.149451349150581&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;WI(5) = 0.066671344308688&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;PKLEQ = 0.0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;XM = (XHI + XLO) / TWO&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;XR = (XHI – XLO) / TWO&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;DO&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt; 10 I = 1 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;TO&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt; 5&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;DX = XR * XI(I)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;PKLEQ = PKLEQ + WI(I) * (FUNC(XM + DX) + FUNC(XM - DX))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;10&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;CONTINUE&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;PKLEQ = PKLEQ * XR&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#008000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;RETURN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;END&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Error Messages:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Error 1 error #5078: Unrecognized token 'XHI?' skipped C:\Users\FortranCompiler\Desktop\Cost Uncertainty Codes\PKLEQ.f 41 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Error 2 error #5082: Syntax error, found IDENTIFIER 'TO5' when expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. &amp;lt; .LE. &amp;lt;= .EQ. == .NE. /= .GT. &amp;gt; ... C:\Users\FortranCompiler\Desktop\Cost Uncertainty Codes\PKLEQ.f 45 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Error 3 error #6385: The highest data type rank permitted is INTEGER(KIND=8). [TO5] C:\Users\FortranCompiler\Desktop\Cost Uncertainty Codes\PKLEQ.f 45 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Error 4 Compilation Aborted (code 1) C:\Users\FortranCompiler\Desktop\Cost Uncertainty Codes\PKLEQ.f 1 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Please let me know your thoughts on these few errors and how I could approach fixing them. Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:11:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092891#M124814</guid>
      <dc:creator>Aravind_R_</dc:creator>
      <dc:date>2016-06-10T14:11:53Z</dc:date>
    </item>
    <item>
      <title>Could you use the code button</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092892#M124815</link>
      <description>&lt;P&gt;Could you use the code button to post your code? The layout was lost completely and since you appear to be using fixed form, the layout is much more important than might otherwise be the case.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:16:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092892#M124815</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2016-06-10T14:16:52Z</dc:date>
    </item>
    <item>
      <title> FUNCTION PKLEQ(XLO, XHI)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092893#M124816</link>
      <description>&lt;PRE class="brush:fortran;"&gt;&amp;nbsp;FUNCTION PKLEQ(XLO, XHI)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOUBLE PRECISION A,B,C,D,E,F,H, O,P,Q,R,S,T,U,V,W,X,Y,Z

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER I,J,K,L,M,N

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIMENSION XI(5), WI(6)

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(1) = 0.148874338981631

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(2) = 0.433395394129247

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(3) = 0.679409568299024

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(4) = 0.865063366688985

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(5) = 0.973906528517172

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(1) = 0.295524224714753

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(2) = 0.269266719309996

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(3) = 0.219086362515982

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(4) = 0.149451349150581

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(5) = 0.066671344308688

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PKLEQ = 0.0

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XM = (XHI + XLO) / TWO

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XR = (XHI – XLO) / TWO

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DO 10 I = 1 TO 5

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DX = XR * XI(I)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PKLEQ = PKLEQ + WI(I) * (FUNC(XM + DX) + FUNC(XM - DX))

C

&amp;nbsp;&amp;nbsp; 10 CONTINUE

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PKLEQ = PKLEQ * XR

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:21:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092893#M124816</guid>
      <dc:creator>Aravind_R_</dc:creator>
      <dc:date>2016-06-10T14:21:28Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092894#M124817</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Arjen, does that work for you? I am sorry about the way I initially formatted this.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:22:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092894#M124817</guid>
      <dc:creator>Aravind_R_</dc:creator>
      <dc:date>2016-06-10T14:22:49Z</dc:date>
    </item>
    <item>
      <title>Error 2 is obvious. On your</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092895#M124818</link>
      <description>&lt;P&gt;Error 2 is obvious. On your DO statement you need a space between "TO" and "5" otherwise it thinks TO5 is a variable.&lt;/P&gt;

&lt;P&gt;Les&lt;/P&gt;

&lt;P&gt;&amp;lt;edit&amp;gt; doh! It is the end of a long day and I'm tired, and .... &amp;nbsp;That's my excuse and I am sticking to it :-) &amp;nbsp; - replace TO with a comma./&amp;lt;edit&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092895#M124818</guid>
      <dc:creator>Les_Neilson</dc:creator>
      <dc:date>2016-06-10T14:23:00Z</dc:date>
    </item>
    <item>
      <title>As Arjen hinted, your code,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092896#M124819</link>
      <description>&lt;P&gt;As Arjen hinted, your code, including the use of C comments, implies that you must use fixed format.&amp;nbsp; If you have changed this code to free format (not observing the requirements for column 7-73 fields) you must change the C comments to !.&lt;/P&gt;

&lt;P&gt;I would guess that you have lost IMPLICIT prefixes from your DOUBLE PRECISION and INTEGER statements.&amp;nbsp; That style was typical of IBM360 extended Fortran 66 programming 40 to 45 years ago.&lt;/P&gt;

&lt;P&gt;You have omitted definition of TWO; in current Fortran you might have something like&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use iso_fortran_env&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(real64) parameter :: TWO = 2&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092896#M124819</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-06-10T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Much better, thank you :).</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092897#M124820</link>
      <description>&lt;P&gt;Much better, thank you :).&lt;/P&gt;

&lt;P&gt;The DO statement is wrong:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt; DO 10 I =1,5&lt;/PRE&gt;

&lt;P&gt;Fortran does not use a keyword in DO statements (or it is an extension I am not aware of)&lt;/P&gt;

&lt;P&gt;I see nothing wrong with liine 41, but the message is about 'XHI?' - some hidden character perhaps?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:26:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092897#M124820</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2016-06-10T14:26:26Z</dc:date>
    </item>
    <item>
      <title>You may need to replace "TO"</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092898#M124821</link>
      <description>&lt;P&gt;You may need to replace "TO" with "," in your DO loop. The "TO" format may have been valid in very old FORTRAN compilers from some vendors. Note, IVF may (I do not know) support TO syntax provided you supply an appropriate option (perhaps /f66, or /vms&amp;nbsp;compatibility).&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:31:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092898#M124821</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-06-10T14:31:49Z</dc:date>
    </item>
    <item>
      <title>Thanks for your input Arjen</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092899#M124822</link>
      <description>&lt;P&gt;Thanks for your input Arjen and Jim. I noticed the incorrect phrasing of the DO line as well and I just fixed it. I will continue checking on the remaining error thanks for taking the time to answer this!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:37:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092899#M124822</guid>
      <dc:creator>Aravind_R_1</dc:creator>
      <dc:date>2016-06-10T14:37:50Z</dc:date>
    </item>
    <item>
      <title>I gather that this function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092900#M124823</link>
      <description>&lt;P&gt;I gather that this function calculates the integral of FUNC(x) from XLO to XHI using the 10-point Gauss-Legendre quadrature formula, see&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="http://dlmf.nist.gov/3.5#v" target="_blank"&gt;http://dlmf.nist.gov/3.5#v&lt;/A&gt; .&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;None of the explicitly declared local variables other than I are used in the code -- what is the point of the declarations? The quadrature points and weights are given to 15 significant digits, but these will be truncated to 7 digits because the default precision is REAL, for the literals as well as the variables XI and WI. Nor are 15 digits adequate if you are using DOUBLE PRECISION using some compiler option to promote REAL to DOUBLE PRECISION.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:52:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092900#M124823</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-06-10T14:52:00Z</dc:date>
    </item>
    <item>
      <title>I think the code was meant to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092901#M124824</link>
      <description>&lt;P&gt;I think the code was meant to have IMPLICIT&lt;/P&gt;

&lt;P&gt;IMPLICIT &lt;FONT face="Courier New"&gt;DOUBLE&lt;/FONT&gt; &lt;CODE class="fortran color2"&gt;&lt;FONT face="Courier New"&gt;PRECISION&lt;/FONT&gt;&lt;/CODE&gt; &lt;CODE class="fortran plain"&gt;&lt;FONT face="Courier New"&gt;A,B,C,D,E,F,H, O,P,Q,R,S,T,U,V,W,X,Y,Z&lt;/FONT&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Also, for double precision initialization, append _8 to your literals. Otherwise they are inputted into real(4) then promoted to real(8):&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;XI(1) = 0.148874338981631_8&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;Jim Dempsey&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 15:12:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092901#M124824</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-06-10T15:12:48Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092902#M124825</link>
      <description>&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Hi,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;As per most of you suggestions I was able to correct most of the errors and ran the following code: &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FUNCTION PKLEQ(XLO, XHI)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPLICIT DOUBLE PRECISION (A-H, O-Z)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPLICIT INTEGER (I-N)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIMENSION XI(5), WI(6)

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(1) = 0.148874338981631

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(2) = 0.433395394129247

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(3) = 0.679409568299024

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(4) = 0.865063366688985

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XI(5) = 0.973906528517172

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(1) = 0.295524224714753

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(2) = 0.269266719309996

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(3) = 0.219086362515982

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(4) = 0.149451349150581

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WI(5) = 0.066671344308688

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PKLEQ = 0.0

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XM = (XHI + XLO) / TWO

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XR = (XHI + XLO) / TWO

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DO 10 I = 1, 5

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DX = XR * XI(I)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PKLEQ = PKLEQ + WI(I) * (FUNC(XM + DX) + FUNC(XM - DX))

C

&amp;nbsp;&amp;nbsp; 10 CONTINUE

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PKLEQ = PKLEQ * XR

C

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/PRE&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;I now only have the following error message:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Error 1 error LNK2019: unresolved external symbol _FUNC referenced in function _PKLEQ PKLEQ.obj &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Consolas, sans-serif"&gt;&lt;FONT size="2" style="font-size: 9pt"&gt;Please let me know your thoughts on this error and how I could approach fixing it. Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 17:24:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092902#M124825</guid>
      <dc:creator>Aravind_R_</dc:creator>
      <dc:date>2016-06-10T17:24:28Z</dc:date>
    </item>
    <item>
      <title>If this function is called</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092903#M124826</link>
      <description>&lt;P&gt;If this function is called with a third argument, passing a user defined EXTERNAL DOUBLE PRECISION function, that function must appear in the corresponding position in the argument list here.&amp;nbsp; In more modern Fortran, it could be defined in a MODULE.&lt;/P&gt;

&lt;P&gt;It will still fail disastrously if you fail to define TWO.&amp;nbsp; If the code looks too obscure, simply replace / TWO by * 0.5 .&lt;/P&gt;

&lt;P&gt;Not all past compilers made IMPLICIT DOUBLE PRECISION apply to the function name. This must match the function you supply.&amp;nbsp; If you don't apply Jim's correction, you may as well let everything go to default REAL and INTEGER.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 18:03:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092903#M124826</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-06-10T18:03:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Aravind wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092904#M124827</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Aravind wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I now only have the following error message:&lt;/P&gt;

&lt;P&gt;Error 1 error LNK2019: unresolved external symbol _FUNC referenced in function _PKLEQ PKLEQ.obj&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Please let me know your thoughts on this error and how I could approach fixing it. Thanks!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Sometimes, it helps to step out of the programming jungle and back into the mathematical garden. Your program has the purpose of integrating a function over an interval. Can you do so without specifying the interval and the integrand? The integrand is represented by FUNC. Where is that defined?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 19:25:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092904#M124827</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-06-10T19:25:09Z</dc:date>
    </item>
    <item>
      <title>Quote:jimdempseyatthecove</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092905#M124828</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;jimdempseyatthecove wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;..&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Also, for double precision initialization, append _8 to your literals. Otherwise they are inputted into real(4) then promoted to real(8):&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;XI(1) = 0.148874338981631_8 ..&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Given the use of the standard token 'DOUBLE PRECISION' from the language, it will be better if OP used D0 to append to the literal constant, instead of _8, as in&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;XI(1) = 0.148874338981631D0&lt;/PRE&gt;

&lt;P&gt;The above will be standard Fortran consistent with DOUBLE PRECISION notation (from FORTRAN 77 days) and portable across implementations that provide standard support. &amp;nbsp;Even otherwise, it will be better for coders not to use a literal 8 (or 4) to denote kinds, for there is no guarantee these literals will always correspond to intended precision. &amp;nbsp;Instead do something along the lines of&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;..
   use, intrinsic :: iso_fortran_env, only : R8 =&amp;gt; real64
..
   real(R8) :: XI(..)
..
   XI(1) = 0.148874338981631_r8
..&lt;/PRE&gt;

&lt;P&gt;if modern style is desired; else stick to DOUBLE PRECISION and D0.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 20:17:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-code-Error-explanantions/m-p/1092905#M124828</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2016-06-10T20:17:12Z</dc:date>
    </item>
  </channel>
</rss>

