<?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 Random number generation using ranlib in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Random-number-generation-using-ranlib/m-p/787044#M30612</link>
    <description>I wonder if you have declared the procedure properly in the caller. It should be returning reals, not integers. Since you have the source code, you should be able to step through it with the debugger and see what is going wrong.</description>
    <pubDate>Mon, 09 Jul 2012 14:52:03 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2012-07-09T14:52:03Z</dc:date>
    <item>
      <title>Random number generation using ranlib</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Random-number-generation-using-ranlib/m-p/787043#M30611</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for an application, I am generating random variates from a standard exponential distribution using the function sexpo() included in the popular ranlib.f (e.g., &lt;A href="http://people.sc.fsu.edu/~jburkardt/f77_src/ranlib/ranlib.html)" target="_blank"&gt;http://people.sc.fsu.edu/~jburkardt/f77_src/ranlib/ranlib.html)&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;It works perfectly fine using the compiler version 11.1.072. However, if I use version 12.3.174 (with MKL included), the function returns very large integer values instead which are definitely not drawn from a standard exponential distribution. Unfortunately, I need to use the newer version because it has better support for allocatable arrays.&lt;BR /&gt;&lt;BR /&gt;I was wondering whether anyone had come across either this or a similar problem, or has an idea what might go wrong in the newer version given its new features or any particularities of MKL.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 09 Jul 2012 12:32:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Random-number-generation-using-ranlib/m-p/787043#M30611</guid>
      <dc:creator>danielpollmann</dc:creator>
      <dc:date>2012-07-09T12:32:36Z</dc:date>
    </item>
    <item>
      <title>Random number generation using ranlib</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Random-number-generation-using-ranlib/m-p/787044#M30612</link>
      <description>I wonder if you have declared the procedure properly in the caller. It should be returning reals, not integers. Since you have the source code, you should be able to step through it with the debugger and see what is going wrong.</description>
      <pubDate>Mon, 09 Jul 2012 14:52:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Random-number-generation-using-ranlib/m-p/787044#M30612</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-07-09T14:52:03Z</dc:date>
    </item>
  </channel>
</rss>

