school server
In all OS, you can use Terminal
or cmd
to connect, but I perfer not using it as a beginner.
Windows, depends on the version of your OS… but I strongly recommend using WSL2. Otherwise, you may use Putty. In addition, I think MobaXterm is a good choice to connect to the servers.
MacOS, well… you may just use terminal. I think even
Screen Sharing client
, a default software works.
Alternative, you may use royal TSX.
Linux, I prefer Remmina.
Find the installization guide on the right hand side, and choose the appropriate OS.
Type your WatIAM ID and password to download.
Open Sever/connect to cn-vpn-uwaterloo.ca
and type
the account & password
You may need to obtain the second password using the
DUO mobile
app.
Windows server - use Microsoft RDP I think is the easiest way. Let me know if you do not know how to use.
yourWatIAMid@windows.math.uwaterloo.ca
Linux servers - use the thing you download in the first place.
High-performance computing (HPC) & Graphics processing unit (GPU) cluster/server
It requires a bit more domain knowledge…
There are some good readings, such as 1.
It can do good in parallel computing (you have more cores).
Check usage of the server you logged in
htop
, top
for memory
usage, and a lot
morelog onto the (Linux) server, say, cpu151.math.private.uwaterloo.ca
cd
to the directory where your code is
located.
Type Rscript your_code.R
to run the code.
You may want to use the nohup
command to run the
code in the background. For example,
nohup Rscript your_code.R &
If you have questions or wonders. Feel free to contact me
I am currently a CANSSI Distinugish Postdoctoral Fellow at McGill University
My website is https://chikuang.github.io/
Life learner 😉