Setting up for the workshop¶
In this workshop we will be learning about both UNIX systems and how to use Purdue's HPC clusters. For the UNIX portions, you can either use your own computer, or if you have been granted access to a cluster, you can use that cluster as your UNIX system. In the next section, we will discuss how to get onto the clusters if you have already been granted access through your research group.
For those of you who do not have cluster access currently, we can use your local computer as a UNIX system, but you won't be able to try all the Slurm cluster commands that we will go over in weeks 2 and 4.
For Mac and Linux users¶
Your computer is already a UNIX system, so there's no need to download anything extra to make sure we can run the UNIX commands.
Mac¶
Mac users can run the Terminal program to open up a shell. Then type bash and hit enter to make sure you are using the correct shell.
Linux¶
Linux users can open up Gnome Terminal or KDE Konsole or xterm, which can be found via the applications menu or the search bar. Linux computers, by default, use Bash as their shell, but if you've changed the default, you can open a terminal and type bash, then hit enter to make sure you're using the correct shell.
Windows¶
Windows computers are not UNIX-based and require an extra download to ensure that we can run the UNIX commands on your computer. The program we will install is called Git for Windows and will allow you to use a UNIX shell called Bash (which we will talk about later). Instructions on how to download and install Git for Windows can be found here: Installation instructions. Just make sure to click to the tabs that say Windows and Git for Windows.
Once Git for Windows is installed, you can open a terminal by running the program Git Bash from the Windows start menu.
Next section: How to Access the Clusters