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. PLEASE be aware that there is NO undelete. If you delete a file from the command line, it is gone, finish, klaar, kaput, never to be seen again. 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:
searchterm
. Use the appropriate name of the software here.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 Modules for most other disciplines/research fields are organized slightly differently:
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.
First please check that the software which you wish to use is not available via the module system (see above) or some other means. If it is not available there, your two options are to either ask a CHPC staff member to help you install it, or to try to compile it yourself (not recommended for beginners). YOU WILL NOT BE ABLE TO INSTALL SOFTWARE AS ON LINUX ON YOUR LAPTOP - EG. “sudo apt-get install something-0.0.1” BECAUSE:
The CHPC staff will do their best to assist you by installing the software that you request. However this may take considerable time and effort for certain pieces of software to be installed, so you may need to be patient. HPC systems are complex, so unfortunately the installation process is often also complex and tricky. Also, you should ensure that the software which you wish to use will actually benefit from being used on an HPC system. As mentioned already, some software is not written to take advantage of HPC.
If you wish to use commercially licensed software, you will need to have an appropriate license. Usually this will require a 3-way communication between you, the software licensor and the CHPC. The CHPC does have a small number of national licenses for very popular pieces of software, but is unlikely to procure new licenses of this sort at this time.