Update VSCode cluster connection instructions for new configuration#324
Open
CarlosLopezElorduy wants to merge 1 commit intomainfrom
Open
Update VSCode cluster connection instructions for new configuration#324CarlosLopezElorduy wants to merge 1 commit intomainfrom
CarlosLopezElorduy wants to merge 1 commit intomainfrom
Conversation
4 tasks
Member
FedericaBrando
left a comment
There was a problem hiding this comment.
Thanks for the update Carlos,
Actually I do it in a different way - I use the SBATCH command to submit the job and I always call the same node, cpus and memory directly in the sbatch file. This is my current header:
❯ cat .local/bin/vscode-it
#!/bin/bash
#SBATCH --job-name="code-client"
#SBATCH --cpus-per-task=16
#SBATCH --nodelist=irbccn25
#SBATCH --partition=bbg_cpu_zen4
#SBATCH --mem=32G
#SBATCH --qos=interactive
#SBATCH --time=30-00:00:00 # walltime
set -xe
/usr/sbin/sshd -D -p 3131 -f /dev/null -h ${HOME}/.ssh/id_ecdsathen I run it from the login node with:
sbatch vscode-itThis avoids the problem of allocating a different node every time and then losing the history for your opened sessions on a specific node in vscode, then it reduces the steps from 3 to just one, since the job is directly launched from the login node, no need for a screen nor an interactive session.
Having said so, your method works as well, and it's fine to me, up to you. If you want to merge go ahead!
🚀 🚀
FedericaBrando
approved these changes
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Revise the documentation to reflect changes in the cluster configuration, including updated resource allocation commands and SSH settings for connecting to the IRB cluster.