1. Parallel Runtime Interface for Fortran (PRIF): A Multi-Image Solution for LLVM Flang
- Author
-
Bonachea, Dan, Rasmussen, Katherine, Richardson, Brad, and Rouson, Damian
- Subjects
Caffeine ,Fortran ,GASNet-EX ,HPC ,LLVM Flang ,Parallel Fortran ,PGAS ,RMA ,Runtime Libraries - Abstract
Fortran compilers that provide support for Fortran’s native parallel features often do so with a runtime library that depends on details of both the compiler implementation and the communication library, while others provide limited or no support at all. This paper introduces a new generalized interface that is both compiler- and runtime-library-agnostic, providing flexibility while fully supporting all of Fortran’s parallel features. The Parallel Runtime Interface for Fortran (PRIF) was developed to be portable across shared- and distributed-memory systems, with varying operating systems, toolchains and architectures. It achieves this by defining a set of Fortran procedures corresponding to each of the parallel features defined in the Fortran standard that may be invoked by a Fortran compiler and implemented by a runtime library. PRIF aims to be used as the solution for LLVM Flang to provide parallel Fortran support. This paper also briefly describes our PRIF prototype implementation: Caffeine.
- Published
- 2024