Automic VaultAutomic Vault

brew

Install opencoarrays with Homebrew, MacPorts, Nix

Open-source coarray Fortran ABI, API, and compiler wrapper. Version 2.10.3 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install opencoarrays

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install OpenCoarrays

MacPorts ports tree · science/OpenCoarrays/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#caf

nixpkgs package indexes · pkgs/by-name/ca/caf/package.nix · source: api.github.com

overview

Package summary

Open-source coarray Fortran ABI, API, and compiler wrapper

Commands and aliases

  • caf
  • cafrun

history

Project history and usage

OpenCoarrays is an open-source runtime and ABI layer for Coarray Fortran, aimed primarily at letting GNU Fortran programs use Fortran's standardized multi-image parallel features without writing directly against MPI. The package supplies the `caf` compiler wrapper, the `cafrun` launcher, and the `libcaf_mpi` runtime library.

Project history

Coarrays entered standard Fortran as a PGAS-style parallel programming model in Fortran 2008, but free compiler support depended on a runtime that could map language-level image communication onto existing communication libraries. The OpenCoarrays project filled that role for GCC by providing an ABI between gfortran and a backend such as MPI.

A 2014 PGAS workshop paper described OpenCoarrays as a new project offering open-source transport layers for coarray Fortran compilers, including MPI and GASNet-based approaches. The 1.0.0 release was announced in July 2015 with the runtime library, compiler wrapper, and launcher, and the announcement noted that GNU Fortran 5.1.0 used OpenCoarrays to support most Fortran 2008 coarray features and some proposed Fortran 2015 TS 18508 features.

Adoption history

The project's most important adoption path was through GCC: the OpenCoarrays README says the OpenCoarrays ABI was adopted by gfortran in GCC 5.1.0. That made OpenCoarrays part of the practical route for package managers and HPC users who wanted Coarray Fortran through a free compiler toolchain rather than a vendor compiler.

Packaging spread into Unix package systems such as Homebrew, MacPorts, FreeBSD ports, Nix, and Linux distributions, usually as a science or parallel-computing package. MacPorts summarizes the project as an ABI for gfortran support of coarrays and other Fortran 2018 parallel programming features.

How it is used

Developers compile coarray programs through `caf`, which wraps the selected Fortran compiler and links the OpenCoarrays runtime consistently with the MPI stack used at build time. They launch multi-image programs with `cafrun`, avoiding direct MPI command-line details in routine Coarray Fortran workflows.

OpenCoarrays is especially relevant for scientific and HPC Fortran users who want to experiment with standard-language parallelism, compare coarray code with MPI implementations, or package Fortran applications that rely on gfortran's coarray support.

Why package nerds care

OpenCoarrays is a small package with an outsized toolchain role: it is not just another Fortran library, but the runtime side of a compiler feature. That makes ABI compatibility, MPI selection, compiler version, and wrapper behavior more important than they are for ordinary numerical libraries.

Timeline

  • 2014: OpenCoarrays was described in PGAS workshop material as a new open-source transport-layer project for coarray Fortran compilers.
  • 2015: GCC 5.1.0 adopted the OpenCoarrays ABI for gfortran coarray support, and OpenCoarrays 1.0.0 was announced with `libcaf_mpi`, `caf`, and `cafrun`.
  • 2022: Caffeine work at Lawrence Berkeley National Laboratory pointed toward a compiler-independent Fortran runtime direction built on GASNet-EX, related to the longer-term evolution beyond the MPI-focused OpenCoarrays path.

Related projects

  • OpenCoarrays sits alongside GCC/gfortran, MPI implementations, GASNet-EX, Caffeine, and the broader Fortran 2008/2018/2023 parallel-language standards work.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cafcliglobal executable
cafruncliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.10.3
manager updated2026-06-22
local dataok
upstreamcurrent
latest detected2.10.3

https://github.com/sourceryinstitute/OpenCoarrays

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:opencoarrays
Version2.10.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/opencoarrays
Homepagehttp://www.opencoarrays.org
Repositoryhttps://github.com/sourceryinstitute/OpenCoarrays
Upstream docshttps://github.com/sourceryinstitute/OpenCoarrays#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/sourceryinstitute/OpenCoarrays/archive/refs/tags/2.10.3.tar.gz
Last updated2026-06-22T14:05:42-07:00
Pulseupdated
Dependenciesgcc@13, open-mpi
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopencoarrays
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

OpenCoarrays

sudo port install OpenCoarrays
  • normalized package name match
  • Matched by: Opencoarrays
MacPorts ports tree · api.github.com · MacPorts ports tree: science/OpenCoarrays/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

caf

nix profile install nixpkgs#caf
  • installed executable or alias match
  • Matched by: Caf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/caf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment