Back to Search
Start Over
Using Coarrays to Parallelize Legacy Fortran Applications: Strategy and Case Study
- Source :
- Scientific Programming, Scientific Programming, Vol 2015 (2015)
- Publication Year :
- 2015
- Publisher :
- Hindawi Publishing Corporation, 2015.
-
Abstract
- This paper summarizes a strategy for parallelizing a legacy Fortran 77 programusing the object-oriented (OO) and coarray features that entered Fortran in the 2003 and 2008 standards, respectively. OO programming (OOP) facilitates the construction of an extensible suite of model-verification and performance tests that drive the development. Coarray parallel programming facilitates a rapid evolution from a serial application to a parallel application capable of running on multicore processors and many-core accelerators in shared and distributed memory. We delineate 17 code modernization steps used to refactor and parallelize the program and study the resulting performance. Our initial studies were done using the Intel Fortran compiler on a 32-core shared memory server. Scaling behavior was very poor, and profile analysis using TAU showed that the bottleneck in the performance was due to our implementation of a collective, sequential summation procedure. We were able to improve the scalability and achieve nearly linear speedup by replacing the sequential summationwith a parallel, binary tree algorithm.We also tested theCray compiler, which provides its own collective summation procedure. Intel provides no collective reductions. With Cray, the program shows linear speedup even in distributed-memory execution. We anticipate similar results with other compilers once they support the new collective procedures proposed for Fortran 2015. Copyright © 2015 Hari Radhakrishnan et al. 2015
- Subjects :
- Speedup
Article Subject
Computer science
Fortran
Parallel programming
Program compilers
Parallel computing
Multicore programming
computer.software_genre
QA76.75-76.765
Profile analysis
Fortran compilers
Object oriented programming
Many-core accelerators
Computer software
Model verification
computer.programming_language
Multi-core processor
Object-oriented programming
Microprocessor chips
Distributed Memory
Binary trees
Performance tests
Parallel application
FORTRAN (programming language)
Computer Science Applications
Shared memory
Scalability
Distributed memory
Compiler
computer
Software
Memory architecture
Subjects
Details
- Language :
- English
- ISSN :
- 10589244
- Database :
- OpenAIRE
- Journal :
- Scientific Programming
- Accession number :
- edsair.doi.dedup.....9b4dbe667c679880d76c086c00e795ba
- Full Text :
- https://doi.org/10.1155/2015/904983