Skip to Main Content
CG Method is the most prominent iterative method for solving sparse systems of linear equations. Implementing the CG method in high-performance cluster has practical significance in many fields such as science and engineering. The advantages of using hybrid MPI+OpenMP programming in high-performance cluster are full use of cluster's features between the nodes with a distributed storage and within nodes shared storage. Coarse-grained message passing communication is implemented by MPI between the nodes. Fine-grained shared-memory communication is implemented by OpenMP within the nodes, which reduces the running time of parallel algorithm.