Giter Site home page Giter Site logo

lotterhoslabprotocols's People

Contributors

adowneywall avatar akijarl avatar anniechristie avatar bmford11 avatar brandonlind avatar bweedop avatar casalott avatar crumberg avatar cwinguth avatar daattali avatar drk-lo avatar elisabethleung avatar epwalsh avatar eugenius1 avatar hristoyankov avatar jamesonzimmer avatar jennydaman avatar kiran-bajaj8 avatar ksfreeman avatar lrdodge avatar madeline-eppley avatar mongillon avatar npes87184 avatar ocram85 avatar remygatins avatar saraschaal avatar thais-neu avatar tony-ho avatar xnerv avatar zeasegnitz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lotterhoslabprotocols's Issues

Update IDE instructions to include steps to run VS Code on login node.

Recently I created instructions for launching VS code on Discovery's login node. Every once in a while users will therefore get an automated email from [email protected] giving a warning about login node use; this is likely generated by a monitoring program that supervises process on the log in nodes. Note, as of yet, I haven't got any similar emails because of PyCharm.

VS Code is very lightweight, and these upticks in CPU will be infrequent (i.e., pretty harmless). However, if one wanted to avoid these email warnings, they can 1) use OOD which, honestly, is very slow and lacks a lot of ability to customize the user experience, or 2) run VS Code from the compute node.

These are the instructions that need to be added to the IDE page. I don't have time now, but I'll try and edit this in the near future, and when I do I will close this issue.


instructions

  1. Setup Passwordless ssh to Discovery from your local machine, if you haven't already done.
  2. To run VScode on a compute node, connect to the Northeastern university VPN (Global Protect) first.
  3. Start an interactive job using srun with the short/GPU partition to get the compute/GPU node.
  4. Once you are on the compute/GPU node, run "hostname -i" to find the compute/GPU node's IP address. Please make a note of the ip address.
  5. In your local machine, open VSCode and install Remote SSH and Remote SSH: Editing configuration file extensions.
  6. In your VSCode, click bottom left corner "><" icon and select "Open SSH configuration file", then choose choose /.ssh/config directory.
  7. config file with default template opens, delete the content and add the following and save it.

Host login_node
HostName login.discovery.neu.edu
User YOUR_NORTHEASTERN_USERNAME

Host <PLACE-IP-ADDRESS-OF-COMPUTE/GPU-NODE>
ProxyCommand ssh -W %h:%p login_node
ForwardAgent yes
User YOUR_NORTHEASTERN_USERNAME

  1. Again, in your VSCode, click on the bottom left corner "><" icon and select "Connect to Host" and then Choose the IP address of Compute/Gpu node in the selection menu.
  2. It will ask for OS platform type choose Linux and finally you will be connected to GPU node.
    You can browse and open your /home or /work dir files in the VSCode.

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.