KLONOS: Similarity-based planning tool support for porting scientific applications

Wei Ding, Chung Hsing Hsu, Oscar Hernandez, Barbara Chapman, Richard Graham

Research output: Contribution to journalArticlepeer-review

7 Scopus citations

Abstract

In this paper, we propose a methodology to address an important aspect of software porting that receives little attention, namely planning support. When a scientific application consisting of many subroutines is to be ported, the selection of key subroutines greatly impacts the productivity and overall porting strategy because these subroutines may represent a significant feature of the code in terms of functionality, code structure, or performance. They may as well serve as indicators of the difficulty and amount of effort involved in porting a code to a new platform. The proposed methodology is based on the idea that a set of similar subroutines can be ported with similar strategies and result in a similar-quality porting. By viewing subroutines as data and operator sequences, analogous to DNA sequences, we are able to use various bioinformatics techniques to conduct the similarity analysis of subroutines while mitigating NP-complete challenges of other approaches. To the best of our knowledge, we are one of the first to explore this bio-inspired view of program to target the porting planning problem. In this paper, we describe our methodology and present a tool called Klonos to facilitate the execution of the methodology, which integrates to well known bioinformatics tools. As a proof of concept, we use Klonos to conduct experiments to find strategies for porting of several scientific benchmarks and applications. We also have identified some of the advantages and limitations of the bio-inspired view of a program code and the future work.

Original languageEnglish
Pages (from-to)1072-1088
Number of pages17
JournalConcurrency and Computation: Practice and Experience
Volume25
Issue number8
DOIs
StatePublished - Jun 10 2013

Keywords

  • code clone detection tools
  • software porting strategies
  • source code similarity

Fingerprint

Dive into the research topics of 'KLONOS: Similarity-based planning tool support for porting scientific applications'. Together they form a unique fingerprint.

Cite this