Jupyter Notebook
Jupyter Notebook is accessible through the Open OnDemand web interface.
Launching Jupyter
Select Interactive Apps → Jupyter Notebook
Choose resources and launch
Adding Conda Environments as Kernels
Register your Conda environments with Jupyter:
conda activate myenv
conda install ipykernel
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
After registration, restart Jupyter to see new kernels in the New menu.
Accessing Group Directories
Option 2: Symlinks
Create links from your home directory:
ln -s /resnick/groups/<group>/<user>/data ~/data-link
Then access via the symlink in Jupyter.
Julia Support
module load julia/1.4.2
julia
In Julia REPL:
using Pkg
Pkg.add("IJulia")
Then select Julia 1.4.2 kernel in Jupyter.
Configuration
Set default startup folder in ~/.jupyter/jupyter_notebook_config.py:
c.NotebookApp.notebook_dir = "/resnick/groups/mygroup/notebooks"
Troubleshooting
Jupyter Won’t Start
Log out completely
Clear browser cache and cookies
Log back in
Kernel Issues
Rename the Jupyter config directory and restart:
mv ~/.jupyter ~/.jupyter.bak
Conda Conflicts
Comment out conda initialization in ~/.bashrc if experiencing issues:
# >>> conda initialize >>>
# (comment out this section)
# <<< conda initialize <<<