<<

How to use your Windows PC as an X- to run Athena Sessions

If you prefer not to go to an Athena cluster to run tsuprem4, you can use your laptop or desktop PC, connected to Athena, as an X-windows emulator. In this case, your PC emulates an x-windows terminal. You are still running tsuprem4 on an Athena (Sun- Solaris) machine.

The instructions to configure your PC as an x-windows emulator are listed below:

Please go to http://web.mit.edu/software/win.html and download the following software: SecureCRT 5.1 X-Win32 8.2

Install this software on your PC and run them. In SecureCRT do the following actions:

File...Connect....New Session (3rd tab on top) and fill the table with proper settings as can be seen in the following image:

Fill the username field with your Kerberos username and press OK to run and insert your password.

Run Xwin32 or Exceed if you have it (Exceed is not available on the MIT website but is available for purchase).

In order to see images when running tsuprem4, you need to adjust the DISPLAY system variable according to your IP address.

A simple way of getting your IP address, is typing the "setenv" command in SecureCRT screen. You will see something similar to this (with different numbers/characters):

USER=pouya LOGNAME=pouya HOME=/afs/athena.mit.edu/user/p/o/pouya PATH=/srvd/patch:/usr/athena/bin:/usr/athena/etc:/bin/athena:/usr/openwin/bin:/usr/open win/demo:/usr/dt/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin:/usr/sfw/bin:/usr/ucb:.:/mit/avant i/arch/sun4x_510/bin:/mit/matlab/arch/sun4x_510/bin:/mit/maple/arch/sun4x_59/bin MAIL=/var/mail//pouya =/bin/athena/tcsh TZ=US/Eastern SSH_CLIENT=18.62.30.76 2304 22 SSH_CONNECTION=18.62.30.76 2304 18.7.18.74 22 SSH_TTY=/dev/pts/59 ......

By selecting the "first" set of numbers (as highlighted in Red above, which is your IP address), right click and your IP address and the following commands to Athena: setenv DISPLAY YourIPNumber:0.0 for example for the previously shown IP, the command would be: setenv DISPLAY 18.62.30.76:0.0

Next copy the tsuprem4 files to your current Athena directory and run tsuprem4: add avanti tsuprem4 problem6.inp

Note: the tsuprem4 program is case sensitive, as is the Unix .

Best regards, Pouya ps If you use a laptop with DHCP, your IP address will change every you connect to the MIT network, so be sure to update your DISPLAY variable each time you run.