User Tools

Site Tools


compute_canada_hacks

Preparing your Compute Canada environment

Read this tutorial ComputeCanadaWiki

Official documentation Preparing virtual environments

Globus: file transfer management GlobusSetUp

Remotely link a port at Compute Canada to your local port

Example: Visualize the training results remotely at your browser. By default, ssh set up 1-to-1 port number connection

Log in Compute Canada with -L flag

 >> ssh -L 16006:127.0.0.1:6006 username@graham.computecanada.ca

Once you log in Compute Canada and use 6006 port for the training curve

 [username@gra-login2 jobs]$  tensorboard --logdir outputs/Astrocytes/WT/log/ --port=6006 

Your tensorboard curves will be able to view at any browser by opening 127.0.0.1:16006

Multifactor authetication

Update : April 15, 2024

Download Duo Mobile on your Android/IOS phone. Scan the Compute Canada login QR code. The second factor code is the 6 digit code in the Duo Mobile.

Job Arrays

Update : April 26, 2024

Submit a sequence of tasks with only varying variable (i.e grid search). The job array allows you to submit a batch of tasks at once. Job arrays

compute_canada_hacks.txt · Last modified: 2024/05/07 15:55 by yanan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki