Directive Extensions of OpenMP System Based on Cluster
Long Zhang · Chinese Journal of Computers · 2004
The OpenMP Application Programming Interface (API) is an emerging standard for parallel programming on shared memory multiprocessors because of its ease of use and incremental approach to the parallelization of sequential programs. At present, clusters of workstations or PCs have been becoming the mainstream platform for high performance computing. It is increasingly attractive to develop OpenMP system based on cluster which combines the programmability of OpenMP with scalability of cluster. The OpenMP program could be written in both loop-level parallel style and SPMD style. The SPMD style is not easy to program while the loop-level style is easy. Unfortunately, it is necessary to program in SPMD style for high performance on OpenMP system based on cluster. In this paper, some directive extensions have been illustrated, such as data distribution directive, new loop schedule scheme, etc. and these directive extensions have been implemented on our OpenMP system based on cluster named OpenMP/JIAJIA. Experimental results show that the performance of programs' version written in these directive extensions is as good as the version written in SPMD style while the programmability is as good as loop-level style. So it is an effective programming style to program in these directive extensions on OpenMP system based on cluster.