A Using SNX within ADAM Applications

 A.1 Use with the UNIX operating system
 A.2 Use with the VAX/VMS operating system

A.1 Use with the UNIX operating system

Assuming all Starlink directories have been added to the environment variables PATH and LD_LIBRARY_PATH (see SUN/118), then to link an ADAM application with SNX the command line would be

  % alink application.o ‘snx_link_adam‘

SUN/144 gives further details of compiling and linking ADAM applications with the UNIX operating system.

A.2 Use with the VAX/VMS operating system

When developing ADAM applications, all logical names and symbols used during compiling and linking are defined by executing the procedures

  $ ADAMSTART
  $ ADAM_DEV

The application may then be compiled using the FORTRAN command and linked using the ALINK and MLINK procedures, e.g.

  $ ALINK application,NCAR_DIR:SNX_LINK_ADAM/OPT