macOS
brew install opencoarrayslocal Homebrew formula metadata
sudo port install OpenCoarraysMacPorts ports tree · science/OpenCoarrays/Portfile · source: api.github.com
brew
Open-source coarray Fortran ABI, API, and compiler wrapper. Version 2.10.3 via Homebrew; verified 2026-06-22.
install
brew install opencoarrayslocal Homebrew formula metadata
sudo port install OpenCoarraysMacPorts ports tree · science/OpenCoarrays/Portfile · source: api.github.com
nix profile install nixpkgs#cafnixpkgs package indexes · pkgs/by-name/ca/caf/package.nix · source: api.github.com
overview
Open-source coarray Fortran ABI, API, and compiler wrapper
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
caf | cli | global executable | |
cafrun | cli | global executable |
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.
https://github.com/sourceryinstitute/OpenCoarrays
install metadata
| Package key | brew:opencoarrays |
|---|---|
| Version | 2.10.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/opencoarrays |
| Homepage | http://www.opencoarrays.org |
| Repository | https://github.com/sourceryinstitute/OpenCoarrays |
| Upstream docs | https://github.com/sourceryinstitute/OpenCoarrays#readme |
| License | BSD-3-Clause |
| Source archive | https://github.com/sourceryinstitute/OpenCoarrays/archive/refs/tags/2.10.3.tar.gz |
| Last updated | 2026-06-22T14:05:42-07:00 |
| Pulse | updated |
| Dependencies | gcc@13, open-mpi |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | opencoarrays |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
OpenCoarrays
sudo port install OpenCoarrayscaf
nix profile install nixpkgs#cafsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.