Skip to content

nathanweeks/OpenCoarrays

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

OpenCoarrays supports Fortran 2018 compilers by providing a parallel application binary interface (ABI) that abstracts away the underlying parallel programming model, which can be the Message Passing Interface (MPI) or OpenSHMEM. Parallel Fortran 2018 programs may be written and compiled into object files once and then linked or re-linked to either MPI or OpenSHMEM without modifying or recompiling the Fortran source. Not a single line of source code need change to switch parallel programming models. The default programming model is MPI because it provides the broadest capability for supporting Fortran 2018 features. However, having the option to change parallel programming models at link-time may enhance portability and performance (see Rouson et al. (2017)).

OpenCoarrays provides a compiler wrapper (caf), parallel runtime libraries (libcaf_mpi and libcaf_openshmem), and a parallel executable file launcher (cafrun). The wrapper and launcher provide a uniform abstraction for compiling and executing parallel Fortran 2018 programs without direct reference to the underlying parallel programming model.

Downloads

Please see our Releases page.

Compatibility

The GNU Compiler Collection (GCC) Fortran front end (gfortran) has used OpenCoarrays since the GCC 5.1.0 release . Discussions are under way around incorporating OpenCoarrays into other compilers.

Prerequisites

Building OpenCoarrays requires

  • An MPI implementation (default: MPICH).
  • CMake.
  • A Fortran compiler (default: GCC).
  • Optional: An OpenSHMEM implementation.

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:

  • 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.
  • Sourcery, 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

About

A parallel application binary interface for Fortran 2018 compilers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Fortran 42.5%
  • C 34.9%
  • Shell 15.5%
  • CMake 5.4%
  • Makefile 1.1%
  • Dockerfile 0.2%
  • Other 0.4%