2026-09-28
The course book goes deeper on everything in this lecture. Read before or after class:
https://wcresko.github.io/BioE_Comp_Tools_Fa2026/Book: Ch. 1, setup for your operating system and Ch. 2, Your Computational Toolkit
Mac users: open the “Terminal” app, or use another app like ‘iTerm2’
Linux users: open one of several “Terminal” apps
Mac vs. Linux vs. Windows
https://learn.microsoft.com/windows/wsl/installwsl --install (Ubuntu is the default distribution)wsl --install -d Ubuntu in PowerShell (or install Ubuntu from the Microsoft Store)Ubuntu and set up a username and password
Ubuntu Linux operating system that you installed, not Windows PowerShellsudo apt update then sudo apt upgrade to ensure everything is up to date~)cd /mnt/ccoding generally involves computer languages that use compilers
scripting generally involves computer languages that are interpreted on the fly
Remember
Computers are literal. You must use explicit, pre-defined phrases to tell your computer exactly what you want - it will do what you said, not what you meant.
A bit is a 0 or 1; a byte is 8 bits, about one character of text.
| Unit | Size | Holds, roughly |
|---|---|---|
| Megabyte (MB) | ~1,000 KB | a photo; the E. coli genome as text (4.6 million bases) |
| Gigabyte (GB) | ~1,000 MB | an RNA-seq FASTQ file; the human genome as text is ~3 GB |
| Terabyte (TB) | ~1,000 GB | a laptop’s disk; a high-content imaging screen |
| Petabyte (PB) | ~1,000 TB | Talapas’s shared storage (~3 PB) |
Book: Ch. 4, CPUs and GPUs
Core Components
Key Concepts
Core Components
Key Concepts
CPU Characteristics
GPU Characteristics
Types of RAM
DRAM (Dynamic RAM)
SRAM (Static RAM)
Key Characteristics
Hard Disk Drives (HDD)
Solid State Drives (SSD)
Rule of thumb
Input Devices
Output Devices
Book: Ch. 4, operating systems
An OS is system software that manages computer hardware, software resources, and provides common services for computer programs.
Key Roles
Common Operating Systems
1. Process Management
3. File System Management
2. Memory Management
4. Device Management
Scheduling Algorithms
Performance Metrics
Protection Mechanisms
Security Features
“Every program and user should operate using the least amount of privilege necessary”
Note
Computing resources that are physically present and directly controlled by the user or organization
Characteristics
Common Setups
A collection of interconnected computers working together as a single system
Key Components
These are used to schedule computing jobs on computer clusters.
| System | Use Case | Key Features |
|---|---|---|
| SLURM | HPC | Advanced scheduling, power management |
| PBS/Torque | Traditional HPC | Mature, stable, wide support |
| SGE/UGE | Mixed workloads | Flexible policies |
| Kubernetes | Containers | Microservices, auto-scaling |
Important
We use SLURM on Talapas at the University of Oregon for scheduling compute jobs
| Typical laptop | One standard Talapas node | Talapas large-memory node | All of Talapas | |
|---|---|---|---|---|
| CPU cores | 8 - 12 | 128 | varies | 14,500+ |
| RAM | 8 - 16 GB | 512 GB | up to 4 TB | ~129 TB |
| GPUs | integrated | - | - | 89 (NVIDIA A100, H100, V100) |
| Storage | 0.5 - 1 TB SSD | shared | shared | ~3 PB (3,000 TB) |
On-demand delivery of computing resources over the internet with pay-as-you-go pricing
Book: Ch. 5, Unix Fundamentals · App. B, Unix Command Reference
The ‘shell’ is a program that runs UNIX and takes in commands and gives them to the operating system
bash (Linux, WSL, Talapas) and zsh (macOS default) are the common shells - nearly identical for our purposes
You can access the shell via a terminal window that is either stand alone or part of an IDE like Positron.
| Key | What it does |
|---|---|
Tab |
autocompletes commands and paths - use it constantly |
↑ / ↓ |
scroll back through commands you already typed |
Ctrl+R |
search your command history |
Ctrl+C |
cancel the running command |
Ctrl+L |
clear the screen |
Ctrl+C does not copy!
In the terminal, Ctrl+C cancels. To copy/paste: Cmd+C / Cmd+V on a Mac; Ctrl+Shift+C / Ctrl+Shift+V in Ubuntu/WSL and most Linux terminals. Full list: App. A.
cd University of Oregon Dropbox fails - quote it (cd "University of Oregon Dropbox"), or let Tab completion escape the spaces for youData.csv and data.csv are different files on Linux and Talapas; your Mac forgives the mix-up - the cluster will notrm deletes forever, and mv/cp silently overwrite - add -i to be asked firstManual pages - every command ships with one:
Space next page · /pattern to search · q to quitls --help prints a short usage summaryBioE Computational Tools 2026 - Knight Campus