This is an old revision of the document!
The purpose of this page is to provide the new user with the bare minimum of information required to start using CHPC's facilities. Please explore the rest of the Wiki for more advanced information, as well as application-specification instructions and examples.
Once you have a user-id and password, you can log in to the system using ssh. If you are logging in from a system running a UNIX-like operating system, you can simply use ssh from the command line: ssh myusername@sun.chpc.ac.za. From Windows, you can log in using Cygwin or PuTTY. Once logged in you can (and should) change your password with the passwd command. Options for logging in are explained in the following guide.
Although personal computers running Linux have user interfaces that are very similar to Windows or Mac, the ssh-login to the HPC cluster runs in command line text mode only, by default using the Bash shell. It is therefore essential to master a very small subset of Linux commands. The internet has many excellent resources explaining how to perform tasks in Linux and Bash. Nevertheless, here is a very short summary of the most useful instructions:
Although some basic software is immediately available on the cluster, most of the more useful software packages need to be accessed via the modules system. This includes newer and more capable versions of the gcc and intel compilers, various python versions with numpy, etc, many software libraries and specialized scientific packages. Here are examples of the most common module operations that you will need to use on the cluster:
Some modules depend on other modules being loaded to work. In most cases this is automated, but in the few cases where they are not, an error message will inform you that you need to load a certain package first.
There are a great number of modules for use by researchers in the life sciences. Some are also generally useful, such as compilers, etc. These are accessible as follows: module avail chpc/BIOMODULES
For python users, loading a module will also load all the python libraries associated with that python version - usually at least numpy and scipy. The most capable python modules are those in chpc/python/anaconda, which use the anaconda installation system. These are recommended for tensorflow users.
For GCC and the Intel compilers, however, you will have to load the modules that you wish to link your code against separately.
Finally, there are a few software packages (mostly those that are commercially licensed, such as Ansys/Fluent, but also a few open-source packages like OpenFOAM) which are installed on Lengau, but not available via the module system. To access these, look at their respective howto pages on this wiki.