Multithreaded programming support seems to be the most obvious approach to helping programmers
take advantage of operating system parallelism. In this paper, we present the design and implementation
of a portable FORTRAN parallelizing compiler (PFPC) with loop partitioning on our AcerAltos-10000
multiprocessor system, running an OSF/1 multithreaded OS. In order to port the PFPC to the system
environments, we define a minimal set of thread-related functions and data types, called B Threads, that
form the kernel used in the PFPC to support execution on different platforms. Our compiler is highly
modularized so that porting to other platforms is very easy, and it can partition parallel loops into
multithreaded codes based on several loop-partitioning algorithms. The experimental results clearly show
that the compiler achieves good speedup. Our goal is to construct a high-performance, portable FORTRAN
parallelizing compiler on a shared-memory multiprocessor system. The results of this study make theoretical
and technical contributions to the design of a high-performance parallelizing compiler.
Relation:
Proceeding of the National Science Council Republic of China(Part A) 23(6):751-765