Using VS Code

In order to avoid overloading the login node (login-hpc), users are required to connect to a compute node.

Launch an interactive session on a compute node

See this page.

Then run the hostname command which will print the node name that you are using.

Edit your local configuration

Edit your local ~/.ssh/config file and add:

Host compute* gpu*
    ProxyJump username@login-hpc.univ-cotedazur.fr
    User username

Replace username with your Azzurra username. This has to be done only once, before your first connection.

Start the connection in VS Code

In VS Code: Press F1 > Remote-SSH: Connect to Host... > enter the node name that was assigned to you by Slurm when opening your interactive session (the output of the hostname command). Example: compute02

If VS code asks the OS of the remote machine, select Linux. If you are asked to agree about a fingerprint, select yes.