Mathematica 7 weirdness
- To: mathgroup at smc.vnet.net
- Subject: [mg94565] Mathematica 7 weirdness
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Tue, 16 Dec 2008 02:36:24 -0500 (EST)
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