Running with Phat on rlnx03
S.Manly - December 10, 1998
Don Mcleod and Robin Verdier figured this out, set up what you see on
rlnx03, and sent instructions to me, i.e., all the hard stuff. I verified things
work and web'ized the instructions along with pointers to a few other documents.
(I've updated much of this to reflect changes since Steve first wrote it. Let me
know if there are any problems. -- GAH)
- Get an RCF account (regular interactive user is okay). Do this by
following instructions on on the RCF
computing web page for new user accounts.
- Wherever you happen to be log into rsshgw.rhic.bnl.gov using SSH. Do this
by typing "ssh rsshgw.rhic.bnl.gov". If you want to know more about ssh,
check out this document at MIT or this document at BNL.
Telnet will not work.
- There should no longer be a need to set your DISPLAY when logging in using SSH,
if you are using a Unix client. If your DISPLAY variable is not set when you log in (you
can check by typing "printenv DISPLAY". The string returned should look like
"rsshgw.rhic.bnl.gov:xx.0", where xx is some small integer), you should follow
the next two steps.
- Once on the RCF gatway computer (you just logged onto it), tell it where to find you
with X-windows by typing
"setenv DISPLAY xxx.yyy.zzz.aaa:0.0", where xxx.yyy.zzz.aaa is the IP address of
the machine sitting in front of you.
- You can verify that this worked properly by typing "printenv DISPLAY".
The string returned should look something like "", where xx is some small
integer and A is the hostname of your X-server, most likely the machine you are coming
from.
- Log into rlnx03 or some other RCAS machine (see this list of machines) using SSH from your process on
the RCF gateway computer. Do this by typing "ssh rlnx03" (for example).
- Once on rlnx03, DO NOT "setenv DISPLAY" again. SSH at BNL will
take care of you. You can check your display environment by typing "printenv
DISPLAY" again. You should see "rlnx03.rcf.bnl.local:xx.0", where xx
is a small number.
- Set up your .login and .cshrc to use the Standard Phobos Setup. If you haven't
asked RCF for a different shell, you're using "tcsh". Make sure to type 'source
.login' and 'source .cshrc' after you make the changes, and check that it works.
- Now you are set! You will find yourself in your user directory
/phobos/u/yourname/ and $PHATHOME is defined. You should be able to run phatloop by
typing "phat", then ".x $PHATHOME/phatloop/macros/phat.C".