This part of the course will show you how to access and use the supercomputer Saga and how to use UNIX (and Linux) commands.
PDF from the lecture can be found in the Lectures folder as well as on Canvas.
Saga is a brand new high performance computing cluster put online in the fall of 2019. It's maintained by Sigma2 and is one of several national supercomputers available for researchers. It has 200 standard compute nodes, with 40 cores and 192 GiB memory each, and in addition there are some specialized nodes (e.g. high-memory nodes with 3TiB memory or GPUs).
Saga like most supercomputers runs some version of Linux. In order to access and do stuff on Saga you need to learn some basic Linux (and UNIX-style) commands.
Short version: UNIX has been called the mother of all operating systems (OS). The origin dates back to the mid 1960's when it was developed by people at MIT, Bell Labs and General Electrics to control some of their early computer frames. Linux is an open-source UNIX clone written by Linus Torvalds (first released in 1991), and the kernel of the MacOS is build on a UNIX-like framework. So when we use the term UNIX in this course it largely means the UNIX-style of running programs. Common is the idea that the code should be simple, short, clear, modular, and extensible. It means that the programs
- should do one thing and do it well.
- work together.
- should handle text streams, because that is a universal interface. If you want to dig deeper into the differences between UNIX/linux and MacOS you can for instance watch Gary Explains UNIX vs Linux on Youtube.
In order to get started you will need a shell. This will be covered in Exercises 1.
Mac and Linux machines already have a terminal with access to UNIX/linux style commands. You don't have to do any extra installation of programs for accessing saga, but if you want to be a pro you call always pimp your bash.
Windows To get a terminal with a functionality resembling that of a Linux machine on Windows you will have to install Git for Windows, or something similar (Cygwin, Console, ConEmu). This will be explained in Exercise 1.
- Logging on to Saga
- Here you will learn to set up the shell and connect to the server
- Directory structures
- An introduction to the hierarchical file structure on Linux machines
- Common commands and transferring files
- This exercise will take you through how to transfer files to Saga, or and how to download files. You will also learn some of the most commonly used Linux commands.