Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

GRESS: gradient-enhanced software system. Version D. User's Guide

Technical Report ·
OSTI ID:6422692
GRESS is a FORTRAN pre-compiler that enhances conventional FORTRAN programs with analytic differentiation of arithmetic statements. GRESS handles any standard FORTRAN code which contains arithmetic text material as part of the source program. The GRESS pre-compiler reads the FORTRAN source code text, redefines the variables and their storage locations, searches for arithmetic statements, translates the latter for gradient calculations, and then generates a new source program which now includes gradient capabilities in all arithmetic statements. GRESS therefore, allows any standard FORTRAN code to be upgraded to calculate any derivatives required, whether they be for internal use in a calculation (e.g., for iteration) or for external use (e.g., sensitivity studies). The independent variables with respect to which the partial derivatives are calculated in the FORTRAN source code may be freely selected, and the only theoretical restriction is that the sequence of computations must be continuous and differentiable. The gradients are calculated according to the chain rule of differential calculus and are propagated from operation to operation by the standard chain rule. Thus, no numerical difference scheme is involved and the results are as accurate as any arithmetic computations on the host computer. In this process, the analytic formulas representing the derivatives are neither generated explicitly nor saved. At any stage in the program execution, therefore, the only additional information available in the original code is the numerical value of the gradients.
Research Organization:
Oak Ridge National Lab., TN (USA)
DOE Contract Number:
AC05-84OR21400
OSTI ID:
6422692
Report Number(s):
ORNL/TM-9658; ON: DE86002906
Country of Publication:
United States
Language:
English

Similar Records

GRESS: gradient-enhanced software system. Version B. User's guide
Technical Report · Thu Mar 31 23:00:00 EST 1983 · OSTI ID:6335889

GRESS Version 2. 0 user's manual
Technical Report · Thu Oct 31 23:00:00 EST 1991 · OSTI ID:6090743

GRESS Version 2.0 user`s manual
Technical Report · Thu Oct 31 23:00:00 EST 1991 · OSTI ID:10107336