next up previous
Next: Alphabetical list of Routines
Up: ARY A Subroutine Library for Accessing ARRAY Data Structures
Previous: Introduction

 Compiling and Linking

 

Before compiling or linking applications which call ARY_ routines, you should first ``log in'' for software development using these routines. This is done using the ary_dev command.

% ary_dev

This will generate links to the ARY include files required for programming (note that this is only necessary if you reference ARY_ system include files, or call ARY_ routines explicitly in your application).

ADAM applications which call ARY_ routines may be linked with the link script ary_link_adam, which should be specified on the linker command line. For example, to compile and link an application called adamprog using the alink command, the following might be used:

% alink adamprog.f -o adamprog `ary_link_adam`

A ``stand-alone'' (i.e. non-ADAM) version of the ARY_ system is also available and should be used by those applications which do not use ADAM facilities. This version may be obtained by specifying the options file ary_link on the linker command line. For example, to compile and link a stand-alone application called prog, the following might be used:

% f77 -O prog.f -o prog `ary_link`

Both versions of the ARY_ system contain the same set of user-callable routines.



next up previous
Next: Alphabetical list of Routines
Up: ARY A Subroutine Library for Accessing ARRAY Data Structures
Previous: Introduction



ARY A Subroutine Library for Accessing ARRAY Data Structures
Starlink User Note 11
R.F. Warren-Smith
28th April 1998
E-mail:rfws@star.rl.ac.uk