<?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: different random number each time in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/different-random-number-each-time/m-p/791223#M32735</link>
    <description>The usual method for getting different sequences from RNG code, where source is provided, is to set the seed(s) from contents of the DATE_AND_TIME VALUES array, elements (5:8).  Looks like that could be consistent.  However, you might use RANDOM_SEED() and RANDOM_NUMBER().  The usual reason for using the Numerical Recipes functions would be to get the same sequences on different compilers, or possibly a quicker but less rigorous sequence than Fortran's own library.</description>
    <pubDate>Tue, 26 Aug 2003 07:10:03 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2003-08-26T07:10:03Z</dc:date>
    <item>
      <title>different random number each time</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/different-random-number-each-time/m-p/791222#M32734</link>
      <description>I read the topic about random number posted previously.&lt;BR /&gt;As the Fortran's help files said, I referred RND$TIMESEED as the argument of the seed, I can get the different random number seqences each time.&lt;BR /&gt;&lt;BR /&gt;PROGRAM temp&lt;BR /&gt;USE DFLIB&lt;BR /&gt; REAL rand&lt;BR /&gt; CALL SEED(RND$TIMESEED)&lt;BR /&gt; CALL RANDOM(rand)&lt;BR /&gt;print *, "random =", rand&lt;BR /&gt;END PROGRAM temp&lt;BR /&gt;&lt;BR /&gt;Now, I meet the new problem &lt;BR /&gt;How can I get diffent seed for other random number generator each time, like ran2(idum) in Numerical Recipes in Fortran?&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 00:17:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/different-random-number-each-time/m-p/791222#M32734</guid>
      <dc:creator>csliu</dc:creator>
      <dc:date>2003-08-26T00:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: different random number each time</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/different-random-number-each-time/m-p/791223#M32735</link>
      <description>The usual method for getting different sequences from RNG code, where source is provided, is to set the seed(s) from contents of the DATE_AND_TIME VALUES array, elements (5:8).  Looks like that could be consistent.  However, you might use RANDOM_SEED() and RANDOM_NUMBER().  The usual reason for using the Numerical Recipes functions would be to get the same sequences on different compilers, or possibly a quicker but less rigorous sequence than Fortran's own library.</description>
      <pubDate>Tue, 26 Aug 2003 07:10:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/different-random-number-each-time/m-p/791223#M32735</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2003-08-26T07:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: different random number each time</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/different-random-number-each-time/m-p/791224#M32736</link>
      <description>Tim,&lt;BR /&gt;FYI, the authors of NR for Fortran, 2nd Ed. offer a $1000 reward for anyone who can demonstrate that RAN2 fails any test in a non-trivial way :).&lt;BR /&gt;Keith&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 23:12:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/different-random-number-each-time/m-p/791224#M32736</guid>
      <dc:creator>kdkeefer</dc:creator>
      <dc:date>2003-08-26T23:12:02Z</dc:date>
    </item>
  </channel>
</rss>

