Patent ID: 8495090

Claim:
A non-transitory computer-readable storage medium containing a program allowing a computer serving as each node to execute a parallel process control method for controlling a parallel process in a parallel process system including sub-clusters connected in a tree structure, each sub-cluster including a plurality of nodes, the program allowing the computer to execute: an accommodated node information holding procedure of holding accommodated node information, which is information to uniquely identify a master node and slave nodes controlled by the master node accommodated in the sub-cluster when one of the nodes is set as the master node of each of the sub-clusters; a master node connection information holding procedure of holding master node connection information, which is information about connection between a highest-layer master node in a highest-layer sub-cluster and lower-layer master nodes set in lower-layer sub-clusters when one of the nodes is set as the highest-layer master node in the highest-layer sub-cluster of the tree structure; a highest-layer master node communication control procedure of the highest-layer master node performing (i) preprocessing of the parallel process including establishing communication between the highest-layer master node and all the slave nodes accommodated in the highest-layer sub-cluster by referring to the accommodated node information held by the accommodated node information holding procedure and establishing communication between the highest-layer master node and the lower-layer master nodes by referring to the master node connection information held by the master node connection information holding procedure and (ii) post-processing of the parallel process including detecting end of process in all the nodes accommodated in the highest-layer sub-cluster and ending the communication after detecting process end notifications from all the lower-layer master nodes; and a lower-layer master node communication control procedure of each of the lower-layer master nodes performing (i) preprocessing of the parallel process including, after communication between the lower-layer master node and the highest-layer master node has been established, establishing communication between the slave nodes accommodated in the lower-layer sub-cluster and the highest-layer master node by referring to the accommodated node information held by the accommodated node information holding procedure and (ii) post-processing of the parallel process including detecting end of process in all the nodes accommodated in the lower-layer sub-cluster and notifying the higher-layer master node of the end of the process.