Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aceb_v1_0.gz(74 Kbytes)
Manuscript Title: The OLYMPUS Fortran generator.
Authors: M.H. Hughes, K.V. Roberts
Program title: GENSIS
Catalogue identifier: ACEB_v1_0
Distribution format: gz
Journal reference: Comput. Phys. Commun. 29(1983)59
Programming language: Fortran.
Computer: PRIME 750.
Operating system: PRIMOS.
RAM: 192K words
Word size: 32
Peripherals: disc.
Keywords: General purpose, Utility, Olympus, Programming practice, Fortran, Documentation, Automatic code Generation, Word-processing, Text formatting.
Classification: 4.14, 20.

Subprograms used:
Cat Id Title Reference
ABUF_v1_0 OLYMPUS CPC 7(1974)245
ABUF_v2_0 OLYMPUS FOR IBM 370/165 CPC 9(1975)51
ABUF_v3_0 OLYMPUS FOR CDC 6500 CPC 10(1975)167

Nature of problem:
The GENSIS generator is used to construct documentation modules, COMMON blocks and other standard components of an OLYMPUS program, using as input a free-format master index file, MINDEX. This enables the OLYMPUS conventions to be maintained throughout the development phase with very little work on the part of the programmer. It can also be used in the reorganisation of existing non-OLYMPUS Fortran programs.

Solution method:
The MINDEX input file is read in A-format, and combined with a default file on channel NOLYMP that contains standard installation-dependent and OLYMPUS information. Strings are manipulated in both packed and unpacked form, and a system-independent ASCII collating sequence is used for the alphanumeric ordering of indentifiers in indexes and COMMON blocks.

Restrictions:
GENSIS is written in OLYPMUS form in ANSI Fortran 66 and should be run on any type of computer system provided that the OLYPMUS system is installed and that suitable character packing and unpacking routines are available. Versions of these routines are provided for the PRIME and IBM computers. The table sizes can be extended if required.

Running time:
7.5 s/100 lines of input on the PRIME 750.