<?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:Select a good seed for random numbers in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190884#M29730</link>
    <description>&lt;P&gt;ok, we will ask RNG owners to look at this case and they will help to recognize the problem.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 09 Jul 2020 04:33:40 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2020-07-09T04:33:40Z</dc:date>
    <item>
      <title>Select a good seed for random numbers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190319#M29705</link>
      <description>&lt;P&gt;Does anybody have an idea as to the best method of picking a random seed so I get different random numbers each time --&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;TYPE (VSL_STREAM_STATE) :: stream

      n=1000000
      nn=10

      brng=VSL_BRNG_MCG31
      method=VSL_RNG_METHOD_GAUSSIAN_ICDF
      seed=777

      a=0.0
      sigma=1.0

!     ***** Initialize *****
      errcode=vslnewstream( stream, brng,  seed )
      call CheckVslError(errcode)

!     ***** Call RNG *****
      errcode=vdrnggaussian( method, stream, n, r, a, sigma)
      call CheckVslError(errcode)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:39:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190319#M29705</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2020-07-07T16:39:46Z</dc:date>
    </item>
    <item>
      <title>This is not random from the program -- it has strong patterns - visible by eye</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190335#M29706</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 904px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/11071i7225A57D6D5814FB/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 17:13:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190335#M29706</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2020-07-07T17:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: This is not random from the program -- it has strong patterns - visible by eye</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190336#M29707</link>
      <description>&lt;P&gt;Re: This is not random from the program -- it has strong patterns - visible by eye&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 17:14:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190336#M29707</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2020-07-07T17:14:37Z</dc:date>
    </item>
    <item>
      <title>Re:Select a good seed for random numbers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190884#M29730</link>
      <description>&lt;P&gt;ok, we will ask RNG owners to look at this case and they will help to recognize the problem.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jul 2020 04:33:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190884#M29730</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-07-09T04:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: This is not random from the program -- it has strong patterns - visible by eye</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190926#M29735</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please clarify the problem a little bit – am I right that you don’t like a statistics of random numbers produced by MCG31M1 basic random number generator?&lt;/P&gt;
&lt;P&gt;Actually this generator is one of the generators of the linear-congruential family that have quite simple algorithm of the state adjustment.&lt;/P&gt;
&lt;P&gt;I can recommend to use modern generators form the Mersenne Twister family: MT19937/MT2203 or from the counter-based family: PHILOX4X32X10 / ARS5.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 07:19:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Select-a-good-seed-for-random-numbers/m-p/1190926#M29735</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2020-07-09T07:19:13Z</dc:date>
    </item>
  </channel>
</rss>

