<?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 unsolved external symbol _DRNUN in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778598#M26394</link>
    <description>Hi, I have a problem with the random number generator _DRNUN that I used as&lt;BR /&gt;&lt;BR /&gt;call drnun (NR, R)&lt;BR /&gt;&lt;BR /&gt;where NR - Number of random numbers to generate. (Input)   &lt;BR /&gt;R  - Vector of length NR containing the random uniform (0,1)deviates.  (Output).  &lt;BR /&gt;&lt;BR /&gt;It is fine to compile the code in Compaq visual Fortran.  However, it gives me error message as "error LNK2019: unresolved external symbol _DRNUN referenced in function XXX".  Could anyone please tell me what is wrong and how should I correct it?  &lt;BR /&gt;&lt;BR /&gt;Thanks for your time and I appreciate your help.</description>
    <pubDate>Sat, 08 Nov 2003 06:07:25 GMT</pubDate>
    <dc:creator>gte274s</dc:creator>
    <dc:date>2003-11-08T06:07:25Z</dc:date>
    <item>
      <title>unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778598#M26394</link>
      <description>Hi, I have a problem with the random number generator _DRNUN that I used as&lt;BR /&gt;&lt;BR /&gt;call drnun (NR, R)&lt;BR /&gt;&lt;BR /&gt;where NR - Number of random numbers to generate. (Input)   &lt;BR /&gt;R  - Vector of length NR containing the random uniform (0,1)deviates.  (Output).  &lt;BR /&gt;&lt;BR /&gt;It is fine to compile the code in Compaq visual Fortran.  However, it gives me error message as "error LNK2019: unresolved external symbol _DRNUN referenced in function XXX".  Could anyone please tell me what is wrong and how should I correct it?  &lt;BR /&gt;&lt;BR /&gt;Thanks for your time and I appreciate your help.</description>
      <pubDate>Sat, 08 Nov 2003 06:07:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778598#M26394</guid>
      <dc:creator>gte274s</dc:creator>
      <dc:date>2003-11-08T06:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778599#M26395</link>
      <description>DRNUN is an IMSL routine, and therefore you have to tell either the compiler or the linker that you are using IMSL.&lt;BR /&gt;&lt;BR /&gt;Method 1:&lt;BR /&gt;&lt;BR /&gt;Add the line:&lt;BR /&gt;&lt;BR /&gt;USE NUMERICAL_LIBRARIES&lt;BR /&gt;&lt;BR /&gt;right after the PROGRAM, SUBROUTINE or FUNCTION line of the code that calls DRNUN&lt;BR /&gt;&lt;BR /&gt;Method 2:&lt;BR /&gt;&lt;BR /&gt;Select Project..Add to Project..Files.  Files of type: Library Files (.LIB).  Browse to the Program FilesMicrosoft Visual StudioDF98IMSLLIB folder.  Select all the .LIB files and click OK.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 08 Nov 2003 08:25:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778599#M26395</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2003-11-08T08:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778600#M26396</link>
      <description>Thanks, Steve.</description>
      <pubDate>Wed, 12 Nov 2003 23:06:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778600#M26396</guid>
      <dc:creator>gte274s</dc:creator>
      <dc:date>2003-11-12T23:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778601#M26397</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&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;DRNUN is an IMSL routine, and therefore you have to tell either the compiler or the linker that you are using IMSL.&lt;BR /&gt;&lt;BR /&gt;Method 1:&lt;BR /&gt;&lt;BR /&gt;Add the line:&lt;BR /&gt;&lt;BR /&gt;USE NUMERICAL_LIBRARIES&lt;BR /&gt;&lt;BR /&gt;right after the PROGRAM, SUBROUTINE or FUNCTION line of the code that calls DRNUN&lt;BR /&gt;&lt;BR /&gt;Method 2:&lt;BR /&gt;&lt;BR /&gt;Select Project..Add to Project..Files. Files of type: Library Files (.LIB). Browse to the Program FilesMicrosoft Visual StudioDF98IMSLLIB folder. Select all the .LIB files and click OK.&lt;BR /&gt;&lt;BR /&gt;Steve &lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Mar 2009 19:33:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778601#M26397</guid>
      <dc:creator>crkkos</dc:creator>
      <dc:date>2009-03-25T19:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778602#M26398</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/410342"&gt;crkkos&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;DIV style="margin:0px;"&gt;I tried the USE NUMERICAL LIBRARIES and couldnt get the function to work. I am using susedev1 and ifort 11&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Mar 2009 19:35:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778602#M26398</guid>
      <dc:creator>crkkos</dc:creator>
      <dc:date>2009-03-25T19:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778603#M26399</link>
      <description>&lt;DIV style="margin:0px;"&gt;Suse 10 that is&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Mar 2009 19:35:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778603#M26399</guid>
      <dc:creator>crkkos</dc:creator>
      <dc:date>2009-03-25T19:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778604#M26400</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
Intel does not offer a package with IMSL on Linux. You can buy IMSL for Linux from Visual Numerics.&lt;BR /&gt;&lt;BR /&gt;The Intel Math Kernel Library, included with Intel Fortran Professional Edition, has many random number generators. Otherwise, consider using the Fortran intrinsic RANDOM_NUMBER.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Mar 2009 20:05:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778604#M26400</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-03-25T20:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778605#M26401</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/410342"&gt;crkkos&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;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Did you try to use the method 2 ??</description>
      <pubDate>Wed, 25 Mar 2009 20:29:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778605#M26401</guid>
      <dc:creator>Peter</dc:creator>
      <dc:date>2009-03-25T20:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: unsolved external symbol _DRNUN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778606#M26402</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/415004"&gt;Peter&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;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Did you try to use the method 2 ??&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Peter, he's using Linux where the original posts do not apply.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Mar 2009 20:56:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unsolved-external-symbol-DRNUN/m-p/778606#M26402</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-03-25T20:56:40Z</dc:date>
    </item>
  </channel>
</rss>

