next up previous 63
Next: Syntax
Up: Basic Structure of the Interface File
Previous: Single Program

Monoliths

For efficiency, a group of related programs can all be linked into a single executable file called a monolith (see SG/4). If the monolith is to be run from ICL, the individual Interface Files must be concatenated into a single file for the whole monolith and the monolithic Interface File must have the same filename as the executable file. The structure of a monolithic Interface File is as follows:
MONOLITH monname
   INTERFACE programname_1
      .
      .
   ENDINTERFACE
   INTERFACE programname_2
      .
      .
   ENDINTERFACE
ENDMONOLITH
where programname_1, programname_2, etc. are the names of the individual programs. They must comply with the rules for action names (see Appendix [*]).

When monoliths are run directly from a Unix shell, the individual program Interface Modules are used.



next up previous 63
Next: Syntax
Up: Basic Structure of the Interface File
Previous: Single Program

ADAM Interface Module Reference Manual
Starlink User Note 115
A J Chipperfield, B D Kelly, S L Wright
3 September 2002
E-mail:ussc@star.rl.ac.uk

Copyright © 2002 Council for the Central Laboratory of the Research Councils