This is an old revision of the document!
This is an introduction to the practical aspects of using the CHPC Lengau cluster.
To connect to the CHPC cluster you will need to use the ssh protocol. This is most easily accomplished with the ssh program on Linux systems. If you do not have Linux on your laptop and are using MS Windows, please see the appropriate section of the Connecting to the CHPC guide.
On your Linux laptop, open a text terminal and type the ssh command:
ssh username@lengau.chpc.ac.za
where you will need to replace username
with your user name, of course.
For more information on ssh see the Connecting to the CHPC guide.
Once connected to Lengau you will be using the Linux shell command line interface (CLI). To be precise, the default shell is bash. When you successfully connect via ssh you will see a display similar to:
Last login: Mon Feb 24 12:07:46 2020 from 10.128.23.164 Welcome to LENGAU ################################################################################ # # # In order to receive notifications via email from the CHPC all users should # # be subscribed to the CHPC user distribution list. If you are not part of the # # distribution list you can subscribe at the following link: # # https://lists.chpc.ac.za/mailman/listinfo/chpc-users # # # ################################################################################ login2:~$
The first part is a welcome message. Read it first since important announcements will be displayed here: notice of shutdowns, your quota usage, et al.
Please take note of the login2:~$
– this is the shell prompt and it contains important information about your location
Here are a few basic Linux commands which you can use:
pwd
This prints out the current working directory. When you do this for the first time it should display your home directory, e.g.,
/home/username
Note: username
will be replaced by your user name.
ls
The ls
command lists the files in the current working directory.