Semi‐automatic porting of a large‐scale Fortran CFD code to GPUs
- 3 May 2011
- journal article
- research article
- Published by Wiley in International Journal for Numerical Methods in Fluids
- Vol. 69 (2) , 314-331
Abstract
SUMMARY: The development of automatic techniques to port a substantial portion of FEFLO, a general‐purpose legacy CFD code operating on unstructured grids, to run on GPUs is described. FEFLO is a typical adaptive, edge‐based finite element code for the solution of compressible and incompressible flows, which is primarily written in Fortran 77 and has previously been ported to vector, shared memory parallel and distributed memory parallel machines. Owing to the large size of FEFLO and the likelihood of human error in porting, as well as the desire for continued development within a single codebase, a specialized Python script, based on FParser (Int. J. Comput. Sci. Eng. 2009; 4:296–305), was written to perform automated translation from the OpenMP‐parallelized edge and point loops to GPU kernels implemented in CUDA, along with GPU memory management. The results of verification benchmarks and performance indicate that performances achieved by such a translator can rival those of codes rewritten by specialists. The approach should be of general interest, as how best to run on GPUs is being presently considered for many so‐called legacy codes. Copyright © 2011 John Wiley & Sons, Ltd.Keywords
This publication has 34 references indexed in Scilit:
- Unsteady CFD computations using vertex‐centered finite volumes for unstructured grids on Graphics Processing UnitsInternational Journal for Numerical Methods in Fluids, 2011
- Running unstructured grid‐based CFD solvers on modern graphics hardwareInternational Journal for Numerical Methods in Fluids, 2011
- Acceleration of a CFD Code with a GPUScientific Programming, 2010
- CFD-based analysis and two-level aerodynamic optimization on graphics processing unitsComputer Methods in Applied Mechanics and Engineering, 2010
- Nodal discontinuous Galerkin methods on graphics processorsJournal of Computational Physics, 2009
- Large-Eddy Simulations of a Supersonic Jet and Its Near-Field Acoustic PropertiesAIAA Journal, 2009
- GPU acceleration of an unmodified parallel finite element Navier-Stokes solver2009
- Large calculation of the flow over a hypersonic vehicle using a GPUJournal of Computational Physics, 2008
- Acceleration of a two-dimensional Euler flow solver using commodity graphics hardwareProceedings of the Institution of Mechanical Engineers, Part C: Journal of Mechanical Engineering Science, 2007
- A Survey of General‐Purpose Computation on Graphics HardwareComputer Graphics Forum, 2007