* https://ccdb.computecanada.ca/
* https://docs.alliancecan.ca/wiki/Getting_started
[name@server ~]$ module load python/3.10
[name@server ~]$ virtualenv --no-download ENV
[name@server ~]$ source ENV/bin/activate
[name@server ~]$ pip install --no-index --upgrade pip
(ENV) [name@server ~] pip install numpy --no-index
-
-N don't open terminal (just build the channel)
-
-f run in background
Electerm
Quick commands (to salloc GPU) ---> get node name~/.ssh/config
change host name of Computenode# Jump box with public IP address Host Narval HostName narval.computecanada.ca User <username> IdentityFile ~/.ssh/id_rsa # Target machine with private IP address Host Computenode HostName [use cmd "hostname" to check] User <username> IdentityFile ~/.ssh/id_rsa ProxyCommand ssh -q -W %h:%p Narval
- Setup PyCharm Remote Interpreter (only the first time)
- Host: Computenode
- You can hit Run/Debug to run the code