neutrons / multiphonon

multiphonon (getDOS)
MIT License
3 stars 5 forks source link

Write a tutorial for running GetDOS in jupyter notebook at SNS analysis cluster #25

Closed yxqd closed 7 years ago

yxqd commented 8 years ago

empty-browser2

start-server

browser-root2

cpgetdosnb

browserroot-showgetdosgui

yxqd commented 8 years ago

See https://github.com/sns-chops/multiphonon/wiki/Use-jupyter-notebook-to-run-GetDOS-calculation-at-SNS-analysis-cluster

yxqd commented 7 years ago

filebrowser-click-notebooks

filebrowser-click-arcs

filebrowser-click-getdos

getdos

yxqd commented 7 years ago

Old tutorial. Don't need the setup anymore. Setup is now automatic.

This page explains how to set up your jupyter notebook environment at SNS. This only has to be done for once.

Connect to SNS analysis cluster using thinlinc

SNS jupyter service is now only available from inside the SNS analysis cluseter. So the first step is to connect to SNS analysis cluster using thinlinc.

  1. Open http://analysis.sns.gov in a browser and log in analysis-login
  2. Log in again if the screen saver was on analysis-screensaver-login

Set up jupyter notebook environment

All the following steps happen inside the thinlinc window of the SNS analysis cluster.

  1. Open a browser open-browser
  2. Browse to https://jupyter.sns.gov and log in jupyter-login
  3. You are now presented the jupyter view of your home directory at analysis cluster as shown below. Click "New" and then select the "SNS jupyter environment" kernel to create a new notebook. new-sje-nb-for-setup
  4. You are now presented with a new, empty notebook sje-setup-empty-nb
  5. Type in the code
    import sje;
    sje.setup()

    to setup your jupyter notebook environment. sje-setup-run

  6. Close this notebook close-nb-for-sje-setup
  7. It is done! Your SNS jupyter environment was set up. You are ready to move on to the next step. Use the jupyter notebooks for your data analysis.
yxqd commented 7 years ago

Even older tutorial


This tutorial is obsolete


Connect to SNS analysis cluster using thinlinc client or browser. All the following actions happen inside the SNS analysis cluster window.

empty-browser2


This tutorial is obsolete, please go to the new tutorial


Connect to SNS analysis cluster using thinlinc client or browser. All the following actions happen inside the SNS analysis cluster window.

yxqd commented 7 years ago

Done. see wiki page