Value - Based Distributions and Alignments in Fortran DReinhard
نویسندگان
چکیده
Compiling irregular applications written in a data-parallel language, like Fortran D or High Performance Fortran (HPF), presents a challenge of growing importance. A major component of data-parallel programming is the data mapping, i.e., data distribution and alignment. Map-pings may be either regular, in which case they correspond to simple functions between array indices and owning processors, or irregular. Regular mappings can already be speciied fairly conveniently, with keywords such as BLOCK or CYCLIC. However, the mechanisms proposed for irregular mappings so far require the programmer to go down to a very low level, for example by specifying explicit mapping arrays or mapping functions. For irregular problems, this makes it diicult to achieve good load balance or low storage and communication requirements without sacriicing programming convenience. Value-based mappings extend classical, index-based mappings to express for example the locality characteristics of an underlying physical problem. This gives the compiler an opportunity to improve both inter-and intra-processor locality, resulting in better performance and scalability, even when this locality is not inherent in the original data structures and access patterns. This paper reports on the experience gained from implementing value-based mappings in a Fortran 77D compiler prototype. We propose a natural extension of index-based mappings as already present in Fortran D and HPF. This paper addresses the compilation issues involved and makes a quantitative comparison of index and value-based mappings for a Molecular Dynamics application and an Unstructured Mesh kernel.
منابع مشابه
Visual edition of HPF mappings
Fortran 90 is the actual standard in term of data parallel language for scientiic computing. To develop a data parallel algorithm on a distributed memory machine, programmers generally use the High Performance Fortran extension of Fortran 90, in particular the data mapping directives. HPF-Builder graphical environment goal is to free the HPF programmers of all the syntactic constraints due to t...
متن کاملCompiling Distribution Directives in a FORTRAN 90D Compiler
Data Partitioning and mapping is one of the most important steps of in writing a parallel program; especially data parallel one. Recently, Fortran D, and subsequently, High Performance Fortran (HPF) have been proposed to allow users to specify data distributions and alignments for arrays in programs. This paper presents the design of a Fortran 90D compiler that takes a Fortran 90D program as in...
متن کاملCalculation of Absorbed Glandular Dose using a FORTRAN Program Based on Monte Carlo X-ray Spectra in Mammography
Introduction: Average glandular dose calculation in mammography with Mo-Rh target-filter and dose calculation for different situations is accurate and fast. Material and Methods: In this research, first of all, x-ray spectra of a Mo target bombarded by a 28 keV electron beam with and without a Rh filter were calculated using the MCNP code. Then, we used the Sobol-Wu parameters to write a FORTRA...
متن کاملStep By Step Transformation of a Fortran 90 Program in HPF, using HPF-Builder
Fortran 90 is the actual standard in term of data parallel language for scientiic computing. To develop a data parallel algorithm on a distributed memory machine, programmers generally use the High Performance Fortran extension of Fortran 90, in particular the data mapping directives. HPF-Builder8] graphical environment goal is to free the HPF programmers of all the syntactic constraints due to...
متن کاملHpf-Builder: a Visual Environment To Transform Fortran 90 Codes To Hpf
FORTRAN 90 is the actual standard in term of data parallel language for scientiic computing. To develop a data parallel algorithm on a distributed memory machine, programmers generally use the High Performance FORTRAN extension of FORTRAN 90, in particular the data mapping directives. HPF-Builder graphical environment goal is to free the HPF programmers of all the syntactic constraints due to t...
متن کامل