tfcb_2020

Lecture 17: Introduction to remote computing

Erick Matsen (@ematsen, matsen.group)

Learning objectives

After this course, you should:

Class materials

A tour of Fred Hutch scientific computing resources video

Reminders

Interactive work

Shell variables

Shell variables are variables that are associated with your shell session. If you want to use their value, you write them with a $ at the beginning. They are typically written in all caps.

For example, the $PWD variable will always have your current working directory, just as if you had executed pwd. We can learn the value of variables using echo. For example, try the following commands:

If you want to know more (e.g. how to set a variable), here are two excellent resources describing variables in shell (in fact, in Bash, but most people use Bash).

Playing with the FH computational environment

Cluster use

The slow.sh script in this lecture17 directory is the same one that I demoed in the video.