N-Body problems (many-body problem) is one of the basic problems of celestial mechanics and the general mechanics and research among the n-particle motion, it is up to the frontiers of science, in the field of high performance computing also has a certain degree of representativeness. MPI/OpenMP is a distributed/shared memory hierarchy, is a mixture of two parallel structures in high-performance computing, which provides node and node levels between parallel, can make full use of the advantages of shared storage model and message passing model, effectively improve the system performance, this programming model can be integrated to cultivate students ' ability of programming in high performance computing Act.