NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Automatic Data Distribution for CFD Applications on Structured GridsDevelopment of HPF versions of NPB and ARC3D showed that HPF has potential to be a high level language for parallelization of CFD applications. The use of HPF requires an intimate knowledge of the applications and a detailed analysis of data affinity, data movement and data granularity. Since HPF hides data movement from the user even with this knowledge it is easy to overlook pieces of the code causing low performance of the application. In order to simplify and accelerate the task of developing HPF versions of existing CFD applications we have designed and partially implemented ADAPT (Automatic Data Distribution and Placement Tool). The ADAPT analyzes a CFD application working on a single structured grid and generates HPF TEMPLATE, (RE)DISTRIBUTION, ALIGNMENT and INDEPENDENT directives. The directives can be generated on the nest level, subroutine level, application level or inter application level. ADAPT is designed to annotate existing CFD FORTRAN application performing computations on single or multiple grids. On each grid the application can considered as a sequence of operators each applied to a set of variables defined in a particular grid domain. The operators can be classified as implicit, having data dependences, and explicit, without data dependences. In order to parallelize an explicit operator it is sufficient to create a template for the domain of the operator, align arrays used in the operator with the template, distribute the template, and declare the loops over the distributed dimensions as INDEPENDENT. In order to parallelize an implicit operator, the distribution of the operator's domain should be consistent with the operator's dependences. Any dependence between sections distributed on different processors would preclude parallelization if compiler does not have an ability to pipeline computations. If a data distribution is "orthogonal" to the dependences of an implicit operator then the loop which implements the operator can be declared as INDEPENDENT.
Document ID
20020073867
Acquisition Source
Ames Research Center
Document Type
Conference Paper
Authors
Frumkin, Michael
(NASA Ames Research Center Moffett Field, CA United States)
Yan, Jerry
(MRJ Technology Solutions, Inc. Moffett Field, CA United States)
Saini, Subhash
Date Acquired
August 20, 2013
Publication Date
January 1, 1999
Subject Category
Fluid Mechanics And Thermodynamics
Funding Number(s)
CONTRACT_GRANT: NAS2-14303
PROJECT: RTOP 519-40-12
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.

Available Downloads

There are no available downloads for this record.
No Preview Available