HAL will be down for maintenance from Friday, June 10 at 4pm through Monday, June 13 at 9am. More information
Skip to Main content Skip to Navigation

Optimizing a CFD Fortran code for GRID Computing

Stephen Wornom 1
1 SMASH - Simulation, modeling and analysis of heterogeneous systems
CRISAM - Inria Sophia Antipolis - Méditerranée , Université de Provence - Aix-Marseille 1
Abstract : Computations on clusters and computational GRIDS encounter similar situations where the processors used have different speeds and local RAM. In order to have efficient computations with processors of different speeds and local RAM, load balancing is necessary. That is, faster processors are given more work or larger domains to compute than the slower processors so that all processors finish their work at the same time thus avoiding faster processors waiting for the slower processors to finish. In addition, the programming language must permit dynamic memory allocation so that the executable size is proportional to the size of the partitions. The present version of the AERO code uses the F77 programming language which does not have dynamic memory allocation thus the size of the executable is the same for all processors and leads to situations where the RAM for some processors is too small to run the executable. In this report, we extend the parallel F77 AERO code to F90 which has dynamic memory allocation. The F90 version of the AERO code is mesh independent and because memory is allocated at runtime and memory is only allocated for the code options actually used, the size of the F90 executable is much smaller than the F77 version; as a consequence many tests cases that cannot be run on clusters and computational GRIDS with the F77 version can be easily run with the F90 version. Numerical results for a mesh containing 252K vertices using 8-nina and 8-pf processors running on the MecaGRID using GLOBUS using GLOBUS and heterogeneous partitions resulted in a speedup of 1.45 relative to the same run using the homogeneous partitioning which compares well with the theoretical speedup of 1.5. This validates the efficiency of the F90 version of the AERO code.
Document type :
Complete list of metadata

Cited literature [8 references]  Display  Hide  Download

Contributor : Rapport de Recherche Inria Connect in order to contact the contributor
Submitted on : Friday, May 19, 2006 - 6:24:44 PM
Last modification on : Friday, February 4, 2022 - 3:12:46 AM
Long-term archiving on: : Tuesday, February 22, 2011 - 10:45:31 AM


  • HAL Id : inria-00069877, version 1



Stephen Wornom. Optimizing a CFD Fortran code for GRID Computing. [Technical Report] RT-0303, INRIA. 2005, pp.29. ⟨inria-00069877⟩



Record views


Files downloads