Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
User Manual

User Manual
Results will update as you type.
  • Application Guide
  • Status of System
  • Usage Guide
  • Compute partitions
  • Software
    • AI Frameworks and Tools
    • Bring your own license
    • Chemistry
    • Data Manipulation
    • Engineering
    • Environment Modules
    • Miscellaneous
    • Numerics
    • Virtualization
    • Devtools Compiler Debugger
      • Anaconda (conda) and Mamba
      • antlr
      • Arm DDT
      • Charm++
      • Intel oneAPI Compiler Suite
      • Intel oneAPI MPI
      • Intel oneAPI Performance Tools
      • LIKWID Performance Tool Suite
      • OpenMPI
      • Patchelf
      • Python
      • SYCL
      • Valgrind instrumentation framework
      • VS Code
        • Containerized VScode server (old)
      • Julia
      • Perforce TotalView
    • Visualisation Tools
  • FAQ
  • NHR Community
  • Contact

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    VS Code

    VS Code

    Apr. 28, 2025

    Visual Studio Code is an IDE with full support for remote code development.

    Modules

    Users install and run VS Code on their own machine. On the remote side no module needs to be loaded - the client installs its own server automatically (~/.vscode-server).

    Setup a remote connection

    1) locally install the following VScode extensions

    • Remote – SSH
    • Remote – SSH: Editing Configuration Files
    • Remote Explorer

    2) pick and fire up your remote compute node (avoid expansive tasks on logins), for example

    salloc -p cpu-clx

    3) add this block to your local SSH config to connect to any bcn* compute node via blogin

    ~/.ssh/config
    Host clx-login
        User <your_username>
        HostName blogin.nhr.zib.de
        IdentityFile ~/.ssh/<your_key>
    
    Host bcn*
        User <your_username>
        IdentityFile ~/.ssh/<your_key>
    	ProxyCommand ssh -W %h:%p clx-login

    4) in VScode open the Command Palette, type/enter: Remote – SSH: Connect to Host, and provide the specific name of your allocated compute node, e.g. bcn####

    5) as soon as the remote connection in VScode is established you can install additional extensions on the remote side, too. Some recommendations are 

    • GitHub Copilot
    • Python
    • JupyterHub
    • C/C++
    • Modern Fortran

    Steps 2) and 4) need to be executed each time running VScode on a compute node. All other steps are required one time only - are permanent.

    Optional: containerized VScode server

    Advantage: inside container user has more rights, e.g., can use dnf.



    , multiple selections available, Use left or right arrow keys to navigate selected items
    hlrn-sw
    sw-devtools
    software
    {"serverDuration": 12, "requestCorrelationId": "f1e6f876d73c4d82975e6c78831d2917"}