Published March 26, 2025 | Version 0.5.0
Software Open

Caffeine: A parallel runtime library for supporting modern Fortran compilers

  • 1. ROR icon Lawrence Berkeley National Laboratory
  • 2. Archaeologic, Inc.
  • 3. Sourcery Institute
  • 4. Archaeologic Inc.

Description

The CoArray Fortran Framework of Efficient Interfaces to Network Environments (Caffeine) provides a runtime library that supports Fortran's SPMD features. Caffeine implements inter-process communication by building atop the GASNet-EX exascale networking middleware library. Caffeine is the first implementation of the compiler- and runtime-agnostic Parallel Runtime Interface for Fortran (PRIF) specification.  Any compiler that targets PRIF can use any runtime that supports PRIF.  Caffeine supports researching the novel approach of writing most of a compiler's parallel runtime library in the language being compiled: Caffeine is primarily implemented using Fortran's non-parallel features, with a thin C-language layer that invokes the external GASNet-EX communication library. Exploring this approach in open source lowers a barrier to contributions from the compiler's users: Fortran programmers.  Caffeine also facilitates research such as investigating various optimization opportunities that exploit specific hardware such as shared memory or specific interconnects.

Files

Files (116.2 kB)

Name Size Download all
md5:b13065c73019473fc5ce310283d1b381
116.2 kB Download

Additional details

Additional titles

Subtitle
Caffeine release version 0.5.0

Related works

Is described by
Conference paper: 10.25344/S4459B (DOI)
Conference paper: 10.25344/S4N017 (DOI)
Journal article: 10.21105/joss.07895 (DOI)
Is documented by
Standard: 10.25344/S4CG6G (DOI)

Dates

Copyrighted
2025-03-26

Software

Repository URL
https://github.com/BerkeleyLab/caffeine
Programming language
Fortran , C
Development Status
Active