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
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=1For 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.
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.