MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Mathematica 7 weirdness

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94594] Re: [mg94566] Re: Mathematica 7 weirdness
  • From: Darren Glosemeyer <darreng at wolfram.com>
  • Date: Wed, 17 Dec 2008 06:32:48 -0500 (EST)
  • References: <C7EFEF88-F3D3-4E38-87D4-E481FFF62029@mimuw.edu.pl> <200812160736.CAA13469@smc.vnet.net>

Andrzej Kozlowski wrote:
> On 16 Dec 2008, at 15:42, Andrzej Kozlowski wrote:
>
>   
>> Here is a (slightly modified) example from the  
>> RandomNumberGeneration tutorial, which comes as part of the  
>> documentation:
>>
>> BlockRandom[
>> SeedRandom[Method -> {"MKL", Method -> {"Niederreiter", "Dimension" - 
>>     
>>> 2}}];
>>>       
>> RandomReal[1, {2, 2}]]
>>
>> The problem is that as well as the expected output we get an error  
>> message:
>>
>> SeedRandom::nogen:MKL is not one of the built-in random number  
>> generators Lattice, Congruential, MersenneTwister, Rule30CA,  
>> Rule50025CA, ExtendedCA, or Legacy.  A defined generator must be  
>> represented by a symbol. >>
>>
>> One possible reason is that I am using Mac OS X and the  
>> documentation says:
>>
>> The  "MKL" method uses the random number generators provided in  
>> Intel's MKL libraries. The MKL libraries are platform dependent.  
>> The  "MKL" method is available on Microsoft Windows (32-bit, 64- 
>> bit), Linux x86 (32-bit, 64-bit), and Linux Itanium systems.
>>
>> Intel Macs are not mentioned, but since, other than producing the  
>> error message, the generator works fine, this should count as a  
>> serious omission (if not exactly a bug) which should be corrected as  
>> soon as possible.
>>
>>
>> Andrzej Kozlowski
>>     
>
> On second thoughts, since all that is needed is
>
> Off[SeedRandom::"nogen"]
>
> probably I should have written "not very serious omission"  ;-)
>
> Andrzej Kozlowski
>
>   

I checked with a colleague who uses an Intel Mac and he verified that 
the number generator is falling back to the default method. While 
numbers are generated, the numbers generated will not have the low 
discrepancy properties of Niederreiter numbers.

Darren Glosemeyer
Wolfram Research


  • Prev by Date: Re: Did I trash Mathematica installation? -- CleanSlate caveat
  • Next by Date: Re: Re: branch of (-1)^(1/3)
  • Previous by thread: Re: Mathematica 7 weirdness
  • Next by thread: Re: Re: Mathematica 7 weirdness