edu.rit.pj.test
Class Test20
- java.lang.Object
-
- edu.rit.pj.test.Test20
-
public class Test20 extends java.lang.ObjectClass Test20 is a hybrid parallel unit test program for class ReplicatedInteger. The program runs on a number of processors in the cluster with a number of threads in each process. The program generates a sequence of random integers. Each random integer updates a ReplicatedInteger variable using minimum as the reduction operator; thus, the variable always holds the smallest random integer. Once all processes have finished, each process prints the value of its variable.Usage: java -Dpj.np=np -Dpj.nt=nt edu.rit.pj.test.Test20 seed N
np = Number of processes
nt = Number of CPUs per process
seed = Random seed
N = Number of random integers
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)Unit test main program.
-
DMelt 3.0 © DataMelt by jWork.ORG