Documentation of 'edu.rit.pj.test.Test20' Java class
Test20
edu.rit.pj.test

Class Test20



  • public class Test20
    extends java.lang.Object
    Class 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 void main(java.lang.String[] args)
      Unit test main program.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Unit test main program.
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.