skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Parallel Runtime Interface for Fortran (PRIF) Design Document (Rev. 0.2)

Technical Report ·
DOI:https://doi.org/10.25344/S4DG6S· OSTI ID:2246862
 [1];  [1];  [1];  [1]
  1. Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)

This design document proposes an interface to support the parallel features of Fortran, named the Parallel Runtime Interface for Fortran (PRIF). PRIF is a proposed solution in which the runtime library is responsible for coarray allocation, deallocation and accesses, image synchronization, atomic operations, events, and teams. In this interface, the compiler is responsible for transforming the invocation of Fortran-level parallel features into procedure calls to the necessary PRIF procedures. The interface is designed for portability across shared- and distributed-memory machines, different operating systems, and multiple architectures. Implementations of this interface are intended as an augmentation for the compiler's own runtime library. With an implementation-agnostic interface, alternative parallel runtime libraries may be developed that support the same interface. One benefit of this approach is the ability to vary the communication substrate. A central aim of this document is to define a parallel runtime interface in standard Fortran syntax, which enables us to leverage Fortran to succinctly express various properties of the procedure interfaces, including argument attributes.

Research Organization:
Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
Sponsoring Organization:
USDOE Office of Science (SC), Advanced Scientific Computing Research (ASCR)
DOE Contract Number:
AC02-05CH11231
OSTI ID:
2246862
Country of Publication:
United States
Language:
English

Similar Records

Caffeine: CoArray Fortran Framework of Efficient Interfaces to Network Environments
Conference · Sun Nov 13 00:00:00 EST 2022 · OSTI ID:2246862

Agile Acceleration of LLVM Flang Support for Fortran 2018 Parallel Programming
Conference · Tue Nov 15 00:00:00 EST 2022 · OSTI ID:2246862

High-Performance Design Patterns for Modern Fortran
Journal Article · Thu Jan 01 00:00:00 EST 2015 · Scientific Programming · OSTI ID:2246862

Related Subjects