Coder Social home page Coder Social logo

start_jupyter's Introduction

start_jupyter

Intended for folks in genome sciences at UW.

Description

run_jupyter

This script should only be run on the remote host. It can be used to submit a JupyterLab job to the grid engine using the specified parameters. The name of this job is determined from '-N', -l', '-pe', and '-P' options (see run_jupyter -help for details). If a job with this same name already exists, the script merely prints information for the preexisting job - no new job will be submitted.

If you typically use the same options for your jobs and don't want to have to type them out each time you use this script, modify ~/.run_jupyter.qsub_option_defaults on the remote host.

ssh_jupyter

This script should only be run on your local machine. It submits a JupyterLab job to the grid engine on the remote host, then activates JupyterLab by sshing to the remote host at the JupyterLab port and grid engine node. This script calls run_jupyter on the remote host - most command line options for ssh_jupyter are forwarded to run_jupyter.

Installation

Put run_jupyter on your remote host and ssh_jupyter on your local machine. Add both to the PATH environment variable in your shell configuration files.

For ssh_jupyter, I recommend setting ~/.ssh/config on your local machine such that you don't need to type your password every time you ssh to the remote host. If you have to connect to a gateway (ie nexus) to reach the head node (ie grid), you'll probably want to set up local port forwarding as well.

Usage

Most qsub options are supported. See run_jupyter -help and ssh_jupyter -help for full usage information.

Bugs

Feel free to reach out if you run into any problems! Use at your own risk, ect ect.

start_jupyter's People

Contributors

gesinecauer avatar

Stargazers

 avatar

Watchers

 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.