Sun/IRAF Site Manager's Guide

Sun/IRAF Site Manager's Guide

4.4. Using the workstation with a remote compute server

A common mode of operation with a workstation is to run Sun/IRAF under SunView directly on the workstation which runs IRAF, accessing files either on a local disk, or on a remote disk via a network interface (NFS, IRAFKS, etc.). It is also possible, however, to run SunView with gterm and imtool on the workstation, but run IRAF on a remote node, e.g., some powerful compute server such as a large Sun server, a large VAX, or a vector minisupercomputer or supercomputer, possibly quite some distance away. This is done by logging onto the workstation, starting up SunView and a gterm window, logging onto the remote machine with rlogin, telnet, or whatever, and starting up IRAF on the remote node.

After IRAF comes up one need only type
cl> stty gterm
cl> reset node = hostname!
to tell the remote IRAF that it is talking to a gterm window and that the image display is on the network node hostname. Note that in V2.10.4 and later versions of IRAF the trailing "!" is required to distinguish logical node names from other environment definitions.

In this mode one is effectively using the workstation as a sort of super terminal with powerful graphics and image display capabilities. One gets the best of both worlds, i.e., a state of the art user interface, and the compute power of a large machine. It matters little what operating system is used on the remote machine, so long as it also runs IRAF. Except for the details of the login sequence, operation is completely transparent; gterm does not care whether the process it is talking to is on a local or remote node. Performance, e.g,. for image loads, is often better than when everything is run directly on the local node, due to the more powerful server.