title | teaching | exercises |
---|---|---|
Accessing Milton |
15 |
6 |
:::::::::::::::::::::::::::::::::::::: questions
- How do I log in to
Milton
? - Where can I store my data?
::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::: objectives
- Connect to
Milton
. - Identify where to save your data
::::::::::::::::::::::::::::::::::::::::::::::::
Milton is a linux-based cluster, that is made up of two login nodes and many computer nodes in addition to the file systems.
- Physical cores
- Memory
- Local storage
- Maybe GPU(s)
The first step in using a cluster is to establish a connection from your laptop to the cluster. You need a Windows Command Prompt or macOS Terminal, to connect to a login node and access the command line interface (CLI).
::: challenge
If not in WEHI, make sure you are on the VPN. While on a WEHI device, open your terminal and login to vc7-shared.
More details are available here.
:::::: solution
-
For Mac OSX users
ssh vc7-shared
- Type your password
-
For MS-Windows users
- Download and install the free PuTTY client.
-
You can also use Cluster Access on Open OnDemand
:::::: :::
You will be asked for your password.
Watch out: the characters you type after
the password prompt are not displayed on the screen. Normal output will resume
once you press Enter
.
You will notice that the prompt changed when you logged into the remote system using the terminal.
We will now revise some linux commands to look around the login node.
::: challenge
Get node name where you are logged into
:::::: solution
$ hostname
vc7-shared.hpc.wehi.edu.au
So, we're definitely on the remote machine. ::::::
:::
::: challenge
:::::: solution
Run pwd
(print the working directory.)
pwd
/home/users/allstaff/<username>
Instead of <username>
, your username will appear. This is your HOME directory ($HOME
)
::::::
:::
::: challenge
:::::: solution
ls
will print a list of files/directories in the directory.
::::::
:::
::: challenge
copy exercise examples from /stornext/System/data/apps/sample-scripts/Workshop-IntroToHPC-Slurm
to current directory,
:::::: solution
cd <dir>
cp -r /stornext/System/data/apps/sample-scripts/Workshop-IntroToHPC-Slurm .
ls
:::::: :::
::: challenge
:::::: solution
exit
or
logout
::::::
:::
For more on Linux commands, visit our guide or watch the recording of the workshops here
::::::::::::::::::::::::::::::::::::: keypoints
- HPC systems typically provide login nodes and a set of compute nodes.
- Files saved on one node are available on all nodes.
- Milton has multiple different file systems that have different policies and characteristics.
- Throughout a research project, research data may move between file systems according to backup and retention requirements, and to improve performance. ::::::::::::::::::::::::::::::::::::::::::::::::