Giter Site home page Giter Site logo

dsl_workshop's Introduction

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

Material of the workshop held together with NOAA in 2020. All presentations are available in the slides directory. Recordings of the sessions are available on request.

Setup Environment 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. Install GT4Py and setup Python virtual environment as Jupyter kernel with ./setup/setup_venv

Note: If you ever log on 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.

Setup Environment in Docker

  1. run setup/docker_setup to build this image (slow)
  2. run the run_docker.sh script to start up the notebook in a container, a link is provided for access

Connect to Jupyter on Orion

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

Jupyter Notebook App Setup

Jupyter Notebook Job Setup

dsl_workshop's People

Contributors

gmao-ckung avatar jdahm avatar ofuhrer avatar rheacangeo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.