# llnl/hpc-tutorials architecture

> Architecture diagram of the GitHub repository llnl/hpc-tutorials, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/llnl/hpc-tutorials
- Repository: https://github.com/llnl/hpc-tutorials

## Overview

This repository is an educational site whose content covers parallel programming, rather than a software runtime. A learner enters through the site and studies topic pages, examples, and exercises across POSIX threads, OpenMP, MPI, and Flux. The README identifies the project as a Jekyll website; the tree shows its course-material branches. Source excerpts do not show page-navigation or template-rendering wiring, so those relationships are dashed and unverified.

Main entry points: [`mpi`](https://github.com/llnl/hpc-tutorials/tree/main/mpi) (Communication and routines), [`posix`](https://github.com/llnl/hpc-tutorials/tree/main/posix) (Threading topics), [`openmp`](https://github.com/llnl/hpc-tutorials/tree/main/openmp) (Directives and runtime), [`index.html`](https://github.com/llnl/hpc-tutorials/blob/main/index.html) (Course home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site presentation"]
  node_home["Course home<br/>[index.html]"]
  node_layouts["Page layouts"]
end

subgraph group_posix["POSIX threads course"]
  node_posix_intro["Pthreads foundations"]
  node_posix_topics["Threading topics"]
  node_posix_examples["Pthreads examples"]
  node_posix_practice["Pthreads exercises<br/>[exercise1.md]"]
end

subgraph group_openmp["OpenMP course"]
  node_openmp_intro["OpenMP foundations<br/>[introduction.md]"]
  node_openmp_topics["Directives and runtime"]
  node_openmp_examples["OpenMP examples"]
  node_openmp_practice["OpenMP exercises<br/>[exercise1.md]"]
end

subgraph group_mpi["MPI course"]
  node_mpi_intro["MPI foundations<br/>[what_is_mpi.md]"]
  node_mpi_topics["Communication and routines"]
  node_mpi_examples["MPI examples"]
  node_mpi_practice["MPI exercises<br/>[exercise_1.md]"]
  node_mpi_reference["MPI routine reference"]
end

subgraph group_flux["Flux course"]
  node_flux_course["Flux tutorials<br/>[index.md]"]
  node_flux_examples["Flux example code<br/>[mpi_hellosleep.c]"]
end

node_learner(("Learner"))

node_learner -.->|"opens"| node_home
node_home -.->|"uses layout"| node_layouts
node_learner -.->|"studies"| node_posix_intro
node_learner -.->|"studies"| node_openmp_intro
node_learner -.->|"studies"| node_mpi_intro
node_learner -.->|"studies"| node_flux_course
node_posix_intro -.->|"continues to"| node_posix_topics
node_posix_topics -.->|"practices with"| node_posix_examples
node_posix_topics -.->|"applies in"| node_posix_practice
node_openmp_intro -.->|"continues to"| node_openmp_topics
node_openmp_topics -.->|"practices with"| node_openmp_examples
node_openmp_topics -.->|"applies in"| node_openmp_practice
node_mpi_intro -.->|"continues to"| node_mpi_topics
node_mpi_topics -.->|"practices with"| node_mpi_examples
node_mpi_topics -.->|"applies in"| node_mpi_practice
node_mpi_topics -.->|"consults"| node_mpi_reference
node_flux_course -.->|"illustrated by"| node_flux_examples

click node_home "https://github.com/llnl/hpc-tutorials/blob/main/index.html"
click node_layouts "https://github.com/llnl/hpc-tutorials/tree/main/_layouts"
click node_posix_intro "https://github.com/llnl/hpc-tutorials/blob/main/posix/what_are_pthreads.md"
click node_posix_topics "https://github.com/llnl/hpc-tutorials/tree/main/posix"
click node_posix_examples "https://github.com/llnl/hpc-tutorials/tree/main/posix/example_code"
click node_posix_practice "https://github.com/llnl/hpc-tutorials/blob/main/posix/exercise1.md"
click node_openmp_intro "https://github.com/llnl/hpc-tutorials/blob/main/openmp/introduction.md"
click node_openmp_topics "https://github.com/llnl/hpc-tutorials/tree/main/openmp"
click node_openmp_examples "https://github.com/llnl/hpc-tutorials/tree/main/openmp/code_examples"
click node_openmp_practice "https://github.com/llnl/hpc-tutorials/blob/main/openmp/exercise1.md"
click node_mpi_intro "https://github.com/llnl/hpc-tutorials/blob/main/mpi/what_is_mpi.md"
click node_mpi_topics "https://github.com/llnl/hpc-tutorials/tree/main/mpi"
click node_mpi_examples "https://github.com/llnl/hpc-tutorials/tree/main/mpi/examples"
click node_mpi_practice "https://github.com/llnl/hpc-tutorials/blob/main/mpi/exercise_1.md"
click node_flux_course "https://github.com/llnl/hpc-tutorials/blob/main/flux/index.md"
click node_flux_examples "https://github.com/llnl/hpc-tutorials/blob/main/flux/example_code/mpi_hellosleep.c"
click node_mpi_reference "https://github.com/llnl/hpc-tutorials/tree/main/mpi/MPI_appendix"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_layouts toneBlue
class node_posix_intro,node_posix_topics,node_posix_examples,node_posix_practice toneAmber
class node_openmp_intro,node_openmp_topics,node_openmp_examples,node_openmp_practice toneMint
class node_mpi_intro,node_mpi_topics,node_mpi_examples,node_mpi_practice,node_mpi_reference toneRose
class node_flux_course,node_flux_examples,node_learner toneIndigo
```

## Components

### Site presentation

- [Course home](https://github.com/llnl/hpc-tutorials/blob/main/index.html): `index.html`
- [Page layouts](https://github.com/llnl/hpc-tutorials/tree/main/_layouts): `_layouts`

### POSIX threads course

- [Pthreads foundations](https://github.com/llnl/hpc-tutorials/blob/main/posix/what_are_pthreads.md): `posix/what_are_pthreads.md`
- [Threading topics](https://github.com/llnl/hpc-tutorials/tree/main/posix): `posix`
- [Pthreads examples](https://github.com/llnl/hpc-tutorials/tree/main/posix/example_code): `posix/example_code`
- [Pthreads exercises](https://github.com/llnl/hpc-tutorials/blob/main/posix/exercise1.md): `posix/exercise1.md`

### OpenMP course

- [OpenMP foundations](https://github.com/llnl/hpc-tutorials/blob/main/openmp/introduction.md): `openmp/introduction.md`
- [Directives and runtime](https://github.com/llnl/hpc-tutorials/tree/main/openmp): `openmp`
- [OpenMP examples](https://github.com/llnl/hpc-tutorials/tree/main/openmp/code_examples): `openmp/code_examples`
- [OpenMP exercises](https://github.com/llnl/hpc-tutorials/blob/main/openmp/exercise1.md): `openmp/exercise1.md`

### MPI course

- [MPI foundations](https://github.com/llnl/hpc-tutorials/blob/main/mpi/what_is_mpi.md): `mpi/what_is_mpi.md`
- [Communication and routines](https://github.com/llnl/hpc-tutorials/tree/main/mpi): `mpi`
- [MPI examples](https://github.com/llnl/hpc-tutorials/tree/main/mpi/examples): `mpi/examples`
- [MPI exercises](https://github.com/llnl/hpc-tutorials/blob/main/mpi/exercise_1.md): `mpi/exercise_1.md`
- [MPI routine reference](https://github.com/llnl/hpc-tutorials/tree/main/mpi/MPI_appendix): `mpi/MPI_appendix`

### Flux course

- [Flux tutorials](https://github.com/llnl/hpc-tutorials/blob/main/flux/index.md): `flux/index.md`
- [Flux example code](https://github.com/llnl/hpc-tutorials/blob/main/flux/example_code/mpi_hellosleep.c): `flux/example_code/mpi_hellosleep.c`

### Other components

- **Learner**

## Connections

- Learner → Course home: opens
- Course home → Page layouts: uses layout
- Learner → Pthreads foundations: studies
- Learner → OpenMP foundations: studies
- Learner → MPI foundations: studies
- Learner → Flux tutorials: studies
- Pthreads foundations → Threading topics: continues to
- Threading topics → Pthreads examples: practices with
- Threading topics → Pthreads exercises: applies in
- OpenMP foundations → Directives and runtime: continues to
- Directives and runtime → OpenMP examples: practices with
- Directives and runtime → OpenMP exercises: applies in
- MPI foundations → Communication and routines: continues to
- Communication and routines → MPI examples: practices with
- Communication and routines → MPI exercises: applies in
- Communication and routines → MPI routine reference: consults
- Flux tutorials → Flux example code: illustrated by
