compute:begin
How-To for beginners with examples
We recommend using , and this how-to is base on it, but other editors can also be used
1. Connecting with VScode
- Add the Remote-SSH extension
- In the search box select Show and run commands [Ctrl]-[shift]-[p]
- In VSCode, select Remote-SSH: Connect to Host… from the [Command] Palette
- Connect with your user and pass, server is compute.ru.is (user & pass you received in a email)
- Upon connecting VScode will start a setup process, this is normal
- Open your home directory and start working
2. Create your python virtual environment
Install your python virtual environment. This compute cluster is for multiple user, everyone has it's own python virtual environment, different version of python or modules. There are many Python virtual environment to choose from, this example uses Miniconda
After Miniconda has been installed
create your prefered python environment, to choose python version 3.9.7 conda create –name useTorch python=3.9.7
then install your modules for example with pip
Using GPU with python
More
compute/begin.txt · Last modified: 2024/12/12 10:44 by bjorns