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.
To list all available packages, use the following command:
module avail
Most of the useful modules are part of the chpc modules group. You can list just these as follows:
module avail chpc
In a similar way, you can refine the search further, eg.
module avail chpc/earth
That will list all the applications and libraries in the “earth” subgroup (reserved for earth-science applications. chpc/compmech contains the computational mechanics packages (CFD, FEA, etc)
To actually load a module and be able to use the software, you should use the module load or module add command (they do the same thing), eg.
module add gcc/6.1.0
module load chpc/python/3.5.2_gcc-6.2.0
To list all the modules that you have loaded, type:
module list
To unload a module, type:
module dell gcc/6.1.0
and finally, to unload all modules, type:
module purge