skip to main content
DOE PAGES title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Co-arrays in the Next Fortran Standard

Abstract

The WG5 committee, at its meeting in Delft, May 2005, decided to include co-arrays in the next Fortran Standard. A Fortran program containing co-arrays is interpreted as if it were replicated a fixed number of times and all copies were executed asynchronously. Each copy has its own set of data objects and is called an image. The array syntax of Fortran is extended with additional trailing subscripts in square brackets to give a clear and straightforward representation of access to data on other images. References without square brackets are to local data, so code that can run independently is uncluttered. Any occurrence of square brackets is a warning about communication between images. The additional syntax requires support in the compiler, but it has been designed to be easy to implement and to give the compiler scope both to apply its optimizations within each image and to optimize the communication between images. The extension includes execution control statements for synchronizing images and intrinsic procedures to return the number of images, to return the index of the current image, and to perform collective operations. The paper does not attempt to describe the full details of the feature as it now appears inmore » the draft of the new standard. Instead, we describe a subset and demonstrate the use of this subset with examples.« less

Authors:
 [1];  [2]
  1. JKR Associates, Convener, ISO/IEC Fortran Committee WG5, UK
  2. Minnesota Supercomputing Institute, University of Minnesota, Minneapolis, MN, USA
Publication Date:
Sponsoring Org.:
USDOE
OSTI Identifier:
1198031
Grant/Contract Number:  
FC02-01ER25505
Resource Type:
Published Article
Journal Name:
Scientific Programming
Additional Journal Information:
Journal Name: Scientific Programming Journal Volume: 15 Journal Issue: 1; Journal ID: ISSN 1058-9244
Publisher:
Hindawi Publishing Corporation
Country of Publication:
Egypt
Language:
English

Citation Formats

Reid, John, and Numrich, Robert W. Co-arrays in the Next Fortran Standard. Egypt: N. p., 2007. Web. doi:10.1155/2007/954503.
Reid, John, & Numrich, Robert W. Co-arrays in the Next Fortran Standard. Egypt. doi:10.1155/2007/954503.
Reid, John, and Numrich, Robert W. Mon . "Co-arrays in the Next Fortran Standard". Egypt. doi:10.1155/2007/954503.
@article{osti_1198031,
title = {Co-arrays in the Next Fortran Standard},
author = {Reid, John and Numrich, Robert W.},
abstractNote = {The WG5 committee, at its meeting in Delft, May 2005, decided to include co-arrays in the next Fortran Standard. A Fortran program containing co-arrays is interpreted as if it were replicated a fixed number of times and all copies were executed asynchronously. Each copy has its own set of data objects and is called an image. The array syntax of Fortran is extended with additional trailing subscripts in square brackets to give a clear and straightforward representation of access to data on other images. References without square brackets are to local data, so code that can run independently is uncluttered. Any occurrence of square brackets is a warning about communication between images. The additional syntax requires support in the compiler, but it has been designed to be easy to implement and to give the compiler scope both to apply its optimizations within each image and to optimize the communication between images. The extension includes execution control statements for synchronizing images and intrinsic procedures to return the number of images, to return the index of the current image, and to perform collective operations. The paper does not attempt to describe the full details of the feature as it now appears in the draft of the new standard. Instead, we describe a subset and demonstrate the use of this subset with examples.},
doi = {10.1155/2007/954503},
journal = {Scientific Programming},
number = 1,
volume = 15,
place = {Egypt},
year = {2007},
month = {1}
}

Journal Article:
Free Publicly Available Full Text
Publisher's Version of Record
DOI: 10.1155/2007/954503

Citation Metrics:
Cited by: 5 works
Citation information provided by
Web of Science

Save / Share: