Using .bashrc files - UCL/ECON-CLUSTER GitHub Wiki
If there are some commands you must execute every time you logon to the cluster, you can put them in a ".bashrc" file. Commands in this file will run automatically. For example,
-
Create a file named ".bashrc", with the following content:
. /share/apps/econ/Modules/modules.sh module load stata
-
copy the file to your home directory on the cluster.
Next time you logon, the system will automatically:
- execute the script
modules.sh
- load the Stata module