<?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 problem using QDNG subroutin from IMSL in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-using-QDNG-subroutin-from-IMSL/m-p/787889#M31019</link>
    <description>Thank you very much. My code now works.</description>
    <pubDate>Thu, 24 Nov 2011 07:12:33 GMT</pubDate>
    <dc:creator>yuezhanwei</dc:creator>
    <dc:date>2011-11-24T07:12:33Z</dc:date>
    <item>
      <title>problem using QDNG subroutin from IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-using-QDNG-subroutin-from-IMSL/m-p/787887#M31017</link>
      <description>Hi, I am tring to use the QDNG subroutine. I have Intel Visual Fortran 
composer XE with IMSL library. I have added IMSL library to the library 
and includ path (page 891). I got two erros even when I run the sample 
code from the IMSL math mannual: &lt;BR /&gt;
1. program exception - access violation &lt;BR /&gt;
this error occus when calling QDNG subroutine&lt;BR /&gt;
2. Keyword arguments are invalid without an explicit interface. [ERRABS]&lt;BR /&gt;
Keyword arguments are invalid without an explicit interface. [ERREST]&lt;BR /&gt;
this is an error for compiling the code when I include these optional arguments.&lt;BR /&gt;
&lt;BR /&gt;
Please help me. Thank you very much !!!&lt;BR /&gt;
&lt;BR /&gt;
The code is below:&lt;BR /&gt;
&lt;BR /&gt;
PROGRAM Main&lt;BR /&gt;
INCLUDE 'link_fnl_static.h'&lt;BR /&gt;
!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'&lt;BR /&gt;
IMPLICIT NONE&lt;BR /&gt;
INTEGER NOUT&lt;BR /&gt;
REAL A, ABS, B, ERRABS, ERREST, ERROR, EXACT, EXP, F, RESULT&lt;BR /&gt;
INTRINSIC ABS, EXP&lt;BR /&gt;
EXTERNAL F&lt;BR /&gt;
! Get output unit number&lt;BR /&gt;
CALL UMACH (2, NOUT)&lt;BR /&gt;
! Set limits of integration&lt;BR /&gt;
A = 0.0&lt;BR /&gt;
B = 2.0&lt;BR /&gt;
! Set error tolerances&lt;BR /&gt;
ERRABS = 0.0&lt;BR /&gt;
!CALL QDNG (F, A, B, RESULT) !, ERRABS=ERRABS, ERREST=ERREST)&lt;BR /&gt;
! Print results&lt;BR /&gt;
EXACT = 1.0 + EXP(2.0)&lt;BR /&gt;
ERROR = ABS(RESULT-EXACT)&lt;BR /&gt;
WRITE (NOUT,99999) RESULT, EXACT, ERREST, ERROR&lt;BR /&gt;
99999 FORMAT (' Computed =', F8.3, 13X, ' Exact =', F8.3, /, /, &amp;amp;&lt;BR /&gt;
' Error estimate =', 1PE10.3, 6X, 'Error =', 1PE10.3)&lt;BR /&gt;
END&lt;BR /&gt;
!&lt;BR /&gt;
REAL FUNCTION F (X)&lt;BR /&gt;
REAL X&lt;BR /&gt;
REAL EXP&lt;BR /&gt;
INTRINSIC EXP&lt;BR /&gt;
F = X*EXP(X)&lt;BR /&gt;
RETURN&lt;BR /&gt;
END</description>
      <pubDate>Wed, 23 Nov 2011 19:57:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-using-QDNG-subroutin-from-IMSL/m-p/787887#M31017</guid>
      <dc:creator>yuezhanwei</dc:creator>
      <dc:date>2011-11-23T19:57:38Z</dc:date>
    </item>
    <item>
      <title>problem using QDNG subroutin from IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-using-QDNG-subroutin-from-IMSL/m-p/787888#M31018</link>
      <description>You are calling the "Fortran 90" interface and therefore must add:&lt;BR /&gt;&lt;BR /&gt;USE QDNG_INT&lt;BR /&gt;&lt;BR /&gt;after the PROGRAM statement. You probably missed this because in the manual, this line is shown on the previous page. The example also requires the line:&lt;BR /&gt;&lt;BR /&gt;USE UMACH_INT&lt;BR /&gt;&lt;BR /&gt;as shown there.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Nov 2011 20:10:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-using-QDNG-subroutin-from-IMSL/m-p/787888#M31018</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-11-23T20:10:46Z</dc:date>
    </item>
    <item>
      <title>problem using QDNG subroutin from IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-using-QDNG-subroutin-from-IMSL/m-p/787889#M31019</link>
      <description>Thank you very much. My code now works.</description>
      <pubDate>Thu, 24 Nov 2011 07:12:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problem-using-QDNG-subroutin-from-IMSL/m-p/787889#M31019</guid>
      <dc:creator>yuezhanwei</dc:creator>
      <dc:date>2011-11-24T07:12:33Z</dc:date>
    </item>
  </channel>
</rss>

