Skip to the content.

Introduction to Shell and Cluster computing (FAS-RC’s compute cluster)

Learning Objectives

Installations

Mac users: No installation requirements.
Windows users: GitBash

Notes

Cluster access

To run through the code in the lessons below, you will need a FAS-RC cluster account. Once you have an account, please do the following.

  1. Log in using ssh username@login.rc.fas.harvard.edu and enter your password (replace username with your username).
  2. Once you are on the login node, use salloc -p test -t 0-2:30 --mem 8G to get on a compute node or as specified in the lesson.
  3. Proceed only once your command prompt does not have the word login in it.
  4. If you log out between lessons (using the exit command twice), please follow points 1. and 2. above to log back in and get on a compute node when you restart with the self learning.

Lessons

Part I

  1. Introduction to Shell
  2. Wildcards and shortcuts in Shell
  3. Examining and creating files
  4. Searching and redirection
  5. Shell scripts and variables in Shell

Part II

  1. Loops and automation
  2. Permissions and Environment Variables

Part III

  1. Introduction to High-performance computing
  2. Introduction to the FAS-RC cluster

Building on this workshop


Resources

Cheat sheets:

Online tutorials:

General help:


These materials have been developed by members of the teaching team at the Harvard Chan Bioinformatics Core (HBC). These are open access materials distributed under the terms of the Creative Commons Attribution license (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.