Computing FAQ
The answers to the questions you should be asking...
- How do I ssh between SLAC machines without a password?
- How do I run Matlab?
- How do I use the local disk space on my desktop machine?
- How do i find out how much disk space is available is kipac directories?
- What is the backup policy?
How do I ssh between SLAC machines without a password?
Note that this answer only applies to logging in from one SLAC machine to another, not from outside SLAC.
- Create a file
~/.k5login, with the contentsslac_id@SLAC.STANFORD.EDU
You may have such a file already. -
Get a kerberos ticket (this requires your password):
kinit
Your kerberos ticket lasts for 25 hours, but can be renewed for up to one week (look in theklist -foutput). Before your ticket expires (i.e. before 25 hours), renew it with:kinit -R
This needs no password. -
Finally, use
/usr/local/bin/ssh(normally justssh) to login to another machine.
How do I run Matlab?
## tcsh:
setenv LM_LICENSE_FILE 27010@sunlics1:27010@sunlics2:27010@sunlics3
setenv MATLAB_JAVA /afs/slac/package/matlab/linux/14/sys/java/jre/glnx86/jre1.4.2
## bash:
export LM_LICENSE_FILE="7010@sunlics1:27010@sunlics2:27010@sunlics3"
export MATLAB_JAVA="/afs/slac/package/matlab/linux/14/sys/java/jre/glnx86/jre1.4.2"
/afs/slac/package/matlab/linux/14/bin/matlab
How do I use the local disk space on my desktop machine?
Each ki-rh* desktop machine at SLAC should have a /u1/ki (or similar) local directory where "ki" group members have write permission.
How do i find out how much disk space is available in kipac directories?
Just run /afs/slac/g/ki/software/local/bin/kidf
What is the backup policy?
See this page for details of the KIPAC diskspace.
AFS home directories are backed up. The version from midnight is
accessible through the .backup link in your home directory,
as described in the "AFS Backup" section of the
SLAC Unix Backup page.
Most KIPAC AFS data space is not backed up.
KIPAC NFS space is backed up to tape. This is mainly intended for disaster recovery. Contact unix-admin if you need to recover files from this system, though note that for trivial cases the effort involved in recovering the files from tape may exceed that needed to recreate them.
Please note that anything in
a nobackup/ directory is not backed up. Please try to put
temporary files, things that can easily be regenerated, etc in such directories. This could significantly speed up
the system and reduce costs of tapes, etc.