U.S. flag An official website of the United States government.
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS

A lock ( ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

i

Suggestions for writing ANSI-standard FORTRAN



Details

  • Personal Author:
  • Corporate Authors:
  • NOAA Program & Office:
  • Description:
    "With the maturation availability of the CDC FORTRAN compiler and the of the VAST-2 FORTRAN preprocessor, it is now possible to write ANSI-standard FORTRAN for the CYBER 205 that is as efficient as hand vectorized code. The compiler will automatically vectorize many constructs which we currently write in semicolon or vector function form. Certain constructs which are not vectorized by the CDC compiler will be converted to vectorized code by the VAST-2 preprocessor. VAST-2 is a FORTRAN-in/FORTRAN-out preprocessor used prior to compilation. code of readability, portability, For the"advantages behooves us and maintainability, it to write new code for the CYBER in the ANSI standard and use the automatic vectorizer and VAST-2 preprocessor to achieve vectorization. This assumes, of course, that the data structures and algorithms of the program have been designed for vectorization. This document will address the topic of writing ANSI-standard code as opposed to using CDC non-ANSI extensions. There may always be situations where hand vectorization is necessary. These situations will, in general, represent a- small percentage of the code. The non-ANSI standard code can usually be confined to-small, easily identified subroutines and functions so that the vast majority of the code is in the ANSI standard. This is a widely accepted practice in software engineering. The intended audience for this paper is CYBER 205 users, therefore, a general familiarity with the 205 is assumed"--Introduction.
  • Content Notes:
    James J. Tuccillo.

    "This is an unreviewed manuscript, primarily intended for informal exchange of information among NMC staff members."

    "January 9, 1989."

    System requirements: Adobe Acrobat Reader.

  • Keywords:
  • Series:
  • Document Type:
  • Place as Subject:
  • Rights Information:
    Public Domain
  • Compliance:
    Library
  • Main Document Checksum:
    urn:sha256:eabdc285aca16f017444d7487beb44c369d3cb125e997aa8f754962554353792
  • Download URL:
  • File Type:
    Filetype[PDF - 409.77 KB ]
ON THIS PAGE

The NOAA IR serves as an archival repository of NOAA-published products including scientific findings, journal articles, guidelines, recommendations, or other information authored or co-authored by NOAA or funded partners. As a repository, the NOAA IR retains documents in their original published format to ensure public access to scientific information.