- Login to scclogin.camhres.ca
- Run following command
module load lang/Python/2.7
initcamhkt.sh -u Firstname_Lastname
Your email address usually should be Firshname.Lastname@camh.ca, Firstname_Lastname should be username when you login into webmail.camh.net
You will be prompt to input like following when you run this command at the first time.
initcamhkt.sh -f -u Andy_Wang
Active Directory user Andy_Wang@CAMH.CA password:
Input your camh email password,
You can now access X, Y drive in the following path:
/cifs/your_scc_account/X
/cifs/your_scc_account/Y
Example show the X or Y drive content:
ls /cifs/awang/X
ls /cifs/awang/Y
Please be careful, here should be your scc account name.
- Reinitianize your keytab
If your camh email account password expire, you need to regenerate keytab on SCC with the following command
initcamhkt.sh -f -u Firstname_Lastname
- For Slurm job
Just put the following command in your scripts
initcamhkt.sh -u Firstname_Lastname
- It is not recommend to run scripts directly from X and Y drive, sometime it is not so stable on some node
- Better check you can access the X or Y drive before you run your formal scripts
- If your program run long time, becareful credential will expire after 7 days
2. Rstudio
press Alt+Shift+R or click Tools → Terminal → New Terminal
type
module load lang/Python/2.7
initcamhkt.sh -u Firstname_Lastname
3. Jupyter
Click Terminal, in the console run
module load lang/Python/2.7
initcamhkt.sh -u Firstname_Lastname
ln -s /cifs/your_scc_account/X ~/
ln -s /cifs/your_scc_account/Y ~/
ls ~/X
ls ~/Y
4. Visit the folder in Rsudio or Jupyter
initcamhkt.sh -u Firstname_Lastname
ln -s /cifs/your_scc_account/X ~/
ln -s /cifs/your_scc_account/Y ~/
ls ~/X
ls ~/Y