Material of the workshop held together with NOAA in 2020
ssh <user>@orion-login.hpc.msstate.edu
(log on to Orion)git clone https://github.com/VulcanClimateModeling/dsl_workshop.git workshop
(check out the repository for the workshop)- Add the line
if [ -f ~/workshop/setup/jupyter_env ] ; then source ~/workshop/setup/jupyter_env ; fi
to the file.bashrc
just before the lineif [ -z "$PS1" ]; then return; fi
- Make sure current
.bashrc
is active by typingexec bash
- Go to workshop directory with
cd workshop
module purge
(remove any previously loaded modules)source setup/module_env
(load module environemnt for workshop)- Check
gcc --version
is 8.3.0 - Install GT4Py and setup Python virtual environment as Jupyter kernel with
source ./setup/setup_venv
Note: If you ever logon to Orion to work interactively in a terminal, it's important you always repeat steps 6. and 7. in order to have the correct module environment loaded.
Important: At the end of the workshop you will want to remove the modification to your ~/.bashrc
again if you continue to use the Orion system.
- Point your browser to https://orion-ood.hpc.msstate.edu/
- Click "Jupyter Notebook" under the "Interactive Apps" dropdown menu
- Configure your session (Account Name = "gfdlhires", Partition Name = "development") and launch you session.
- Once the session has started, click "Connect to Jupyter"
- The material for the workshop is under
workshop/notebooks
- Check you setup by executing the
Check-Setup.ipynb
notebook