Dynamic Creator Home Page


JAPANESE explanation is in the .tgz file below (README.jp), as well as English explanation (README).
Here is a .tgz file for Dynamic Creation (DC) of Mersenne Twister generators. For example, if you want 100 independent different random streams, in 100 paralell machines, then what you need to do is: call DC 100 times, with id numbers 0 -- 99. Then DC returns 100 different parameters for generators. Now you have 100 independent source.
Here is the gzipped tar file

dcmt0.6.2.tgz
dcmt0.6.1b.tgz
dcmt0.6.1.tgz
dcmt0.6.tgz
dcmt0.5.tgz
dcmt0.4.tgz
dcmt0.3.tgz
dcmt0.1.tgz

dcmt0.6.1b is almost the same with dcmt0.6.1; only the license is changed from GPL to BSD, to clarify that the users may use this code dcmt0.6.1b for non-free commercial use.
The change in dcmt0.6.2 is minor. In the make file, "-fPIC" option is added to avoid a compile error.

Caution I: The code is designed to be compiled by gcc, not g++. If you use g++, then you need to use the option:

-D__STDC_CONSTANT_MACROS=1
For the 31-bit version, if the exponent is 521, then get_mt_parameter_id and get_mt_parameter_id_st do not find any parameter for ID=9. Please skip ID=9 for this special choice. This phenomenon is observed only for the 31-bit version with exponent 521. We are going to fix this problem, hopefully soon.
These facts were kindly informed by Christophe HAEN, ISIMA student, Claude MAZEL, ISIMA teacher and project leader, and Fabien THOUNY, ISIMA student.

Caution II: this is not tested well yet, so it may contain many bugs. We are not responsible for any damage caused by these codes.

Reference:
Makoto Matsumoto and Takuji Nishimura,
"Dynamic Creation of Pseudorandom Number Generators",
Monte Carlo and Quasi-Monte Carlo Methods 1998,
Springer, 2000, pp 56--69.
This is downloadable as .ps file or .pdf file: dgene.ps or dgene.pdf.
Return to Japanese MT page
Return to English MT page