---
# System prepended metadata

title: RIS Tutorial

---

RIS Tutorial

[Slides](https://wustl.box.com/s/zicn2amhshe7qeqdhm56ot79qpqfd1vz)
[Slides 2025](https://wustl.box.com/v/training-ris-2025)
[Videos 2024](https://wustl.zoom.us/rec/share/gdFDJ-HSQUKFVoJl2_XqsXrcuwwgCMgfMK_qWSmoQ46m7aqi4BoDcIqBWdwmFea3.dEwIBqRvPHMw302m)
[Videos 2025](https://wustl.zoom.us/rec/share/lCFXWHuKxNmYtKDMoY0sSCFyO-rbbQJ_r5jokDh47A2WMwDWT0hui6zCuWfajsh_.KKkKqx2krjUfecWZ)
[Create a ticket/Service Desk](https://washu.atlassian.net/servicedesk/customer/portal/2/group/6/create/53 
)

WUSTL Network/[VPN](https://it.wustl.edu/items/connect/) required for command line track

Login:
```
ssh wustlkey@compute1-client-1.ris.wustl.edu
```

## Interactive Job: 

```
bsub -Is -n 1 -G compute-XYZ -q general-interactive -a 'docker(ubuntu)' /bin/bash 
```

## Batch Job: 

```
bsub -n 1 -G compute-XYZ -q general-interactive -a 'docker(ubuntu)' echo ''hello''
```

> Replace XYZ with your allocation

## Custom Conda Environment 

$HOME directory is limited to 10G per user hence we need to override conda environment varible to use our storage directory

```
mkdir -p /storageN/fs1/XYZ/Active/conda/envs/
mkdir -p /storageN/fs1/XYZ/Active/conda/pkgs/
export CONDA_ENVS_DIRS="/storageN/fs1/XYZ/Active/conda/envs/"
export CONDA_PKGS_DIRS="/storageN/fs1/XYZ/Active/conda/pkgs/"
export LSF_DOCKER_VOLUMES="/storageN/fs1/XYZ/Active:/storageN/fs1/XYZ/Active"
export PATH="/opt/conda/bin:$PATH"

bsub -Is -q general-interactive -a 'docker(jupyter/datascience-notebook:ubuntu-20.04)' /bin/bash
conda init (#one time)
source ~/.bashrc 
conda info (#to verify/one time)
conda create -n new_env

conda activate new_env

pip install numpy
```

### Add below to your ${HOME}/.bashrc to make this setup permanent: 

```
export CONDA_ENVS_DIRS="/storageN/fs1/XYZ/Active/conda/envs/"
export CONDA_PKGS_DIRS="/storageN/fs1/XYZ/Active/conda/pkgs/"
```
## Jupyter Kernel From Conda Environment

Activate conda environment using above steps.


```
python -m pip install ipykernel
python -m ipykernel install --user --name test_kernel --display-name conda_kernel
jupyter kernelspec list
```



---
> Replace /storageN with either /storage1 or /storag2 
> Replace XYZ with your respective allocation information