MathGroup Archive 2008

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

Search the Archive

Re: Mathematica 7 weirdness

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94566] Re: Mathematica 7 weirdness
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Tue, 16 Dec 2008 02:36:35 -0500 (EST)
  • References: <C7EFEF88-F3D3-4E38-87D4-E481FFF62029@mimuw.edu.pl>

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



  • Prev by Date: Re: Re: Re: Optimized structure of an equation
  • Next by Date: Re: Did I trash Mathematica installation?
  • Previous by thread: Mathematica 7 weirdness
  • Next by thread: Re: Re: Mathematica 7 weirdness