Skip to content

A parallel application binary interface for Fortran 2018 compilers.

License

Notifications You must be signed in to change notification settings

sourceryinstitute/OpenCoarrays

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7954400 · Feb 24, 2025
Apr 10, 2019
Feb 17, 2025
Feb 17, 2025
Oct 15, 2024
Sep 22, 2017
Sep 2, 2022
Feb 24, 2025
Mar 28, 2019
Jan 12, 2024
Oct 15, 2024
Nov 10, 2017
Mar 28, 2019
May 7, 2017
May 28, 2019
Feb 12, 2017
May 15, 2019
May 9, 2022
Feb 24, 2025
May 30, 2017
Mar 22, 2018
Oct 15, 2018
Jun 11, 2020
May 9, 2022
May 9, 2022
Jun 5, 2022
May 7, 2017
May 15, 2022
Jun 8, 2020

Repository files navigation

Overview

OpenCoarrays supports the GNU Compiler Collection (GCC) Fortran compiler (gfortran) by providing a parallel application binary interface (ABI) that abstracts away the underlying communication library. OpenCoarrays thus enables gfortran to support Fortran's parallel programming features, often called "Coarray Fortran," without making direct reference to the back-end communication library: the Message Passing Interface (MPI). This ensures that Fortran programs and Fortran compilers may take advantage of other communication libraries without costly refactoring. Work is underway on the Caffeine project to support alternative communication libraries and alternative compilers by defining a compiler-independent parallel ABI atop the GASNet-EX exascale networking middleware.

OpenCoarrays provides a compiler wrapper (caf), a parallel runtime library (libcaf_mpi), and a program launcher (cafrun). The wrapper and launcher provide a uniform abstraction for compiling and executing Coarray Fortran without direct reference to the underlying MPI layer.

Downloads

Please see our Releases page.

Compatibility

The OpenCoarrays ABI was adopted by gfortran in release the GCC 5.1.0 release and gfortran continues to work with OpenCoarrays as of this writing.

Prerequisites

Building OpenCoarrays requires

  • An MPI implementation,
  • CMake, and
  • The GCC C and Fortran compilers: gcc and gfortran.

If you use a package manager or the OpenCoarrays installer, any missing prerequisites will be built for you.

Installation

Please see the INSTALL.md file.

Or try OpenCoarrays online as a Jupyter notebook kernel using Binder with no downloads, configuration or installation required. The default index.ipynb notebook is read only, but you can execute it, copy it to make changes, or create an entirely new CAF kernel notebook.

Packaged Version

If you would like to be able to install OpenCoarrays through your favorite package manager, please ask them to add it, or contribute it yourself. If you see your favorite package manager has an outdated version, please ask them to update it, or contribute an update yourself.

Packaging status

Getting Started

To start using OpenCoarrays, please see the GETTING_STARTED.md file.

Contributing

Please see the CONTRIBUTING.md file.

Status

A list of open issues can be viewed on the issues page.

Support

Please submit bug reports and feature requests via our Issues page.

Acknowledgments

We gratefully acknowledge support from the following institutions:

  • The U.S. Nuclear Regulatory Commission (NRC) for funding the work that led to support for
    • the Windows operating system,
    • the random_init subroutine, and
    • co_broadcast of derived-type objects with allocatable components.
  • The National Aeronautics and Space Administration NASA for funding the work that led to support for the co_broadcast of derived-type objects.
  • Arm for approving compiler engineer contributions of code.
  • National Center for Atmospheric Research for access to the Yellowstone/Caldera supercomputers and for logistics support during the initial development of OpenCoarrays.
  • CINECA for access to Eurora/PLX for the project HyPS- BLAS under the ISCRA grant program for 2014.
  • Google for support of a related Google Summer of Code 2014 project.
  • The National Energy Research Scientific Computing Center (NERSC), which is supported by the Office of Science of the U.S. Department of Energy under Contract No. DE-AC02-05CH11231, for access to the Hopper and Edison supercomputers under the OpenCoarrays project start allocation.
  • Archaeologic Inc. for financial support for the domain registration, web hosting, advanced development, and conference travel.

Donate

If you find this software useful, please consider donating your time or your money to aid in development efforts.


GitHub forks GitHub stars GitHub watchers Twitter URL