Linux/IRAF Site Manager's Guide

Linux/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 Linux/IRAF under XFree86 directly on the PC 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 XFree86 with xgterm and ximtool 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 X and a xgterm 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 xgterm
cl> reset node = hostname!
to tell the remote IRAF that it is talking to a xgterm window and that the image display is on the network node hostname. The trailing exclamation point is required in V2.10.4 and later versions of IRAF to avoid interpretation of general environment variables as network logical node names.

In this mode one is effectively using the PC 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; xgterm 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 unless connected by a slow modem line or network connection.