-
Notifications
You must be signed in to change notification settings - Fork 1
Visual Studio Code Cursor
Mamie Wang edited this page Nov 5, 2024
·
3 revisions
- Install Remote-SSH extension in VS Code: Extension > Remote-SSH
- Add a new host to Remote-SSH: F1 > Remote-SSH > Add new remote host (
ssh <MSKUsername>@islogin01.mskcc.org) - Connect to the login node: F1 > Remote-SSH > Connect to host
- Start an interactive job and note the name of the node your job is running on
ssh <MSKusername>@islogin01.mskcc.org
srun -p chanj3 -t 1:00:00 --mem=10G --pty bash
hostname- Modify your SSH config file with the compute node name
Host iris-login
User <MSKusername>
HostName islogin01.mskcc.org
Host iris-compute
User <MSKusername>
HostName <node name>
ProxyJump iris-login
- Connect to the compute node: F1 > Remote-SSH > Connect to host
Install GitHub copilot extension in VS Code: Extension > GitHub copilot > Install in SSH
You need to have GitHub copilot subscription or apply for GitHub Education to have free access.
Install Jupyter extension in VS Code: Extension > Jupyter > Install in SSH (need to do this for both login and compute node)
Jupyter kernel management: https://code.visualstudio.com/docs/datascience/jupyter-kernel-management