A Group is defined to represents a process group, typically with a grid structure and an associated set of process dimensions. It has its subclasses to represent different grid shape, such as Procs1, Procs2, etc. For example,
Procs2 p = new Procs2(2,4);
Naturally, an HPJava program will be executed parallel in each process of a group grid.