A framework for unit testing with coarray Fortran

Date

2017-04-26

Free to read from

Supervisor/s

Journal Title

Journal ISSN

Volume Title

Publisher

The Society for Modeling and Simulation International

Department

Type

Conference paper

ISSN

Format

Citation

Hassan AA, Cardellini V, Filippone S, A framework for unit testing with coarray Fortran, Proceedings of SCS Spring Simulation Multi-Conference (SpringSim'17), 23 - 26 April 2017, Virginia Beach, VA, USA

Abstract

Parallelism is a ubiquitous feature of modern computing architectures; indeed, we might even say that serial code is now automatically legacy code. Writing parallel code poses significant challenges to programs, and is often error-prone. Partitioned Global Address Space (PGAS) languages, such as Coarray Fortran (CAF), represent a promising development direction in the quest for a trade-off between simplicity and performance. CAF is a parallel programming model that allows a smooth migration from serial to parallel code. However, despite CAF simplicity, refactoring serial code and migrating it to parallel versions is still error-prone, especially in complex softwares. The combination of unit testing, which drastically reduces defect injection, and CAF is therefore a very appealing prospect; however, it requires appropriate tools to realize its potential. In this paper, we present the first CAF-compatible framework for unit tests, developed as an extension to the Parallel Fortran Unit Test framework (pFUnit).

Description

Software Description

Software Language

Github

Keywords

Coarray Fortran, Test-Driven Development, Unit tests, pFUnit, Refactoring

DOI

Rights

©2017 The Society for Modeling and Simulation International. This is the Author Accepted Manuscript. Please refer to any applicable publisher terms of use.

Relationships

Relationships

Supplements

Funder/s