Before attempting to compile or link applications, the Starlink executables directory (normally /star/bin) should be added to your PATH. Links to the installed include files for PRIMDAT may then be set up in your current working directory by executing the command:
and applications containing INCLUDE file names in upper case, in the normal way, may be compiled and linked with the commands:
for stand-alone applications, or:
The files required for compilation and linking with the routines in this package reside in a directory with logical name PRIMDAT_DIR. Before attempting to compile or link applications, logical names must be defined for the required files by executing the DCL command:
Applications which contain Fortran INCLUDE statements referring to files in this directory may then be compiled.
Applications should be linked with routines from this package using the link options file PRM_LINK. For instance, to link an application called PROG, the DCL command:
might be used. To link an ADAM application, the $LINK command would be replaced by the ADAM command $ALINK.