Modify your SLAC login profile
These instructions describe the setup of the environment for using ground software. Developers of flight software should also consult the list of paths for flight software.
1. There are two ways of updating the script .cshrc, case a) or b), depending on the status of the .cshrc, from which you start.
Starting from the default .cshrc, which you received from SCS with your new account:
Replace your default .cshrc file with the file
/afs/slac.stanford.edu/g/glast/ground/scripts/user.cshrc
This user script sets up an environment variable called GLASTROOT, which points to /afs/slac.stanford.edu/g/glast. It will also call the group script,
/afs/slac.stanford.edu/g/glast/ground/scripts/group.cshrc
which defines the path GLAST_EXT to external libraries like CMT, ROOT, etc.
If you have already a .cshrc script, with statements, which you want to keep:
You may use the group script by adding the following lines to the top of your .cshrc
set interactive=${?prompt}
if ( ${?LD_LIBRARY_PATH} != 1 ) then
setenv LD_LIBRARY_PATH
endif
setenv GLASTROOT /afs/slac.stanford.edu/g/glast
source ${GLASTROOT}/ground/scripts/group.cshrc
2. Edit your .cshrc to include the line
umask 002 Last modified 2003-01-21