Skip to main content
eScholarship
Open Access Publications from the University of California

Parallel Runtime Interface for Fortran (PRIF): A Multi-Image Solution for LLVM Flang

Published Web Location

https://doi.org/10.25344/S4N017Creative Commons 'BY-ND' version 4.0 license
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.

Main Content
For improved accessibility of PDF content, download the file to your device.
Current View