9 Compilation and Linking

 9.1 UNIX
 9.2 VMS

9.1 UNIX

To compile and link a UNIX ADAM application called prog with the PAR library, you should use the following command.

  % alink prog.f

9.2 VMS

PAR is presently only available to ADAM programmers. Only the normal ADAM startup commands need be issued to access routines in the PAR library. These are

  $ ADAMSTART
  $ ADAMDEV
  $ PAR_DEV

and they will ensure that all necessary definitions are made for compilation and linking.

PAR is distributed as a shareable image, and it is included in the ADAM ALINK command. So to link an ADAM A-task called PROG you just enter

  $ FORTRAN PROG
  $ ALINK PROG