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