1 Design and Application of the Interactive Compiler and Performance Analyzers in ParaPIE 1 Yijun Yu, Wu Shi, Qi Wang, Binyu Zang, Yonghua Ding, Jianhui Li, Chen Wang, Chuanqi Zhu Institute of Parallel Processing, Fudan University Shanghai 200433, PRC $EVWUDFW Based on the technology of AFT (an advanced automatic Fortran parallelizing compiler developed at Fudan University), we have designed the ParaPIE(the PARAllel Programming Interactive Environment) that integrates the functions of an interactive parallelizing compiler and some interactive performance analyzers. By applying these tools in ParaPIE, we have successfully parallelized three difficult sequential programs in SPECfp95 benchmarks that can not be parallelized by automatic parallelizing compilers. Keywords Parallelizing Compiler, Parallel Programming Environment, SPECfp95 Benchmarks 1. Introduction Automatic parallelizing compiler(APC)[1] can avoid rewriting by hand thousand and thousand of lines of code from sequential programs to parallel programs. It can take advantage of the parallelism lying behind the sequential programs and transform them into an equivalent parallel form so as to effectively improve their performance on parallel computers. Thus, the compiler makes it possible to inherit available sequential programs or transplant codes among different parallel computers. As an intermediate between parallel computers and applications, APC has become an indispensable component of system software for parallel computers. Among the world-wide well-known researching automatic parallelizing compilers are SUIF of Stanford University[2], Polaris of the University of Illinois[3], FPT of the University of Gent[4] and AFT of Fudan University[5]. Although automatic parallelizing compilation is easy to use, its effectiveness has been found sometimes disappointing[6,7,8,9]. The compilers will not generate parallel codes unless they can prove that the parallel execution of the target program is equivalent to the sequential execution of the source program. Any of all the obstacles such as symbolic expressions, nonlinear index expressions, procedure calls, complex control flow, temporary, induction and reduction variables and subscripted arrays, etc, may cause APC to make conservative decisions. A programmer’s interactive prompts can, however, be of great help in overcoming these obstacles. Since APC saves the programmer a lot of time in dealing with simple cases, he can concentrate on the complex cases, and consequently both developing productivity and executing performance of the program are improved. In order to combine the APC technology with user interaction, the researches on Parallel Programming Interactive Environment were initiated, such as ParaScope of Rice University[10], PEFPT/ParaPIE of the University of Gent and Fudan University 2 [11,12,13,14]. This paper mainly discusses the design and application of the interactive parallelizing compiler and several performance analyzers in ParaPIE. Section 2 illustrates the goals and major functions of a parallel programming interactive 1 The work is supported by NNSF of China, European Commission Project ITDC-164 and Doctorial Foundation. 2 In fact ParaPIE and PEFPT are two different versions of the same software based on AFT and FPT respectively, therefore they will be mentioned as ParaPIE in the rest of the paper.