Coder Social home page Coder Social logo

noether_notebooks's Introduction

Put .sh file in your scripts/bin directory

Put .sub file in your scripts/etc directory

  • Alter the .sh file to point to your relevant notebook directory, and enable a conda environment that can run jupyter lab (in our case we use config_ic.sh to do so).
  • Alter the resources as needed within the .sub
  • Create the appropriate output files described in the .sub file if you wish to see any output.
  • Port (PORT) by default is set to 4202, change this in the .sh file as needed

Do all these steps within the same terminal:

  1. Forward an ssh connection from your local node to the head node: ssh -gL PORT:localhost:PORT [email protected]
  2. Submit your jupyter notebook job as a normal batch job after you are happy with its settings. cd scripts condor_submit etc/jupyter.sub
  3. Once the job has started, find the job ID (JOB_ID) name with condor_q
  4. Create a forwarding connection from the job node to the head node: condor_ssh_to_job -ssh "ssh -gL PORT:localhost:PORT" JOB_ID
  5. You can now connect to a jupyterlab session locally by typing in your browser: localhost:PORT

Make sure to kill your notebooks after use! Do so with condor_rm JOB_ID

noether_notebooks's People

Contributors

jwaiton 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.