Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
habrok:connecting_to_the_system:connecting_via_vsc [2025/05/27 09:18] – [Advanced: Connecting to Hábrók with Visual Studio Code] fokke | habrok:connecting_to_the_system:connecting_via_vsc [2025/07/31 08:48] (current) – Add syntax highligthing pedro | ||
---|---|---|---|
Line 32: | Line 32: | ||
* Connect to Hábrók to any of the login nodes as normal (via a terminal, MobaXterm, or the web portal) and submit a job to the desired node type and with the desired settings. This job should not do anything, so you can use the '' | * Connect to Hábrók to any of the login nodes as normal (via a terminal, MobaXterm, or the web portal) and submit a job to the desired node type and with the desired settings. This job should not do anything, so you can use the '' | ||
- | | + | <code bash> |
- | #SBATCH --time=00: | + | # |
- | #SBATCH --partition=regular | + | #SBATCH --time=00: |
- | #SBATCH --nodes=1 | + | #SBATCH --partition=regular |
- | #SBATCH --cpus-per-task=4 | + | #SBATCH --nodes=1 |
- | #SBATCH --mem=8GB | + | #SBATCH --cpus-per-task=4 |
- | + | #SBATCH --mem=8GB | |
- | sleep 1800 | + | |
+ | sleep 1800 | ||
+ | </ | ||
* Once the job is running, you can find out what node has been assigned to it with '' | * Once the job is running, you can find out what node has been assigned to it with '' | ||
* Press '' | * Press '' |