Title :
Automatic Refactoring of Legacy Fortran Code to the Array Slicing Notation
Author :
Rajaseharan, C. ; Wen Jun Tan ; Wai Teng Tang ; Turner, Stephen John ; Shyh-hao Kuo ; Goh, Rick Siow Mong ; Weng-Fai Wong
Author_Institution :
Sch. of Comput. Eng., Nanyang Technol. Univ., Singapore, Singapore
Abstract :
There are many legacy Fortran programs still in use today, especially scientific codes which were written decades ago. Many of these codes use explicit DO-loops in programs that tend to clutter the code and make it harder to understand and maintain. Modern features of the Fortran language, such as the array slicing notation and introduction of commonly used intrinsic functions, go a long way in helping programmers write code that is easier to read and maintain. We introduce a refactoring tool that can help to transform code to make use of the array slicing notation and related intrinsic functions.
Keywords :
FORTRAN; program slicing; software maintenance; DO-loops; array slicing notation; automatic refactoring tool; intrinsic functions; legacy Fortran programs; scientific codes; Arrays; Clutter; Educational institutions; Jacobian matrices; Java; Optimization; Transforms; Fortran; loops; parallelism; refactoring; vectorization;
Conference_Titel :
Parallel and Distributed Systems (ICPADS), 2012 IEEE 18th International Conference on
Conference_Location :
Singapore
Print_ISBN :
978-1-4673-4565-1
Electronic_ISBN :
1521-9097
DOI :
10.1109/ICPADS.2012.101