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:
* module avail - To list all available packages * module avail chpc - List just the chpc modules group - this contains most of the useful modules * module avail chpc/earth - This 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) * module add gcc/6.1.0 - To load a module for use (in this case, gcc version 6.1 - replace the last part with whatever module name you want to use) * module load chpc/python/3.5.2_gcc-6.2.0 - An alternative to module add * module list - To list all the modules which you have already loaded in this session * module dell gcc/6.1.0 - To unload a module (in this case gcc version 6.1.0 * module purge - to unload all modules that you have loaded