Open sfmig opened 1 week ago
Thanks both Niko and Sofia for rising this issue. Commenting on the improvements proposed:
2. Makes total sense. Maybe we could have a simple template for a environment creation job.
good idea, we could include the example commands for that.
3. Seems reasonable, although reinforcing the requirement of disabling the extensions (as Richard suggested) could be enough. How much are we (and other people in swc) ssh-ing with vscode for development necessities? It might be that this functionality solves common troubleshooting problems. I am using OOD virtual desktop on a dedicated node whenever I have similar needs.
I think the problem is that our current instructions lead to running jobs on bastion/gateway nodes, as noted by Pierre here: #62. Even if people have the correct VSCode settings, it's not a practice we should encourage. I think OOD is probably a much better solution for remote development.
Should we discard VSCode altogether?
My common way of working lately is to ssh to the cluster (hpc-gw1
) via VScode and submit batch jobs or request interactive nodes from there. What is wrong with this approach?
Compared to a regular terminal, I find it very convenient for submitting jobs (interactive or batch) to have a terminal and a view of the file tree at the same time. Also many people are familiar with VSCode already, which lowers the entry barriers to the cluster.
Isn't it a bit excessive to actively discourage VScode because of the risk of someone sshing to a compute node? Shouldn't that be prevented in some other way? Or am I missing something?
I agree with you that developing exactly in the way you describe is very useful, and I've used the same workflow several times. I'd like to preserve that way of working for me and others, but we have to make sure that our guide reflects best practice and we don't inadvertently over-burden hpc-gw1
.
Is your feature request related to a problem? Please describe. @niksirbi advised on some improvements to the ssh guide, quotes below:
Also potentially update the guide to take into account Richard's message:
Describe the solution you'd like \
Describe alternatives you've considered \
Additional context \