Shared login scripts and other configuration info for the lmb linux cluster
You should add the following at the end of your lmb ~/.login
.
source /public/flybrain/flybrain.csh
Note do not put it in your .cshrc
because the /public/com/lmbwide.login which is called from your .login
will still clobber your path after .cshrc
has been run.
There is a corresponding file to add to your .bashrc
so that your path can be set for bash scripts running on the cluster.
source /public/flybrain/flybrain.sh
You have two options when using /public/flybrain/
- Use the
prefix=/public/flybrain/
- this will then have folders like
/public/flybrain/bin
/public/flybrain/lib
and/public/flybrain/include
analogous to the corresponding folders in/usr/local
.
- this will then have folders like
- Make a subfolder such as
/public/flybrain/R
- add a versioned subsubfolder e.g.
R-3.5.1
- symlink the main executable from the subsubfolder to the subfolder
- add the subfolder
/public/flybrain/R
to the path inflybrain.csh
/flybrain.sh
- add a versioned subsubfolder e.g.
Option 1 is simpler, but option 2 is good if there may be multiple versions of the software installed over time.
These scripts are designed to live in /public/flybrain/
on the lmb cluster.