摘要 |
<p>A different phase type is specified toward each of a plurality of processors constituting a parallel computer, thereby, in a changeable manner, generating M sequence random numbers having the phase type. An information inputting unit (105) inputs, into a random-number generating process unit (101), the number (106) of the processors used in a parallel processing, the number (107) of the random numbers to be generated by a single processor, the number (108) of the phase types of the random numbers to be generated, and phase type information (109) for each processor. The random-number generating process unit (101) includes a phase-type management-table creating process unit (102), an initial-value table generating process unit (103), and a random-number generating calculation unit (104). Based on the number (108) of the phase types of the random numbers to be generated and the phase type information (109) for each processor, the phase type management table-creating process unit (102) creates a phase type management table (110) that manages which phase type of random numbers each of the processors generates. The initial-value table generating process unit (103) creates an initial value table (111) that generates the random numbers from the information stored in the phase type management table (110). The random-number generating calculation unit (104) generates the random numbers from the created initial value table (111) in accordance with a generation rule of the M sequence random numbers. An information outputting unit (112) outputs random numbers that correspond to a phase type specified by the phase type information (109) for each processor. <IMAGE></p> |