Upgrade of the GRESS (test version D) precompiler to allow triply-dimensioned arrays

J.E. Horwedel, François G. Pin · 1986

GRESS is a FORTRAN precompiler and run time library which automatically processes computer models and adds derivative-taking capabilities to the normal calculated results. The GRESS system is under development at ORNL and work is proceeding in upgrading test versions of the precompiler to allow processing by GRESS of most of the ANSI X3.9-1978 FORTRAN syntax. Heretofore, a major limitation has been the inability of GRESS to process arrays with more than two dimensions. Consequently, a significant amount of human effort was required to convert three- and higher-dimensional arrays into two-dimensional arrays for processing with GRESS. This report describes the addition of ten operation codes to the GRESS precompiler and run time library to allow application to FORTRAN programs with three-dimensional arrays. The new operation codes were tested on a sample problem. A comparison of CPU time is made for sample problems run on a VAX 8600 computer with one-, two-, and three-dimensional arrays. It is recommended that GRESS be further modified to accommodate higher-dimensional arrays up to the ANSI X3.9-1978 limit of seven dimensions.

Read the paper · More papers on PaperTik