There are 3 ways to create the symbolic links or define
the environment variables necessary to run IDL:
1) Allow this script to install IDL in the ITT VIS recommended
manner:
- If the itt directory tree (of which IDL is a
subdirectory) is not located in /usr/local/itt,
create a symbolic link called /usr/local/itt that points
at it.
- Create symbolic links in /usr/local/bin for IDL and
related commands. To run IDL, users must put
/usr/local/bin in their execution paths. At most sites,
this is already the case.
2) You can manually create the symbolic links using the commands:
setenv ITT /afs/slac/g/glast/users/chuckp/itt
ln -s $ITT /usr/local/itt
ln -s $ITT/idl71/bin/idl LOCAL_DIR/idl71
ln -s $ITT/idl/bin/idl LOCAL_DIR/idl
ln -s $ITT/idl71/bin/idlde LOCAL_DIR/idlde71
ln -s $ITT/idl/bin/idlde LOCAL_DIR/idlde
ln -s $ITT/idl71/bin/idlrpc LOCAL_DIR/idlrpc71
ln -s $ITT/idl/bin/idlrpc LOCAL_DIR/idlrpc
ln -s $ITT/idl71/bin/idlhelp LOCAL_DIR/idlhelp71
ln -s $ITT/idl/bin/idlhelp LOCAL_DIR/idlhelp
ln -s $ITT/idl71/bin/idlman LOCAL_DIR/idlman71
ln -s $ITT/idl/bin/idlman LOCAL_DIR/idlman
ln -s $ITT/idl71/bin/idldemo LOCAL_DIR/idldemo71
ln -s $ITT/idl/bin/idldemo LOCAL_DIR/idldemo
ln -s $ITT/idl71/bin/ittlicense LOCAL_DIR/ittlicense71
ln -s $ITT/idl/bin/ittlicense LOCAL_DIR/ittlicense
where LOCAL_DIR is the path of a directory on your system
that commonly appears in users' paths.
3) Files named idl_setup and idl_setup.ksh are
automatically created by the installation script. These
files contain appropriate definitions for IDL-related
environment variables and aliases. If you choose this
option, you must have your users set up their accounts
as shown below:
Have your C-shell users add the line:
source /afs/slac/g/glast/users/yourDirectory/itt/idl/bin/idl_setup
to their .cshrc files.
Have your Korn shell users add the line:
. /afs/slac/g/glast/users/yourDirectory/itt/idl/bin/idl_setup.ksh
to their .profile files.
Have your Bash shell users add the line:
. /afs/slac/g/glast/users/yourDirectory/itt/idl/bin/idl_setup.bash
to their .bashrc files.