next up previous 203
Next: Example
Up: HDSPAR - HDS Parameter Routines
Previous: HDSPAR and PAR


Compiling and Linking

HDSPAR does not itself have any Fortran INCLUDE files but use of the HDSPAR subroutines will almost certainly require the use of the general Starlink Applications Environment INCLUDE file, SAE_PAR, and INCLUDE files from other libraries, in particular PAR and HDS,

To set up links to these files, type:

% star_dev
% par_dev
% dat_dev
Then include the files in the program with statements like:
*  Define SAI__OK etc.
      INCLUDE 'SAE_PAR'
*  Define PAR__NULL, PAR__ERROR etc.
      INCLUDE 'PAR_ERR'
*  Define DAT__SZLOC etc.
      INCLUDE 'DAT_PAR'
INCLUDE files from other libraries are handled similarly.

Programs using HDSPAR subroutines will be ADAM programs, linked using alink or ilink. For example:

% alink program.f
Will compile the Fortran program in file program.f and link it with the ADAM infrastructure libraries.



next up previous 203
Next: Example
Up: HDSPAR - HDS Parameter Routines
Previous: HDSPAR and PAR

HDSPAR - HDS Parameter Routines
Starlink User Note 224
A J Chipperfield
10 February 2000
E-mail:ussc@star.rl.ac.uk

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