MSI Environment Aliases and Variables
Included on this page are some of the useful environment variables that can be used in Slurm shell scripts or for quick navigation on Tier 1 storage.
Built-in Aliases
Users may type any of these commands to perform the described action.
Alias |
Navigate to … |
Example path |
|---|---|---|
|
User home directory |
|
|
MSI project root directory |
|
|
MSI shared directory |
|
|
Old home directory |
|
|
Scratch global |
|
|
Scratch local |
|
Environment Variables
Variable |
Expands to … |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note Users that join MSI before September 2024 will have an old home directory. Users since then can create their own home directory in the shared space using the command mkdir -v $SHARED/$USER.
See the New Home Directories knowledge base article for migration details
Slurm Environment Variables
While a job is running, there are more variables that can be referenced.
Input Variables - These variables can be set to override the defaults when calling
sbatch.Output Variables - Environment variables with information about the running job.