Automatic environment setup
After the upgrade to Debian Lenny, we finally offer the psosiblity to automatically set-up your environment. This is being done via
for those using
The basic principles are the same for any shell. When you log into the cluster, it will try to set-up the environment in such a way that all necessary PATHs are set along with special variables. If you don't want to have all that or want to opt-out of a single feature group, please read on, as you can do so.
You can influence all this by creating special files in your home directory (usually it is sufficient to use
to create them and that will be all you need to do. One word of caution: If you set something now and forget about it, you might get unexpected results as some system installed package might be missing from your environment.
Available knobs to turn
| file to touch
| Set this variable if you do NOT want to get anything set up by default. This is useful if you want to ensure that the admins will not tamper with your settings. However, please look into this before you report a problem
| Setting this variable will make the automatic environment setup more talkative, e.g. you will get notices telling you which settings were ignored by your request and which were done.
| This will disable the named
group, i.e. this setting will not be applied.
Groups known to the system at the time of writing
|| get all necessary stuff to access the Condor pool
|| get nice colors when running
ls - if your terminal permits it
|| get the LIGO Data Grid server environment set
|| enable the usage of LIGOtools
|| set environment variables suitable to access out LDR server
lscsoft-user.env and get all the software from lalsuite and friend. Beware, there are also opt-out methods for sub-packages here. For more information, please refer to the file
/opt/lscsoft/lscsoft-user-env.sh or DASWG web pages.
|| get matlab into the path, please note, when using it remotely you need to use the
-Y flag to ssh!
|| set the veriables
|| enable readline - better editing on the command line
We are sure in the future there will be more to come. If you spot any mistake/problem, please let us know through the usual channels!
- 08 Jul 2009
| Title || How does automatic environment setup work? |
| Description || This page explains how the automatic change of your environment works and how you can prevent it completely or opt-out of some choices |
| Tags || profile,cshrc,bash,bashrc,zsh,zshrc,environment |
| Category || User |