Giter Site home page Giter Site logo

sharcnet / vscode-hpc Goto Github PK

View Code? Open in Web Editor NEW
30.0 4.0 3.0 197 KB

Remote development on HPC clusters with VSCode

License: MIT License

CMake 0.46% Makefile 0.18% C++ 2.89% Cuda 1.63% Jupyter Notebook 94.21% Python 0.39% Shell 0.24%
vscode hpc-clusters vscode-remote hpc cmake-examples cpp cuda cxx jupyter nsight python

vscode-hpc's Introduction

vscode-hpc

This is a sample code accompanying SHARCNET General Interest Seminars entitled: Remote Development on HPC Clusters with VSCode. You can find recorded versions of the talks on the SHARCNET YouTube channel:

The setup

And the followings on the platform(s) that you want to do either local or remote development:

The Alliance Clusters

For remote development on the Digital Research Alliance of Canada (the Alliance) clusters, the following module command will do the trick but often you have to add it at the end of your ~/.bashrc file:

module load cmake cuda scipy-stack/2022a ipykernel

Linux

  • C++ compiler supporting the C++14 standard (e.g. gcc 9.3)
  • Python 3
  • Git for Linux
  • CMake 3.18 or higher for Linux
  • An MPI implementation (e.g. OpenMPI or MPICH)
  • CUDA toolkit for Linux

Windows

On Windows systems, if you want to do both local development on Windows and remote development on WSL2, you have to first install the NVIDIA drivers for WSL with CUDA and DirectML support on Windows and then follow these instructions in order to install CUDA toolkit on WSL2.

macOS

  • C++ compiler supporting the C++14 standard (e.g. clang 3.4)
  • Python 3
  • Git for macOS
  • CMake 3.18 or higher for macOS
  • An MPI implementation (e.g. OpenMPI or MPICH)
  • CUDA toolkit for macOS

Get started

Just run VSCode on the system that you work on it and then select Clone Git Repository... from Get Started page or type git: clone in the command palette (Ctrl+Shift+p or F1). Then paste https://github.com/sharcnet/vscode-hpc.git and hit Enter.

vscode-hpc's People

Contributors

arminms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.