Skip to content

Material of the DSL Workshop held together with NOAA in 2020

Notifications You must be signed in to change notification settings

rheacangeo/dsl_workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workshop on Domain-Specific Languages for Performance-Portable Weather and Climate Models

Material of the workshop held together with NOAA in 2020

Setup on Orion

  1. ssh <user>@orion-login.hpc.msstate.edu (log on to Orion)
  2. git clone https://github.com/VulcanClimateModeling/dsl_workshop.git workshop (check out the repository for the workshop)
  3. Add the line if [ -f ~/workshop/setup/jupyter_env ] ; then source ~/workshop/setup/jupyter_env ; fi to the file .bashrc just before the line if [ -z "$PS1" ]; then return; fi
  4. Make sure current .bashrc is active by typing exec bash
  5. Go to workshop directory with cd workshop
  6. module purge (remove any previously loaded modules)
  7. source setup/module_env (load module environemnt for workshop)
  8. Check gcc --version is 8.3.0
  9. 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.

Connect to Jupyter on Orion

  1. Point your browser to https://orion-ood.hpc.msstate.edu/
  2. Click "Jupyter Notebook" under the "Interactive Apps" dropdown menu
  3. Configure your session (Account Name = "gfdlhires", Partition Name = "development") and launch you session.
  4. Once the session has started, click "Connect to Jupyter"
  5. The material for the workshop is under workshop/notebooks
  6. Check you setup by executing the Check-Setup.ipynb notebook

About

Material of the DSL Workshop held together with NOAA in 2020

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 81.7%
  • Python 18.1%
  • Shell 0.2%