6  Configure MetaCentrum remote development in VS Code

Author

Gabriel Ortega-Solís

7 Note

This tutorial assumes that you successfully configured VSCode and have already created a Mamba environment on the HPC cluster. If VSCode is properly working, you can just open a terminal manually and click on the run button in every code cell, and the code will be sent to your currently active terminal. If VSCode is not configured yet, you can copy and paste the code snippets in this tutorial into a terminal. Probably you’ll need Ctrl+Shift+V to paste in the terminal.

8 Goal

This chapter explains the recommended MetaCentrum workflow where the VS Code server runs on a compute node and the UI runs on your personal computer.

10 Notes for HPC Work

  • Use frontends for login and job submission only.
  • Run development workloads in compute-node jobs.
  • When the job ends, the compute-node SSH server also ends.