Amii HPC Documentation#
Welcome to Amii’s HPC documentation. This resource provides the core concepts, procedures, and best practices necessary to execute computation-intensive
workloads efficiently on High-Performance Computing (HPC) clusters, specifically those managed by Alberta Machine Intelligence Institute (Amii) and its partners.
What this documentation covers#
Access & Setup: Navigating account configuration with Digital Research Alliance of Canada (DRAC).
Architecture: An overview of HPC cluster design and infrastructure.
Workload Management: Mastering
Slurmscheduler for job submission and resource allocation.Optimization: Techniques for monitoring and tuning performance on HPC systems.
Practical Resources: Reusable templates, proven workflows, and examples developed by Amii’s Engineering and Performance team.
Throughout these guides, we utilize Amii’s Vulcan cluster as a primary reference and example environment.
Target Audience#
While primarily designed for researchers and students with access to Amii-managed clusters, this documentation serves as a broad knowledge base. Anyone interested in the following areas will find these resources valuable:
Distributed and parallel computing
Slurm workload management
GPU optimization for AI workflows
DevOpsandMLOpsintegration
Note
A significant portion of this content covers general HPC concepts applicable to systems beyond those managed by Amii.
Table of Contents#
Getting Started with Clusters
Crash Courses
- Git & GitHub
- Why Version Control
- Installation and First-Time Setup
- How Git Works (a Brief Look Inside)
- Working with GitHub
- The Solo Workflow
- Branching and Merging
- A Branching Model for Team & Production Work
- Undoing Things
- Collaborating in a Team
- Resolving Merge Conflicts
- Common Problems and How to Fix Them
- Large Files and Datasets
- Using Git with Generative Coding Tools
- Best Practices for Researchers
- Tips & Tricks
- Hands-On Exercises
- Quick Reference
- Further Resources
- Docker & Containerization
- Why Containers
- How Containers Work (a Brief Look Inside)
- Prerequisites
- A Scratch Service to Containerize
- The Dockerfile — a Recipe for the Image
- Building the Image
- Running the Container
- Data That Outlives the Container — Volumes
- Registries — Share the Image (and Keep It Private When It Must Be)
- Closing the Loop — Build & Push from GitHub Actions
- Local Development — Edit in Your IDE, Run in the Container
- More Than One Container — Docker Compose
- Stop Memorising Flags — Wrap Them in Make or
just - Podman — the Rootless, Daemonless Drop-in
- Apptainer / Singularity — the HPC Runtime
- Running on an HPC Cluster
- Best Practices
- Hands-On Exercises
- Quick Reference
- Further Resources
Basics of HPC and Slurm
Useful Resources