MPI and Spack for HPC (Ubuntu 22.04 - ROCm)
Launch
at CHI@TACC
Launch
at CHI@UC
Description
This appliance is built on top of Ubuntu 22.04 and comes configured with ROCm 6.4.2 for GPU-accelerated computing. It also includes Spack for flexible software management and Lmod (Lua Modules). Both MPICH and OpenMPI are installed and can be easily managed using module commands. You can use the module load and module unload commands to manage software packages for your HPC workloads.
To load OpenMPI, run:
module load openmpi
The loaded OpenMPI is already installed with rocm support.
You can now compile and run ROCm-MPI programs using HIP. For example:
export OMPI_CC=hipcc
mpicc -o ./hello ./hello.cpp
mpirun -n 3 ./hello
If you want to install a new package using Spack. Use the +rocm variant to enable ROCm support during installation:
spack install <package-name> +rocm # Enables ROCm support
Keywords
MPI MPICH rocm SpackImage IDs
CHI@TACC: | 5d2cf588-8415-44ae-80dd-3d33bf02e723 |
CHI@UC: | b9162a53-2d6c-4308-b0d9-b0677b263580 |
Author
Name: | Rohan Babbar |
Contact: | rohanbabbar0408@gmail.com |
Support
Name: | Rohan Babbar |
Contact: | rohanbabbar0408@gmail.com |
Version: | 1.0.0 |
Created By: | rohanbabbar0408@gmail.com on Aug. 9, 2025, 12:21 p.m. |
Updated By: | rohanbabbar0408@gmail.com on Sept. 14, 2025, 1:42 a.m. |