$==>$ Uptodate ???
As the CRAY is used as a batch production service, only the WISS and metafile workstations have been made available in the GKSGRAL library, which should be accessed via the 'cernlib' command. Detailed information on use of the 'cernlib' command for the CRAY is available under VM/CMS by typing: FIND CRAY CERNLIB. However, for those users wishing simply to make use of GKS, then the commands to type are:
cernlib gks or cernlib gks3dwhich create a file
'LIB$' in the user's working directory
which contains the required libraries (the case matters).
The cernlib command may take the switches -o and -n
to allow the selection of old or new library versions.
To compile and link the FORTRAN program 'myprog.ftn' use the commands:
cft77 myprog.ftn segldr -o myprog.exe myprog.o LIB$
At run time GKS reads in the files defining the software fonts.
These are accessed via a an environment variable GKS_FONTS which is
defined by the system login procedures.
The include files used when compiling graphics programs which define the Workstation Types and GKS Parameters (Enumerated Types) are to be found in the directory '/cern/gks/pro/utl'. They may be accessed from a FORTRAN program as follows:
INCLUDE '/cern/gks/pro/utl/gks_gtsdev'
and
INCLUDE '/cern/gks/pro/utl/gks_enum'
The example programs listed in the appendix of the GKS/GKS-3D Primer are not available on the CRAY.