Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Visual Studio Code is usually started on a localhost, which results in starting local application to interact with the guiGUI.

On Ares and Athena we cannot easily expose the GUI to external world, as calculations are done internally on a computing node, not visible from Internet.

Therefore, in ACC Cyfronet we have perepared prepared start-vscode-web  script that can be used easliy easily with VSCode module. In this guide, we will explore how to use it it to start VSCode web session. 

...

which lists all  current user jobs submitted to queue ($USER - is enviromentalan environment variable).

Common states of jobs:

  • PD - PENDING - Job is awaiting resource allocation.
  • R - RUNNING - Job currently has an allocation and is running.
  • CF - CONFIGURING  - Job has been allocated resources, but are waiting for them to become ready for use (e.g. booting). On Ares CF state could last for up to 8 minutes in case when nodes that have been in power save mode.
  • CG - COMPLETING  - Job is in the process of completing. Some processes on some nodes may still be active.

...

Note that in your case, the ports in the tunnel command will be different. Also, insted instead of plguser  your username will be displayed.

Start the

...

VSCode web

...

GUI

Now, when the tunnel is running, you will need to open the link shown in the log file. Copy it and open it in your browser.

...