skip to content
Ivan's wiki
Site Tools
Search
Tools
Show pagesource
Backlinks
Recent Changes
Media Manager
Sitemap
>
Recent Changes
Media Manager
Sitemap
hpc
This page is read only. You can view the source, but not change it.
# HPC **High-Performance Computing (HPC)** is the practice of extracting maximum computational power from available hardware. Write code that scales across multiple cores, optimize memory access patterns, and profile performance bottlenecks to maximize throughput. HPC spans multi-core CPUs, GPUs, and distributed clusters—from a laptop running OpenMP to supercomputers with thousands of nodes. HPC is fundamentally about hardware-software co-design. You can't optimize without understanding the machine: cache hierarchies, memory bandwidth, floating-point units, and communication latencies. It's not enough to parallelize; you must parallelize *efficiently* relative to the hardware underneath. ```bash # Compile openmp program $ gcc -O3 -fopenmp -o app app.c # Run with 4 threads $ OMP_NUM_THREADS=4 ./app # Profile with perf $ perf record ./app $ perf report ``` Performance scales across three dimensions: parallelism (use all cores), memory efficiency (minimize stalls), and communication (reduce latency and bandwidth waste). Most real bottlenecks live at the intersection of these. A fast algorithm on the wrong hardware, or perfect parallelism with pathological cache behavior, both fail. ## Concepts 1. [Hardware architectures](/hpc-hardware) 2. [Parallelism models](/hpc-parallelism) 3. [OpenMP](/openmp) 4. [MPI](/mpi) 5. [CUDA](/cuda) 6. [Memory hierarchy](/hpc-memory-hierarchy) 7. [Cache optimization](/hpc-cache-optimization) 8. [Vectorization](/hpc-vectorization) 9. [Profiling](/hpc-profiling) 10. [Roofline model](/hpc-roofline-model) 11. [Amdahl's law](/amdahls-law) 12. [Communication patterns](/hpc-communication-patterns) 13. [Load balancing](/hpc-load-balancing) 14. [Numerical libraries](/hpc-numerical-libraries) 15. [Cluster computing](/hpc-cluster-computing) 16. [Debugging distributed applications](/hpc-debugging-distributed) 17. [Performance bottlenecks](/hpc-performance-bottlenecks) 18. [Heterogeneous computing](/hpc-heterogeneous-computing)
Page Tools
Show pagesource
Backlinks
Back to top